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
| <aname="input_command"></a> [command](#input\_command)| The command that is passed to the container |`list(string)`|`null`| no |
140
140
| <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 |
143
143
| <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 |
144
144
| <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 |
@@ -170,12 +170,14 @@ No resources.
170
170
| <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 |
171
171
| <aname="input_repository_credentials"></a> [repository\_credentials](#input\_repository\_credentials)| Container repository credentials; required when using a private repo. This map currently supports a single key; "credentialsParameter", which should be the ARN of a Secrets Manager's secret holding the credentials | <pre>object({<br/> credentialsParameter = string<br/> })</pre> |`null`| no |
172
172
| <aname="input_resource_requirements"></a> [resource\_requirements](#input\_resource\_requirements)| The type and amount of a resource to assign to a container. The only supported resource is a GPU. | <pre>list(object({<br/> type = string<br/> value = string<br/> }))</pre> |`null`| no |
173
+
| <aname="input_restart_policy"></a> [restart\_policy](#input\_restart\_policy)| The restart policy for a container. When you set up a restart policy, Amazon ECS can restart the container without needing to replace the task. | <pre>object({<br/> enabled = bool<br/> ignoredExitCodes = optional(list(number))<br/> restartAttemptPeriod = optional(number)<br/> })</pre> |`null`| no |
173
174
| <aname="input_secrets"></a> [secrets](#input\_secrets)| The secrets to pass to the container. This is a list of maps | <pre>list(object({<br/> name = string<br/> valueFrom = string<br/> }))</pre> |`null`| no |
174
175
| <aname="input_start_timeout"></a> [start\_timeout](#input\_start\_timeout)| Time duration (in seconds) to wait before giving up on resolving dependencies for a container |`number`|`null`| no |
175
176
| <aname="input_stop_timeout"></a> [stop\_timeout](#input\_stop\_timeout)| Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own |`number`|`null`| no |
176
177
| <aname="input_system_controls"></a> [system\_controls](#input\_system\_controls)| A list of namespaced kernel parameters to set in the container, mapping to the --sysctl option to docker run. This is a list of maps: { namespace = "", value = ""} | <pre>list(object({<br/> namespace = string<br/> value = string<br/> }))</pre> |`null`| no |
177
178
| <aname="input_ulimits"></a> [ulimits](#input\_ulimits)| Container ulimit settings. This is a list of maps, where each map should contain "name", "hardLimit" and "softLimit" | <pre>list(object({<br/> hardLimit = number<br/> name = string<br/> softLimit = number<br/> }))</pre> |`null`| no |
178
179
| <aname="input_user"></a> [user](#input\_user)| The user to run as inside the container. Can be any of these formats: user, user:group, uid, uid:gid, user:gid, uid:group. The default (null) will use the container's configured `USER` directive or root if not set. |`string`|`null`| no |
180
+
| <aname="input_version_consistency"></a> [version\_consistency](#input\_version\_consistency)| Specifies whether Amazon ECS will resolve the container image tag provided in the container definition to an image digest. |`string`|`null`| no |
179
181
| <aname="input_volumes_from"></a> [volumes\_from](#input\_volumes\_from)| A list of VolumesFrom maps which contain "sourceContainer" (name of the container that has the volumes to mount) and "readOnly" (whether the container can write to the volume) | <pre>list(object({<br/> readOnly = optional(bool)<br/> sourceContainer = string<br/> }))</pre> |`null`| no |
180
182
| <aname="input_working_directory"></a> [working\_directory](#input\_working\_directory)| The working directory to run commands inside the container |`string`|`null`| no |
0 commit comments