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
chore: add service connect fields to portMapping (#168)
* chore(portMapping): support service connect
* docs(readme): updated port map description
* chore(examples/complete): update for terratest
* docs(readme): regenerated
* fix(examples/complete): sync port_mappings type
| <aname="input_command"></a> [command](#input\_command)| The command that is passed to the container |`list(string)`|`null`| no |
176
176
| <aname="input_container_cpu"></a> [container\_cpu](#input\_container\_cpu)| The number of cpu units to reserve for the container. This is optional for tasks using Fargate launch type and the total amount of container\_cpu of all containers in a task will need to be lower than the task-level cpu value |`number`|`0`| no |
| <aname="input_container_depends_on"></a> [container\_depends\_on](#input\_container\_depends\_on)| The dependencies defined for container startup and shutdown. A container can contain multiple dependencies. When a dependency is defined for container startup, for container shutdown it is reversed. The condition can be one of START, COMPLETE, SUCCESS or HEALTHY | <pre>list(object({<br> condition = string<br> containerName = string<br> }))</pre> |`null`| no |
179
179
| <aname="input_container_image"></a> [container\_image](#input\_container\_image)| The image used to start the container. Images in the Docker Hub registry available by default |`string`| n/a | yes |
180
180
| <aname="input_container_memory"></a> [container\_memory](#input\_container\_memory)| 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`|`null`| no |
@@ -200,7 +200,7 @@ No resources.
200
200
| <aname="input_map_environment"></a> [map\_environment](#input\_map\_environment)| The environment variables to pass to the container. This is a map of string: {key: value}. map\_environment overrides environment |`map(string)`|`null`| no |
201
201
| <aname="input_map_secrets"></a> [map\_secrets](#input\_map\_secrets)| The secrets variables to pass to the container. This is a map of string: {key: value}. map\_secrets overrides secrets |`map(string)`|`null`| no |
202
202
| <aname="input_mount_points"></a> [mount\_points](#input\_mount\_points)| Container mount points. This is a list of maps, where each map should contain `containerPath`, `sourceVolume` and `readOnly`| <pre>list(object({<br> containerPath = optional(string)<br> readOnly = optional(bool)<br> sourceVolume = optional(string)<br> }))</pre> |`null`| no |
203
-
| <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 = optional(number)<br> protocol = optional(string)<br> }))</pre> |`null`| no |
203
+
| <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 = optional(number)<br> protocol = optional(string)<br> name = optional(string)<br> appProtocol = optional(string)<br> }))</pre> |`null`| no |
204
204
| <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 |
205
205
| <aname="input_pseudo_terminal"></a> [pseudo\_terminal](#input\_pseudo\_terminal)| When this parameter is true, a TTY is allocated. |`bool`|`null`| no |
206
206
| <aname="input_readonly_root_filesystem"></a> [readonly\_root\_filesystem](#input\_readonly\_root\_filesystem)| Determines whether a container is given read-only access to its root filesystem. Due to how Terraform type casts booleans in json it is required to double quote this value |`bool`|`false`| no |
0 commit comments