-
Notifications
You must be signed in to change notification settings - Fork 6
/
variables_http_target_group.tf
82 lines (70 loc) · 2.37 KB
/
variables_http_target_group.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
### HTTP target group variables ###
variable "http_target_group_parameters" {
#https://github.com/terraform-providers/terraform-provider-aws/pull/8268
type = list(any)
default = null
# default = [
# {
# target_group = "default-http"
# host_headers = ["default.com"]
# port = 80
# }
# ]
}
# HTTP target group degregistration delay
variable "http_target_group_deregistration_delay" {
description = "Deregistration delay for the http target group(s)"
default = 300 #Possible values in seconds: 0-3600
}
##HTTP target group health checks
# HTTP target group health check intveral
variable "http_health_check_interval" {
description = "Set HTTP health check interval"
default = 30 #min=5 max=300
}
# HTTP target group health check path
variable "http_health_check_path" {
description = "Set HTTP health check path"
default = "/"
}
# HTTP target group health check port
variable "http_health_check_port" {
description = "Set HTTP health check port"
default = "traffic-port"
}
# HTTP target group health check protocol
variable "http_health_check_protocol" {
description = "Set HTTP health check protocol"
default = "HTTP"
}
# HTTP target group health check timeout
variable "http_health_check_timeout" {
description = "Set HTTP health check timeout"
default = 5 #min=2 max=60
}
# HTTP target group health check healthy threshold
variable "http_health_check_healthy_threshold" {
description = "Set HTTP health check healthy threshold"
default = 3
}
# HTTP target group health cehck unhealthy threshold
variable "http_health_check_unhealthy_threshold" {
description = "Set HTTP health check unhealthy threshold"
default = 3
}
# HTTP target group health check matcher
variable "http_health_check_matcher" {
description = "Set HTTP health check matcher"
default = 200 #Matcher aka success code. Range-example: 200-299
}
## HTTP target group sticky cookie settings
# HTTP target group stickiness enabled/disabled
variable "http_target_group_stickiness_enabled" {
description = "Turn stickiness on/off for the http target group(s)"
default = false
}
# HTTP cookie duration for stickiness if enabled
variable "http_target_group_stickiness_cookie_duration" {
description = "Cookie Duration for stickiness of the http target group(s)"
default = 8640 #Possible values 1-604800 (604800 = 1 day).
}