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
@@ -71,7 +71,7 @@ In order to run all checks at any point run the following command:
71
71
| <aname="input_container_memory"></a> [container\_memory](#input\_container\_memory)| (Optional) The amount of memory (in MiB) to allow the container to use. This is a hard limit, if the container attempts to exceed the container\_memory, the container is killed. This field is optional for Fargate launch type and the total amount of container\_memory of all containers in a task will need to be lower than the task memory value |`number`|`4096`| no |
72
72
| <aname="input_container_memory_reservation"></a> [container\_memory\_reservation](#input\_container\_memory\_reservation)| (Optional) The amount of memory (in MiB) to reserve for the container. If container needs to exceed this threshold, it can do so up to the set container\_memory hard limit |`number`|`2048`| no |
73
73
| <aname="input_container_name"></a> [container\_name](#input\_container\_name)| The name of the container. Up to 255 characters ([a-z], [A-Z], [0-9], -, \_ allowed) |`string`|`null`| no |
74
-
| <aname="input_containers"></a> [containers](#input\_containers)| Container definitions to use for the task. If this is used, all other container options will be ignored. |`list(any)`|`[]`| no |
74
+
| <aname="input_containers"></a> [containers](#input\_containers)| Container definitions to use for the task. If this is used, all other container options will be ignored. |`any`|`[]`| no |
75
75
| <aname="input_disable_networking"></a> [disable\_networking](#input\_disable\_networking)| When this parameter is true, networking is disabled within the container. |`bool`|`null`| no |
76
76
| <aname="input_dns_search_domains"></a> [dns\_search\_domains](#input\_dns\_search\_domains)| Container DNS search domains. A list of DNS search domains that are presented to the container |`list(string)`|`[]`| no |
77
77
| <aname="input_dns_servers"></a> [dns\_servers](#input\_dns\_servers)| Container DNS servers. This is a list of strings specifying the IP addresses of the DNS servers |`list(string)`|`[]`| no |
@@ -101,7 +101,7 @@ In order to run all checks at any point run the following command:
101
101
| <aname="input_permissions_boundary"></a> [permissions\_boundary](#input\_permissions\_boundary)| (Optional) The ARN of the policy that is used to set the permissions boundary for the `ecs_task_execution_role` role. |`string`|`null`| no |
102
102
| <aname="input_pid_mode"></a> [pid\_mode](#input\_pid\_mode)| (Optional) Process namespace to use for the containers in the task. The valid values are host and task |`string`|`null`| no |
103
103
| <aname="input_placement_constraints"></a> [placement\_constraints](#input\_placement\_constraints)| (Optional) A set of placement constraints rules that are taken into consideration during task placement. Maximum number of placement\_constraints is 10. | <pre>list(object({<br> expression = string # Cluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.<br> type = string # Type of constraint. Use memberOf to restrict selection to a group of valid candidates. Note that distinctInstance is not supported in task definitions.<br> }))</pre> |`[]`| no |
104
-
| <aname="input_port_mappings"></a> [port\_mappings](#input\_port\_mappings)| The port mappings to configure for the container. This is a list of maps. Each map should contain "containerPort", "hostPort", and "protocol", where "protocol" is one of "tcp" or "udp". If using containers in a task with the awsvpc or host network mode, the hostPort can either be left blank or set to the same value as the containerPort | <pre>list(object({<br> containerPort = number<br> hostPort = number<br> protocol = string<br> }))</pre> | <pre>[<br> {<br> "containerPort": 80,<br> "hostPort": 80,<br> "protocol": "tcp"<br> }<br>]</pre> | no |
104
+
| <aname="input_port_mappings"></a> [port\_mappings](#input\_port\_mappings)| The port mappings to configure for the container. This is a list of maps. Each map should contain "containerPort", "hostPort", and "protocol", where "protocol" is one of "tcp" or "udp". If using containers in a task with the awsvpc or host network mode, the hostPort can either be left blank or set to the same value as the containerPort | <pre>list(object({<br> name = optional(string)<br> containerPort = number<br> hostPort = number<br> protocol = string<br> }))</pre> | <pre>[<br> {<br> "containerPort": 80,<br> "hostPort": 80,<br> "protocol": "tcp"<br> }<br>]</pre> | no |
105
105
| <aname="input_privileged"></a> [privileged](#input\_privileged)| When this variable is `true`, the container is given elevated privileges on the host container instance (similar to the root user). This parameter is not supported for Windows containers or tasks using the Fargate launch type. |`bool`|`null`| no |
106
106
| <aname="input_proxy_configuration"></a> [proxy\_configuration](#input\_proxy\_configuration)| (Optional) The proxy configuration details for the App Mesh proxy. This is a list of maps, where each map should contain "container\_name", "properties" and "type" | <pre>list(object({<br> container_name = string # Name of the container that will serve as the App Mesh proxy.<br> properties = list(object({ # Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.<br> name = string<br> value = string<br> }))<br> type = string # Proxy type. The default value is APPMESH. The only supported value is APPMESH.<br> }))</pre> |`[]`| no |
107
107
| <aname="input_pseudo_terminal"></a> [pseudo\_terminal](#input\_pseudo\_terminal)| When this parameter is true, a TTY is allocated. |`bool`|`null`| no |
Copy file name to clipboardExpand all lines: variables.tf
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -231,6 +231,7 @@ variable "mount_points" {
231
231
variable"port_mappings" {
232
232
description="The port mappings to configure for the container. This is a list of maps. Each map should contain \"containerPort\", \"hostPort\", and \"protocol\", where \"protocol\" is one of \"tcp\" or \"udp\". If using containers in a task with the awsvpc or host network mode, the hostPort can either be left blank or set to the same value as the containerPort"
0 commit comments