-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathvariables.tf
30 lines (26 loc) · 1.09 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
variable "domain" {
description = "The domain to attach the alarms to."
}
variable "distribution_id" {
description = "The distribution_id of the domain."
}
variable "alarms" {
type = "map"
default = {}
description = <<EOF
Alarms information. The keys of the map are the metric names. The values
of the map contain the information for a metric alarm.
The following arguments are supported:
- comparison_operator: The operation to use for comparing the statistic to the threshold.
- GreaterThanOrEqualToThreshold
- GreaterThanThreshold
- LessThanThreshold
- LessThanOrEqualToThreshold
- evaluation_periods: The number of periods over which data is compared to the specified threshold.
- period: The period in seconds over which the specified statistic is applied.
- statistic: The statistic to apply to the alarm's associated metric.
- threshold: The number of occurances over a given period.
- actions: The actions to execute when the alarm transitions into an ALARM state.
Due to a limitation in Terraform, this list must be given as a comma-separated string.
EOF
}