Skip to content

voidsolutionsorg/terraform-aws-budgets

Repository files navigation

terraform-aws-budgets

Terraform / OpenTofu module for configuring AWS budgets.

Usage

module "aws_budgets" {
    source  = "voidsolutionsorg/budgets/aws"
    version = "1.0.0"

    name         = "example"
    limit_amount = 10

    notified_emails = [ "aws-budgets@example.org" ]
}

Requirements

Name Version
terraform >= 1.5.0
aws ~> 5.0

Providers

Name Version
aws 5.61.0

Modules

No modules.

Resources

Name Type
aws_budgets_budget.budget resource

Inputs

Name Description Type Default Required
amount_unit n/a string "USD" no
budget_type n/a string "COST" no
custom_notifications n/a
list(object({
comparison_operator = string
threshold = number
threshold_type = string
notification_type = string
subscriber_email_addresses = optional(set(string))
}))
[] no
increment_amount n/a number 1 no
limit_amount n/a number n/a yes
name n/a string n/a yes
notified_emails n/a set(string) n/a yes
start_amount n/a number 0 no
time_period_end n/a string null no
time_period_start n/a string "2024-01-01_00:00" no
time_unit n/a string "MONTHLY" no

Outputs

No outputs.

Authors

Module is maintained by Aleksa Siriški with help from the VoidSolutions team.

License

Apache 2 Licensed. See LICENSE for full details.