-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
120 lines (99 loc) · 2.99 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
variable "env" {}
variable "domain_name" {}
variable "name" {
type = string
description = "The name of the monitoring and name of the subscription service endpoint"
}
variable "subscription_endpoint" {
type = string
description = "Endpoint endpoint for SNS topic subscription, PagerDuty, Slack etc."
}
variable "endpoint_auto_confirms" {
type = bool
default = true
description = "Endpoint endpoint for SNS topic subscription, PagerDuty (https://events.pagerduty.com/integration/<Integration Key>/enqueue)"
}
variable "fqdn" {
type = string
description = "The FQDN of the endpoint to be monitored"
}
variable "subscription_endpoint_protocol" {
type = string
default = "https"
description = "Endpoint protocol for SNS topic subscription"
}
variable "port" {
type = string
default = "443"
description = "The port of the endpoint to be monitored"
}
variable "type" {
type = string
default = "HTTPS"
description = "The protocol to use when performing health checks. Valid values are HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, TCP, CALCULATED and CLOUDWATCH_METRIC"
}
variable "resource_path" {
type = string
default = "/"
description = "The path that you want Amazon Route 53 to request when performing health checks."
}
variable "failure_threshold" {
type = string
default = "3"
description = "The number of consecutive health checks that an endpoint must pass or fail."
}
variable "request_interval" {
type = string
default = "30"
description = "The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request."
}
variable "cw_alarm_namespace" {
type = string
default = "AWS/Route53"
description = "Namespace of Cloudwatch metric alarm"
}
variable "cw_alarm_comparison_operator" {
type = string
default = "LessThanThreshold"
description = "Comparison Operator of Cloudwatch metric alarm"
}
variable "cw_alarm_metric_name" {
type = string
default = "HealthCheckStatus"
description = "Metric name of Cloudwatch metric alarm"
}
variable "cw_alarm_evaluation_periods" {
type = string
default = "1"
description = "Evaluation periods of Cloudwatch metric alarm"
}
variable "cw_alarm_period" {
type = string
default = "60"
description = "Period of Cloudwatch metric alarm"
}
variable "cw_alarm_statistic" {
type = string
default = "Minimum"
description = "Statistic of Cloudwatch metric alarm"
}
variable "cw_alarm_threshold" {
type = string
default = "1"
description = "Threshold of Cloudwatch metric alarm"
}
variable "cw_alarm_unit" {
type = string
default = "None"
description = "Unit of Cloudwatch metric alarm"
}
variable "r53_failover_enabled" {
type = bool
default = false
description = "Enabling creating secondary Failover R53 Record"
}
variable "enabled" {
type = bool
default = true
description = "Gives ability to enable or disable a module"
}