add aws budget alert
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2022-05-17 18:25:21 +02:00
parent af95611693
commit 43c5c046ec

15
aws-budget.tf Normal file
View File

@ -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"]
}
}