budget_name
RequiredName for the AWS Budget. Must be unique within your AWS account. Can contain alphanumeric characters, hyphens, underscores, and periods. Maximum 100 characters.
Naming Conventions
The budget name must be unique within your AWS account. It can contain alphanumeric characters, hyphens, underscores, and periods. The name cannot exceed 100 characters.
Common Patterns
- Environment-based:
{env}-monthly-budget(e.g.,prod-monthly-budget) - Team-based:
{team}-spending-limit(e.g.,platform-spending-limit) - Service-based:
{service}-budget(e.g.,ec2-budget) - Project-based:
{project}-cost-limit(e.g.,analytics-cost-limit)
Best Practices
- Use lowercase with hyphens for readability
- Include the budget type or purpose in the name
- Prefix with environment or team for easy filtering
- Avoid generic names like
budgetorspending - Consider including the time period (monthly, quarterly)
Full Module Example
module "cost_controls" {
source = "registry.patterneddesigns.ca/governance/cost-controls/aws"
version = "0.1.0"
# budget_name
budget_name = "..."
# Other required inputs
budget_limit = "..."
}