You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="(Optional) If true, the LB will be internal."
182
+
type=bool
183
+
default=false
180
184
}
181
185
182
-
variable"lb_http_tgs_arns" {
183
-
description="List of HTTP LB Target Group ARNs"
186
+
variable"lb_security_groups" {
187
+
description="(Optional) A list of security group IDs to assign to the LB."
184
188
type=list(string)
189
+
default=[]
185
190
}
186
191
187
-
variable"lb_http_tgs_ports" {
188
-
description="List of HTTP LB Target Group Ports"
189
-
type=list(string)
192
+
variable"lb_drop_invalid_header_fields" {
193
+
description="(Optional) Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens."
194
+
type=bool
195
+
default=false
190
196
}
191
197
192
-
variable"lb_https_tgs_arns" {
193
-
description="List of HTTPS LB Target Group ARNs"
198
+
variable"lb_idle_timeout" {
199
+
description="(Optional) The time in seconds that the connection is allowed to be idle. Default: 60."
200
+
type=number
201
+
default=60
202
+
}
203
+
204
+
variable"lb_enable_deletion_protection" {
205
+
description="(Optional) If true, deletion of the load balancer will be disabled via the AWS API. This will prevent Terraform from deleting the load balancer. Defaults to false."
206
+
type=bool
207
+
default=false
208
+
}
209
+
210
+
variable"lb_enable_cross_zone_load_balancing" {
211
+
description="(Optional) If true, cross-zone load balancing of the load balancer will be enabled. Defaults to false."
212
+
type=bool
213
+
default=false
214
+
}
215
+
216
+
variable"lb_enable_http2" {
217
+
description="(Optional) Indicates whether HTTP/2 is enabled in the load balancer. Defaults to true."
218
+
type=bool
219
+
default=true
220
+
}
221
+
222
+
variable"lb_ip_address_type" {
223
+
description="(Optional) The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 and dualstack. Defaults to ipv4"
description="(Optional) The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds."
282
+
type=number
283
+
default=300
284
+
}
285
+
286
+
variable"lb_slow_start" {
287
+
description="(Optional) The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds."
288
+
type=number
289
+
default=0
290
+
}
291
+
292
+
variable"lb_load_balancing_algorithm_type" {
293
+
description="(Optional) Determines how the load balancer selects targets when routing requests. The value is round_robin or least_outstanding_requests. The default is round_robin."
294
+
type=string
295
+
default="round_robin"
296
+
}
297
+
298
+
variable"lb_stickiness" {
299
+
description="(Optional) A Stickiness block. Provide three fields. type, the type of sticky sessions. The only current possible value is lb_cookie. cookie_duration, the time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). enabled, boolean to enable / disable stickiness. Default is true."
300
+
type=object({
301
+
type =string
302
+
cookie_duration =string
303
+
enabled =bool
304
+
})
305
+
default={
306
+
type ="lb_cookie"
307
+
cookie_duration =86400
308
+
enabled =true
309
+
}
310
+
}
311
+
312
+
variable"lb_target_group_health_check_enabled" {
313
+
description="(Optional) Indicates whether health checks are enabled. Defaults to true."
314
+
type=bool
315
+
default=true
316
+
}
317
+
318
+
variable"lb_target_group_health_check_interval" {
319
+
description="(Optional) The approximate amount of time, in seconds, between health checks of an individual target. Minimum value 5 seconds, Maximum value 300 seconds. Default 30 seconds."
320
+
type=number
321
+
default=30
322
+
}
323
+
324
+
variable"lb_target_group_health_check_path" {
325
+
description="The destination for the health check request."
326
+
type=string
327
+
default="/"
328
+
}
329
+
330
+
variable"lb_target_group_health_check_timeout" {
331
+
description="(Optional) The amount of time, in seconds, during which no response means a failed health check. The range is 2 to 120 seconds, and the default is 5 seconds."
description="(Optional) The number of consecutive health check failures required before considering the target unhealthy. Defaults to 3."
344
+
type=number
345
+
default=3
210
346
}
211
347
212
-
variable"load_balancer_sg_id" {
213
-
description="The ID of the security group of the Load Balancer. This is to allow traffic only from Load Balancer"
348
+
variable"lb_target_group_health_check_matcher" {
349
+
description="The HTTP codes to use when checking for a successful response from a target. You can specify multiple values (for example, \"200,202\") or a range of values (for example, \"200-299\"). Default is 200."
0 commit comments