generated from geekcell/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
50 lines (45 loc) · 1.22 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# AWS Budgets
variable "budgets" {
default = [
{
name = "budget-account-monthly"
budget_type = "COST"
limit_amount = "200"
limit_unit = "USD"
time_period_start = "2023-01-01_00:00"
time_period_end = "2087-06-15_00:00"
time_unit = "MONTHLY"
notification = {
comparison_operator = "GREATER_THAN"
threshold = "100"
threshold_type = "PERCENTAGE"
notification_type = "FORECASTED"
}
}
]
description = "The list of budget."
type = list(object({
name = string
budget_type = string
limit_amount = string
limit_unit = string
time_period_start = string
time_period_end = string
time_unit = string
cost_filter = optional(map(list(string)))
notification = object({
comparison_operator = string
threshold = string
threshold_type = string
notification_type = string
})
}))
}
variable "name" {
description = "The name of the budget."
type = string
}
variable "recipients" {
description = "The email addresses to send notifications to."
type = list(string)
}