A Terraform module to deploy custom AWS budgets. It is used to resource create, replace, or delete budgets for Billing and Cost Management. For more information, see Managing Your Costs with Budgets in the AWS Billing and Cost Management User Guide.
Terraform >= 0.12.0 is required for this module.
AWS Budgets automation includes the use of the following core Terraform resources:
aws_budgets_budget
- Provides a budgets budget resource.
The below outlines the current parameters and defaults.
Name | Description | Type | Default | Required |
---|---|---|---|---|
limit_amount | The budget limit amount | number | "" | No |
limit_unit | The budget limit unit. Default is USD | string | USD | No |
subscriber_email_addresses | The list of email addresses of notification subscribers | list(string) | [] | No |
A simple example:
module "budgets" {
source = "[email protected]:cmdlabs/terraform-aws-budgets.git"
limit_amount = 100
limit_unit = "USD"
subscriber_email_addresses = ["[email protected]"]
}
To apply that:
▶ terraform apply
Apache 2.0.