-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
variables.tf
136 lines (114 loc) · 3.86 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
variable "cluster_name" {
type = string
description = "The name of the ECS cluster to monitor"
}
variable "service_name" {
type = string
description = "The name of the ECS Service in the ECS cluster to monitor"
default = ""
}
variable "alarm_description" {
type = string
description = "The string to format and use as the alarm description."
default = "Average service %v utilization %v last %d minute(s) over %v period(s)"
}
variable "cpu_utilization_high_threshold" {
type = number
description = "The maximum percentage of CPU utilization average"
default = 80
}
variable "cpu_utilization_high_evaluation_periods" {
type = number
description = "Number of periods to evaluate for the alarm"
default = 1
}
variable "cpu_utilization_high_period" {
type = number
description = "Duration in seconds to evaluate for the alarm"
default = 300
}
variable "cpu_utilization_high_alarm_actions" {
type = list(string)
description = "A list of ARNs (i.e. SNS Topic ARN) to notify on CPU Utilization High Alarm action"
default = []
}
variable "cpu_utilization_high_ok_actions" {
type = list(string)
description = "A list of ARNs (i.e. SNS Topic ARN) to notify on CPU Utilization High OK action"
default = []
}
variable "cpu_utilization_low_threshold" {
type = number
description = "The minimum percentage of CPU utilization average"
default = 20
}
variable "cpu_utilization_low_evaluation_periods" {
type = number
description = "Number of periods to evaluate for the alarm"
default = 1
}
variable "cpu_utilization_low_period" {
type = number
description = "Duration in seconds to evaluate for the alarm"
default = 300
}
variable "cpu_utilization_low_alarm_actions" {
type = list(string)
description = "A list of ARNs (i.e. SNS Topic ARN) to notify on CPU Utilization Low Alarm action"
default = []
}
variable "cpu_utilization_low_ok_actions" {
type = list(string)
description = "A list of ARNs (i.e. SNS Topic ARN) to notify on CPU Utilization Low OK action"
default = []
}
variable "memory_utilization_high_threshold" {
type = number
description = "The maximum percentage of Memory utilization average"
default = 80
}
variable "memory_utilization_high_evaluation_periods" {
type = number
description = "Number of periods to evaluate for the alarm"
default = 1
}
variable "memory_utilization_high_period" {
type = number
description = "Duration in seconds to evaluate for the alarm"
default = 300
}
variable "memory_utilization_high_alarm_actions" {
type = list(string)
description = "A list of ARNs (i.e. SNS Topic ARN) to notify on Memory Utilization High Alarm action"
default = []
}
variable "memory_utilization_high_ok_actions" {
type = list(string)
description = "A list of ARNs (i.e. SNS Topic ARN) to notify on Memory Utilization High OK action"
default = []
}
variable "memory_utilization_low_threshold" {
type = number
description = "The minimum percentage of Memory utilization average"
default = 20
}
variable "memory_utilization_low_evaluation_periods" {
type = number
description = "Number of periods to evaluate for the alarm"
default = 1
}
variable "memory_utilization_low_period" {
type = number
description = "Duration in seconds to evaluate for the alarm"
default = 300
}
variable "memory_utilization_low_alarm_actions" {
type = list(string)
description = "A list of ARNs (i.e. SNS Topic ARN) to notify on Memory Utilization Low Alarm action"
default = []
}
variable "memory_utilization_low_ok_actions" {
type = list(string)
description = "A list of ARNs (i.e. SNS Topic ARN) to notify on Memory Utilization Low OK action"
default = []
}