-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
146 lines (122 loc) · 3.59 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
137
138
139
140
141
142
143
144
145
146
variable "fqdn" {
type = string
description = "The fully qualified domain name of the resource this health check should point to."
}
variable "health_check_name" {
type = string
description = "The name of the resource"
}
variable "health_check_port" {
type = number
default = 80
description = "The port of the resource this health check should point to."
}
variable "health_check_type" {
type = string
default = "HTTPS"
description = "The type of check this health check should use."
}
variable "health_check_resource_path" {
type = string
default = "/"
description = "The path of the resource this health check should point to."
}
variable "health_check_failure_threshold" {
type = string
default = "5"
description = "The failure threshold this health check should use."
}
variable "health_check_request_interval" {
type = string
default = "30"
description = "The request interval this health check should use."
}
variable "health_check_measure_latency" {
type = bool
default = false
description = "Should this enable measure latency for this health check?"
}
variable "health_check_invert_healthcheck" {
type = bool
default = false
description = "Should this invert health for this health check?"
}
variable "health_check_disabled" {
type = bool
default = false
description = "Should this health check be disabled?"
}
variable "health_check_enable_sni" {
type = bool
default = true
description = "Should this health check use SNI? For HTTP, use false; For HTTPS, use true"
}
variable "health_check_regions" {
type = list(string)
default = []
description = "The regions that this health check is checked from."
}
variable "alarm_name" {
type = string
description = "The name to use for the cloudwatch alarm."
}
variable "alarm_description" {
type = string
default = "Alarm for Route53 health check"
description = "The name to use for the cloudwatch alarm."
}
variable "alarm_comparison_operator" {
type = string
default = "LessThanThreshold"
description = "The name to use for the cloudwatch alarm."
}
variable "alarm_evaluation_periods" {
type = number
default = 1
description = "The amount of evaluation periods to use for the cloudwatch alarm."
}
variable "alarm_period" {
type = number
default = 60
description = "The period to use for the cloudwatch alarm."
}
variable "alarm_threshold" {
type = number
default = 1
description = "The threshold to use for the cloudwatch alarm."
}
variable "alarm_treat_missing_data" {
type = string
default = "missing"
description = "How should we treat missing data for the cloudwatch alarm?"
}
variable "alarm_datapoints_to_alarm" {
type = number
default = 1
description = "The number of datapoints to use for the cloudwatch alarm."
}
variable "alarm_actions" {
type = list(string)
default = []
description = "What are the alarm destinations?"
}
variable "alarm_insufficient_data_actions" {
type = list(string)
default = []
description = "What are the alarm insufficent data destinations?"
}
variable "alarm_ok_actions" {
type = list(string)
default = []
description = "What are the alarm ok destinations?"
}
variable "alarm_actions_enabled" {
type = bool
default = false
description = "Should we enable alarm actions?"
}
variable "tags" {
type = map(string)
default = {}
description = "Map of tags to apply to resources created by this module"
}