-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables-blue.tf
182 lines (147 loc) · 4.63 KB
/
variables-blue.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
variable "blue_image_id" {
description = "The AMI ID to use for the blue cluster"
}
variable "blue_application_ports" {
description = "The ports the ALB should be able to connect to the blue cluster on"
type = "list"
default = []
}
variable "blue_version_tag" {
description = "The version of the blue product release"
}
variable "blue_instance_type" {
description = "The instance type to use for the blue cluster"
default = "t2.small"
}
variable "blue_weight" {
description = "Weight of the DNS record for the blue cluster"
}
variable "blue_max_size" {
description = "The number of instances to put into the blue cluster"
default = 1
}
variable "blue_min_size" {
description = "The number of instances to put into the blue cluster"
default = 1
}
variable "blue_desired_capacity" {
description = "The number of instances to put into the blue cluster"
default = 1
}
variable "blue_wait_for_capacity_timeout" {
description = "How long to wait before timing out introducing the new green ASG instances"
default = 0
}
variable "blue_recurrence_start" {
description = "When to start the instances"
default = "false"
}
variable "blue_recurrence_stop" {
description = "When to stop the instances"
default = "false"
}
variable "blue_min_size_start" {
description = "How many instances to start when the ASG start hook is triggered"
}
variable "blue_max_size_start" {
description = "How many instances to start when the ASG start hook is triggered"
}
variable "blue_desired_capacity_start" {
description = "How many instances to start when the ASG start hook is triggered"
}
variable "blue_min_size_stop" {
description = "How many instances to stop when the ASG stop hook is triggered"
}
variable "blue_max_size_stop" {
description = "How many instances to stop when the ASG stop hook is triggered"
}
variable "blue_desired_capacity_stop" {
description = "How many instances to stop when the ASG stop hook is triggered"
}
variable "blue_route53_aliases_name" {
description = "List of ALB Route53 aliases"
type = "list"
default = []
}
variable "blue_alb_https_listeners_count" {
description = "The number of HTTPS listeners to attach the blue ALB"
default = 0
}
variable "blue_alb_https_listeners" {
description = "The listeners to attach to the blue ALB"
type = "list"
default = []
}
variable "blue_alb_http_tcp_listeners_count" {
description = "The number of HTTP/TCP listeners to attach the blue ALB"
default = 0
}
variable "blue_alb_http_tcp_listeners" {
description = "The HTTP/TCP listeners to attach to the blue ALB"
type = "list"
default = []
}
variable "blue_internal_alb_target_groups_count" {
description = "The number of target groups to attach to the blue ALB"
default = 0
}
variable "blue_internal_alb_target_groups" {
description = "The target groups to attach to the blue ALB"
type = "list"
default = []
}
variable "blue_external_alb_target_groups_count" {
description = "The number of target groups to attach to the blue ALB"
default = 0
}
variable "blue_external_alb_target_groups" {
description = "The target groups to attach to the blue ALB"
type = "list"
default = []
}
variable "blue_nlb_https_listeners_count" {
description = "The number of HTTPS listeners to attach the blue NLB"
default = 0
}
variable "blue_elb_listeners" {
description = "The listeners to attach to the blue elb"
type = "list"
default = []
}
variable "blue_elb_health_check" {
description = "The health check map of blue elb."
type = "list"
default = []
}
variable "blue_nlb_https_listeners" {
description = "The listeners to attach to the blue NLB"
type = "list"
default = []
}
variable "blue_nlb_http_tcp_listeners_count" {
description = "The number of HTTP/TCP listeners to attach the blue NLB"
default = 0
}
variable "blue_nlb_http_tcp_listeners" {
description = "The HTTP/TCP listeners to attach to the blue NLB"
type = "list"
default = []
}
variable "blue_internal_nlb_target_groups_count" {
description = "The number of target groups to attach to the blue ALB"
default = 0
}
variable "blue_internal_nlb_target_groups" {
description = "The target groups to attach to the blue ALB"
type = "list"
default = []
}
variable "blue_external_nlb_target_groups_count" {
description = "The number of target groups to attach to the blue ALB"
default = 0
}
variable "blue_external_nlb_target_groups" {
description = "The target groups to attach to the blue ALB"
type = "list"
default = []
}