forked from zoitech/terraform-aws-alb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables_https_target_group.tf
82 lines (70 loc) · 2.74 KB
/
variables_https_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
82
### HTTPS target group variables ###
# HTTPS target group names
variable "https_target_group_names" {
type = "list"
description = "Name(s) of the https target group(s)"
default = ["https-target-group"] #N.B. Target Group name acceptable characters: letters, digits or the dash
}
# HTTPS target group ports
variable "https_target_group_ports" {
type = "list"
description = "Port(s) of the https target group(s)"
default = [443]
}
# HTTPS target group degregistration delay
variable "https_target_group_deregistration_delay" {
description = "Deregistration delay for the https target group(s)"
default = 300 #Possible values in seconds: 0-3600
}
##HTTPS target group health checks
# HTTPS target group health check intveral
variable "https_health_check_interval" {
description = "Set HTTPS health check interval"
default = 30 #min=5 max=300
}
# HTTPS target group health check path
variable "https_health_check_path" {
description = "Set HTTPS health check path"
default = "/"
}
# HTTPS target group health check port
variable "https_health_check_port" {
description = "Set HTTPS health check port"
default = "traffic-port"
}
# HTTPS target group health check protocol
variable "https_health_check_protocol" {
description = "Set HTTPS health check protocol"
default = "HTTPS"
}
# HTTPS target group health check timeout
variable "https_health_check_timeout" {
description = "Set HTTPS health check timeout"
default = 5 #min=2 max=60
}
# HTTPS target group health check healthy threshold
variable "https_health_check_healthy_threshold" {
description = "Set HTTPS health check healthy threshold"
default = 3
}
# HTTPS target group health cehck unhealthy threshold
variable "https_health_check_unhealthy_threshold" {
description = "Set HTTPS health check unhealthy threshold"
default = 3
}
# HTTPS target group health check matcher
variable "https_health_check_matcher" {
description = "Set HTTPS health check matcher"
default = 200 #Matcher aka success code. Range-example: 200-299
}
## HTTPS target group sticky cookie settings
# HTTPS target group stickiness enabled/disabled
variable "https_target_group_stickiness_enabled" {
description = "Turn stickiness on/off for the https target group(s)"
default = false
}
# HTTPS cookie duration for stickiness if enabled
variable "https_target_group_stickiness_cookie_duration" {
description = "Cookie Duration for stickiness of the https target group(s)"
default = 8640 #Possible values 1-604800 (604800 = 1 day).
}