budget_limit
RequiredMonthly budget limit in USD. Sets the maximum expected spend for the budget period and is used as the baseline for calculating alert thresholds.
Budget Configuration
The budget limit sets the maximum expected spend for the budget period (typically monthly). This value is used as the baseline for calculating alert thresholds.
| Scenario | Recommended Limit |
|---|---|
| Development environment | $100 - $500 |
| Staging environment | $500 - $2,000 |
| Small production workload | $1,000 - $5,000 |
| Medium production workload | $5,000 - $20,000 |
| Large production workload | $20,000+ |
Best Practices
- Base the limit on historical spending data from Cost Explorer
- Add 10-20% buffer above expected spending for fluctuations
- Review and adjust limits quarterly based on actual usage
- Set different limits for different environments
- Consider seasonal variations in your business
Full Module Example
module "cost_controls" {
source = "registry.patterneddesigns.ca/governance/cost-controls/aws"
version = "0.1.0"
# budget_limit
budget_limit = "..."
# Other required inputs
budget_name = "..."
}