-
Notifications
You must be signed in to change notification settings - Fork 4
/
variables.tf
46 lines (41 loc) · 910 Bytes
/
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
variable region {
description = "AWS Region"
type = string
default = "us-east-1"
}
variable profile {
description = "AWS Profile"
type = string
default = "ap"
}
# Get a list of existing instance ids from tags.
variable tag_name {
description = "EC2 tag name"
type = string
default = "Stack"
}
variable tag_value {
description = "EC2 tag value"
type = string
default = "Prod"
}
variable threshold_ec2_cpu {
description = "CPU treshold to alarm"
type = string
default = "70"
}
variable threshold_ec2_disk {
description = "Disk treshold to alarm"
type = string
default = "90"
}
variable threshold_ec2_mem {
description = "Memory treshold to alarm"
type = string
default = "90"
}
variable alarm_actions {
description = "Alarm action list"
type = list(string)
default = []
}