diff --git a/aws-budget.tf b/aws-budget.tf new file mode 100644 index 0000000..c8a4dde --- /dev/null +++ b/aws-budget.tf @@ -0,0 +1,15 @@ +resource "aws_budgets_budget" "aws-budget" { + name = "budget-monthly" + budget_type = "COST" + limit_amount = "5" + limit_unit = "EUR" + time_unit = "MONTHLY" + + notification { + comparison_operator = "GREATER_THAN" + threshold = 85 + threshold_type = "PERCENTAGE" + notification_type = "FORECASTED" + subscriber_email_addresses = ["tormakristof@tormakristof.eu"] + } +}