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
@@ -113,10 +113,10 @@ In order to run all checks at any point run the following command:
113
113
| <aname="input_lb_enable_http2"></a> [lb\_enable\_http2](#input\_lb\_enable\_http2)| (Optional) Indicates whether HTTP/2 is enabled in the load balancer. Defaults to true. |`bool`|`true`| no |
114
114
| <aname="input_lb_http_ingress_cidr_blocks"></a> [lb\_http\_ingress\_cidr\_blocks](#input\_lb\_http\_ingress\_cidr\_blocks)| List of CIDR blocks to allowed to access the Load Balancer through HTTP |`list(string)`| <pre>[<br/> "0.0.0.0/0"<br/>]</pre> | no |
115
115
| <aname="input_lb_http_ingress_prefix_list_ids"></a> [lb\_http\_ingress\_prefix\_list\_ids](#input\_lb\_http\_ingress\_prefix\_list\_ids)| List of prefix list IDs blocks to allowed to access the Load Balancer through HTTP |`list(string)`|`[]`| no |
116
-
| <aname="input_lb_http_ports"></a> [lb\_http\_ports](#input\_lb\_http\_ports)| Map containing objects to define listeners behaviour based on type field. If type field is `forward`, include listener\_port and the target\_group\_port. For `redirect` type, include listener port, host, path, port, protocol, query and status\_code. For `fixed-response`, include listener\_port, content\_type, message\_body and status\_code |`map(any)`| <pre>{<br/> "default-http": {<br/> "listener_port": 80,<br/> "target_group_port": 80,<br/> "target_group_protocol": "HTTP",<br/> "target_group_protocol_version": "HTTP1",<br/> "type": "forward"<br/> }<br/>}</pre> | no |
116
+
| <a name="input_lb_http_ports"></a> [lb\_http\_ports](#input\_lb\_http\_ports) | Map containing objects to define listeners behaviour based on type field. If type field is `forward`, include listener\_port and the target\_group\_port. For `redirect` type, include listener port, host, path, port, protocol, query and status\_code. For `fixed-response`, include listener\_port, content\_type, message\_body and status\_code | <pre>map(object({<br/> type = optional(string)<br/><br/> listener_port = number<br/> target_group_port = number<br/><br/> target_group_protocol = optional(string, "HTTP")<br/> target_group_protocol_version = optional(string, "HTTP1") # HTTP1, HTTP2 or GRPC<br/><br/> # Health check options, overriding default values provided as module variables<br/> target_group_health_check_enabled = optional(bool)<br/> target_group_health_check_interval = optional(number)<br/> target_group_health_check_path = optional(string)<br/> target_group_health_check_port = optional(string)<br/> target_group_health_check_protocol = optional(string, "HTTP")<br/> target_group_health_check_timeout = optional(number)<br/> target_group_health_check_healthy_threshold = optional(number)<br/> target_group_health_check_unhealthy_threshold = optional(number)<br/> target_group_health_check_matcher = optional(string)<br/><br/> host = optional(string, "#{host}")<br/> path = optional(string, "/#{path}")<br/> port = optional(string, "#{port}")<br/> protocol = optional(string, "#{protocol}")<br/> query = optional(string, "#{query}")<br/> status_code = optional(string) # Default for `type=redirect`: "HTTP_301". Default for `type=fixed-response`: "200".<br/> content_type = optional(string, "text/plain")<br/> message_body = optional(string, "Fixed response content")<br/> }))</pre> | <pre>{<br/> "default": {<br/> "listener_port": 80,<br/> "target_group_port": 80,<br/> "type": "forward"<br/> }<br/>}</pre> | no |
117
117
| <aname="input_lb_https_ingress_cidr_blocks"></a> [lb\_https\_ingress\_cidr\_blocks](#input\_lb\_https\_ingress\_cidr\_blocks)| List of CIDR blocks to allowed to access the Load Balancer through HTTPS |`list(string)`| <pre>[<br/> "0.0.0.0/0"<br/>]</pre> | no |
118
118
| <aname="input_lb_https_ingress_prefix_list_ids"></a> [lb\_https\_ingress\_prefix\_list\_ids](#input\_lb\_https\_ingress\_prefix\_list\_ids)| List of prefix list IDs blocks to allowed to access the Load Balancer through HTTPS |`list(string)`|`[]`| no |
119
-
| <aname="input_lb_https_ports"></a> [lb\_https\_ports](#input\_lb\_https\_ports)| Map containing objects to define listeners behaviour based on type field. If type field is `forward`, include listener\_port and the target\_group\_port. For `redirect` type, include listener port, host, path, port, protocol, query and status\_code. For `fixed-response`, include listener\_port, content\_type, message\_body and status\_code |`map(any)`| <pre>{<br/> "default-https": {<br/> "listener_port": 443,<br/> "target_group_port": 443,<br/> "target_group_protocol": "HTTP",<br/> "target_group_protocol_version": "HTTP1",<br/> "type": "forward"<br/> }<br/>}</pre> | no |
119
+
| <a name="input_lb_https_ports"></a> [lb\_https\_ports](#input\_lb\_https\_ports) | Map containing objects to define listeners behaviour based on type field. If type field is `forward`, include listener\_port and the target\_group\_port. For `redirect` type, include listener port, host, path, port, protocol, query and status\_code. For `fixed-response`, include listener\_port, content\_type, message\_body and status\_code | <pre>map(object({<br/> type = optional(string)<br/><br/> listener_port = number<br/> target_group_port = number<br/><br/> target_group_protocol = optional(string, "HTTP")<br/> target_group_protocol_version = optional(string, "HTTP1") # HTTP1, HTTP2 or GRPC<br/><br/> # Health check options, overriding default values provided as module variables<br/> target_group_health_check_enabled = optional(bool)<br/> target_group_health_check_interval = optional(number)<br/> target_group_health_check_path = optional(string)<br/> target_group_health_check_port = optional(string)<br/> target_group_health_check_protocol = optional(string, "HTTP")<br/> target_group_health_check_timeout = optional(number)<br/> target_group_health_check_healthy_threshold = optional(number)<br/> target_group_health_check_unhealthy_threshold = optional(number)<br/> target_group_health_check_matcher = optional(string)<br/><br/> host = optional(string, "#{host}")<br/> path = optional(string, "/#{path}")<br/> port = optional(string, "#{port}")<br/> protocol = optional(string, "#{protocol}")<br/> query = optional(string, "#{query}")<br/> status_code = optional(string) # Default for `type=redirect`: "HTTP_301". Default for `type=fixed-response`: "200".<br/> content_type = optional(string, "text/plain")<br/> message_body = optional(string, "Fixed response content")<br/> }))</pre> | <pre>{<br/> "default-https": {<br/> "listener_port": 443,<br/> "target_group_port": 443,<br/> "type": "forward"<br/> }<br/>}</pre> | no |
120
120
| <aname="input_lb_idle_timeout"></a> [lb\_idle\_timeout](#input\_lb\_idle\_timeout)| (Optional) The time in seconds that the connection is allowed to be idle. Default: 60. |`number`|`60`| no |
121
121
| <aname="input_lb_internal"></a> [lb\_internal](#input\_lb\_internal)| (Optional) If true, the LB will be internal. |`bool`|`false`| no |
122
122
| <aname="input_lb_ip_address_type"></a> [lb\_ip\_address\_type](#input\_lb\_ip\_address\_type)| (Optional) The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 and dualstack. Defaults to ipv4 |`string`|`"ipv4"`| no |
@@ -130,6 +130,7 @@ In order to run all checks at any point run the following command:
130
130
| <aname="input_lb_target_group_health_check_matcher"></a> [lb\_target\_group\_health\_check\_matcher](#input\_lb\_target\_group\_health\_check\_matcher)| 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. |`string`|`"200"`| no |
131
131
| <aname="input_lb_target_group_health_check_path"></a> [lb\_target\_group\_health\_check\_path](#input\_lb\_target\_group\_health\_check\_path)| The destination for the health check request. |`string`|`"/"`| no |
132
132
| <aname="input_lb_target_group_health_check_port"></a> [lb\_target\_group\_health\_check\_port](#input\_lb\_target\_group\_health\_check\_port)| (Optional) The port to use to connect with the target. Valid values are either ports 1-65536, or traffic-port. Defaults to traffic-port. |`string`|`"traffic-port"`| no |
133
+
| <aname="input_lb_target_group_health_check_protocol"></a> [lb\_target\_group\_health\_check\_protocol](#input\_lb\_target\_group\_health\_check\_protocol)| (Optional) The protocol the load balancer uses when performing health checks on targets. Valid values are HTTP and HTTPS. Defaults to HTTP. |`string`|`"HTTP"`| no |
133
134
| <aname="input_lb_target_group_health_check_timeout"></a> [lb\_target\_group\_health\_check\_timeout](#input\_lb\_target\_group\_health\_check\_timeout)| (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. |`number`|`5`| no |
134
135
| <aname="input_lb_target_group_health_check_unhealthy_threshold"></a> [lb\_target\_group\_health\_check\_unhealthy\_threshold](#input\_lb\_target\_group\_health\_check\_unhealthy\_threshold)| (Optional) The number of consecutive health check failures required before considering the target unhealthy. Defaults to 3. |`number`|`3`| no |
135
136
| <aname="input_log_bucket_id"></a> [log\_bucket\_id](#input\_log\_bucket\_id)| (Optional) if provided, the ID of a previously-defined S3 bucket to send LB logs to. |`string`|`null`| no |
@@ -139,7 +140,7 @@ In order to run all checks at any point run the following command:
139
140
| <aname="input_min_cpu_evaluation_period"></a> [min\_cpu\_evaluation\_period](#input\_min\_cpu\_evaluation\_period)| The number of periods over which data is compared to the specified threshold for min cpu metric alarm |`string`|`"3"`| no |
140
141
| <aname="input_min_cpu_period"></a> [min\_cpu\_period](#input\_min\_cpu\_period)| The period in seconds over which the specified statistic is applied for min cpu metric alarm |`string`|`"60"`| no |
141
142
| <aname="input_min_cpu_threshold"></a> [min\_cpu\_threshold](#input\_min\_cpu\_threshold)| Threshold for min CPU usage |`string`|`"10"`| no |
142
-
| <aname="input_name_prefix"></a> [name\_prefix](#input\_name\_prefix)| Name prefix for resources on AWS|`any`| n/a | yes |
143
+
| <aname="input_name_prefix"></a> [name\_prefix](#input\_name\_prefix)| Name prefix for resources on AWS. Max length is 15 characters. |`string`| n/a | yes |
143
144
| <aname="input_ordered_placement_strategy"></a> [ordered\_placement\_strategy](#input\_ordered\_placement\_strategy)| (Optional) Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. The maximum number of ordered\_placement\_strategy blocks is 5. This is a list of maps where each map should contain "id" and "field" |`list(any)`|`[]`| no |
144
145
| <aname="input_placement_constraints"></a> [placement\_constraints](#input\_placement\_constraints)| (Optional) rules that are taken into consideration during task placement. Maximum number of placement\_constraints is 10. This is a list of maps, where each map should contain "type" and "expression" |`list(any)`|`[]`| no |
145
146
| <aname="input_platform_version"></a> [platform\_version](#input\_platform\_version)| (Optional) The platform version on which to run your service. Defaults to 1.4.0. More information about Fargate platform versions can be found in the AWS ECS User Guide. |`string`|`"1.4.0"`| no |
description="Map containing objects to define listeners behaviour based on type field. If type field is `forward`, include listener_port and the target_group_port. For `redirect` type, include listener port, host, path, port, protocol, query and status_code. For `fixed-response`, include listener_port, content_type, message_body and status_code"
305
-
type=map(any)
310
+
type=map(object({
311
+
type =optional(string)
312
+
313
+
listener_port =number
314
+
target_group_port =number
315
+
316
+
target_group_protocol =optional(string, "HTTP")
317
+
target_group_protocol_version =optional(string, "HTTP1") # HTTP1, HTTP2 or GRPC
318
+
319
+
# Health check options, overriding default values provided as module variables
description="Map containing objects to define listeners behaviour based on type field. If type field is `forward`, include listener_port and the target_group_port. For `redirect` type, include listener port, host, path, port, protocol, query and status_code. For `fixed-response`, include listener_port, content_type, message_body and status_code"
332
-
type=map(any)
362
+
type=map(object({
363
+
type =optional(string)
364
+
365
+
listener_port =number
366
+
target_group_port =number
367
+
368
+
target_group_protocol =optional(string, "HTTP")
369
+
target_group_protocol_version =optional(string, "HTTP1") # HTTP1, HTTP2 or GRPC
370
+
371
+
# Health check options, overriding default values provided as module variables
description="(Optional) The protocol the load balancer uses when performing health checks on targets. Valid values are HTTP and HTTPS. Defaults to HTTP."
473
+
type=string
474
+
default="HTTP"
475
+
}
476
+
416
477
variable"lb_target_group_health_check_timeout" {
417
478
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."
0 commit comments