alert_thresholds

Type list(number)
Default [50, 80, 100]

Percentage thresholds for budget alerts. Multiple thresholds provide early warning as spending increases. Common patterns: conservative [25, 50, 75, 90, 100], standard [50, 80, 100], aggressive [80, 100, 110].

Threshold Configuration

Alert thresholds define the percentage of budget consumption at which notifications are triggered. Multiple thresholds provide early warning as spending increases.

Default Thresholds

alert_thresholds = [50, 80, 100]
Use CaseThresholdsRationale
Conservative[25, 50, 75, 90, 100]Early warning with multiple checkpoints
Standard[50, 80, 100]Balanced approach for most teams
Aggressive[80, 100, 110]Focus on near-limit and overage alerts
Critical workloads[50, 75, 90, 95, 100, 110, 125]Maximum visibility for sensitive budgets

Best Practices

  • Include at least one threshold below 100% for early warning
  • Add a threshold above 100% to catch overspending
  • Use more granular thresholds for critical budgets
  • Consider your team’s response time when setting thresholds
  • Avoid too many thresholds to prevent alert fatigue

Full Module Example

module "cost_controls" {
  source  = "registry.patterneddesigns.ca/governance/cost-controls/aws"
  version = "0.1.0"

  # alert_thresholds
  alert_thresholds = "..."

  # Other required inputs
  budget_name = "..."
  budget_limit = "..."
}