-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
54 lines (46 loc) · 1.36 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
51
52
53
54
variable "alarm_description" {
type = any
description = "The description for the alarm"
default = null
}
variable "alarm_levels" {
type = list(string)
description = "List of alarm levels to enable (e.g., ['info', 'warning', 'high', 'critical'])"
default = ["warning", "high"]
}
variable "alarm_topic_arn" {
type = string
description = "The ARN of the SNS topic to receive the alerts"
default = null
}
variable "consumer_name" {
type = string
description = "The name of the consumer"
}
variable "datapoints_to_alarm" {
type = number
default = 3
description = "The number of datapoints that must be breaching to trigger the alarm"
}
variable "evaluation_periods" {
type = number
default = 3
description = "The number of periods over which data is compared to the specified threshold"
}
variable "label_orders" {
type = object({
cloudwatch = optional(list(string))
})
default = {}
description = "Overrides the `labels_order` for the different labels to modify ID elements appear in the `id`"
}
variable "period" {
type = number
default = 60
description = "The period in seconds over which the specified statistic is applied"
}
variable "threshold" {
type = number
default = 99
description = "Required percentage of successful requests"
}