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
@@ -57,6 +59,8 @@ Note that this example may create resources which will incur monetary charges on
57
59
| <aname="output_cloudwatch_log_group_name"></a> [cloudwatch\_log\_group\_name](#output\_cloudwatch\_log\_group\_name)| Name of CloudWatch log group created |
Copy file name to clipboardExpand all lines: modules/container-definition/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,9 +155,9 @@ No modules.
155
155
| <aname="input_dockerSecurityOptions"></a> [dockerSecurityOptions](#input\_dockerSecurityOptions)| A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This field isn't valid for containers in tasks using the Fargate launch type |`list(string)`|`null`| no |
156
156
| <aname="input_enable_cloudwatch_logging"></a> [enable\_cloudwatch\_logging](#input\_enable\_cloudwatch\_logging)| Determines whether CloudWatch logging is configured for this container definition. Set to `false` to use other logging drivers |`bool`|`true`| no |
157
157
| <aname="input_enable_execute_command"></a> [enable\_execute\_command](#input\_enable\_execute\_command)| Specifies whether to enable Amazon ECS Exec for the tasks within the service |`bool`|`false`| no |
158
-
| <aname="input_entrypoint"></a> [entrypoint](#input\_entrypoint)| The entry point that is passed to the container |`list(string)`|`[]`| no |
159
-
| <aname="input_environment"></a> [environment](#input\_environment)| The environment variables to pass to the container | <pre>list(object({<br/> name = string<br/> value = string<br/> }))</pre> |`[]`| no |
160
-
| <aname="input_environmentFiles"></a> [environmentFiles](#input\_environmentFiles)| A list of files containing the environment variables to pass to a container | <pre>list(object({<br/> value = string<br/> type = string<br/> }))</pre> |`[]`| no |
158
+
| <aname="input_entrypoint"></a> [entrypoint](#input\_entrypoint)| The entry point that is passed to the container |`list(string)`|`null`| no |
159
+
| <aname="input_environment"></a> [environment](#input\_environment)| The environment variables to pass to the container | <pre>list(object({<br/> name = string<br/> value = string<br/> }))</pre> |`null`| no |
160
+
| <aname="input_environmentFiles"></a> [environmentFiles](#input\_environmentFiles)| A list of files containing the environment variables to pass to a container | <pre>list(object({<br/> value = string<br/> type = string<br/> }))</pre> |`null`| no |
161
161
| <aname="input_essential"></a> [essential](#input\_essential)| If the `essential` parameter of a container is marked as `true`, and that container fails or stops for any reason, all other containers that are part of the task are stopped |`bool`|`null`| no |
162
162
| <aname="input_extraHosts"></a> [extraHosts](#input\_extraHosts)| A list of hostnames and IP address mappings to append to the `/etc/hosts` file on the container | <pre>list(object({<br/> hostname = string<br/> ipAddress = string<br/> }))</pre> |`null`| no |
163
163
| <aname="input_firelensConfiguration"></a> [firelensConfiguration](#input\_firelensConfiguration)| The FireLens configuration for the container. This is used to specify and configure a log router for container logs. For more information, see [Custom Log Routing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) in the Amazon Elastic Container Service Developer Guide | <pre>object({<br/> options = optional(map(string))<br/> type = optional(string)<br/> })</pre> |`null`| no |
@@ -170,7 +170,7 @@ No modules.
170
170
| <aname="input_logConfiguration"></a> [logConfiguration](#input\_logConfiguration)| The log configuration for the container. For more information see [LogConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html)| <pre>object({<br/> logDriver = optional(string)<br/> options = optional(map(string))<br/> secretOptions = optional(list(object({<br/> name = string<br/> valueFrom = string<br/> })))<br/> })</pre> |`{}`| no |
171
171
| <aname="input_memory"></a> [memory](#input\_memory)| The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. The total amount of memory reserved for all containers within a task must be lower than the task `memory` value, if one is specified |`number`|`null`| no |
172
172
| <aname="input_memoryReservation"></a> [memoryReservation](#input\_memoryReservation)| The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the `memory` parameter (if applicable), or all of the available memory on the container instance |`number`|`null`| no |
173
-
| <aname="input_mountPoints"></a> [mountPoints](#input\_mountPoints)| The mount points for data volumes in your container | <pre>list(object({<br/> containerPath = optional(string)<br/> readOnly = optional(bool)<br/> sourceVolume = optional(string)<br/> }))</pre> |`[]`| no |
173
+
| <aname="input_mountPoints"></a> [mountPoints](#input\_mountPoints)| The mount points for data volumes in your container | <pre>list(object({<br/> containerPath = optional(string)<br/> readOnly = optional(bool)<br/> sourceVolume = optional(string)<br/> }))</pre> |`null`| no |
174
174
| <aname="input_name"></a> [name](#input\_name)| The name of a container. If you're linking multiple containers together in a task definition, the name of one container can be entered in the links of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed |`string`|`null`| no |
175
175
| <aname="input_operating_system_family"></a> [operating\_system\_family](#input\_operating\_system\_family)| The OS family for task |`string`|`"LINUX"`| no |
176
176
| <aname="input_portMappings"></a> [portMappings](#input\_portMappings)| The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic. For task definitions that use the awsvpc network mode, only specify the containerPort. The hostPort can be left blank or it must be the same value as the containerPort | <pre>list(object({<br/> appProtocol = optional(string)<br/> containerPort = optional(number)<br/> containerPortRange = optional(string)<br/> hostPort = optional(number)<br/> name = optional(string)<br/> protocol = optional(string)<br/> }))</pre> |`null`| no |
@@ -180,17 +180,17 @@ No modules.
180
180
| <aname="input_region"></a> [region](#input\_region)| Region where the resource(s) will be managed. Defaults to the Region set in the provider configuration |`string`|`null`| no |
181
181
| <aname="input_repositoryCredentials"></a> [repositoryCredentials](#input\_repositoryCredentials)| 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 = optional(string)<br/> })</pre> |`null`| no |
182
182
| <aname="input_resourceRequirements"></a> [resourceRequirements](#input\_resourceRequirements)| 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 |
| <aname="input_secrets"></a> [secrets](#input\_secrets)| The secrets to pass to the container. For more information, see [Specifying Sensitive Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the Amazon Elastic Container Service Developer Guide | <pre>list(object({<br/> name = string<br/> valueFrom = string<br/> }))</pre> |`null`| no |
185
185
| <aname="input_service"></a> [service](#input\_service)| The name of the service that the container definition is associated with. Used in CloudWatch log group default name (if one is not provided) |`string`|`null`| no |
186
186
| <aname="input_startTimeout"></a> [startTimeout](#input\_startTimeout)| Time duration (in seconds) to wait before giving up on resolving dependencies for a container |`number`|`30`| no |
187
187
| <aname="input_stopTimeout"></a> [stopTimeout](#input\_stopTimeout)| Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own |`number`|`120`| no |
188
-
| <aname="input_systemControls"></a> [systemControls](#input\_systemControls)| A list of namespaced kernel parameters to set in the container | <pre>list(object({<br/> namespace = optional(string)<br/> value = optional(string)<br/> }))</pre> |`[]`| no |
188
+
| <aname="input_systemControls"></a> [systemControls](#input\_systemControls)| A list of namespaced kernel parameters to set in the container | <pre>list(object({<br/> namespace = optional(string)<br/> value = optional(string)<br/> }))</pre> |`null`| no |
189
189
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`|`{}`| no |
190
190
| <aname="input_ulimits"></a> [ulimits](#input\_ulimits)| A list of ulimits to set in the container. If a ulimit value is specified in a task definition, it overrides the default values set by Docker | <pre>list(object({<br/> hardLimit = number<br/> name = string<br/> softLimit = number<br/> }))</pre> |`null`| no |
191
191
| <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 |
192
192
| <aname="input_versionConsistency"></a> [versionConsistency](#input\_versionConsistency)| Specifies whether Amazon ECS will resolve the container image tag provided in the container definition to an image digest |`string`|`"disabled"`| no |
193
-
| <aname="input_volumesFrom"></a> [volumesFrom](#input\_volumesFrom)| Data volumes to mount from another container | <pre>list(object({<br/> readOnly = optional(bool)<br/> sourceContainer = optional(string)<br/> }))</pre> |`[]`| no |
193
+
| <aname="input_volumesFrom"></a> [volumesFrom](#input\_volumesFrom)| Data volumes to mount from another container | <pre>list(object({<br/> readOnly = optional(bool)<br/> sourceContainer = optional(string)<br/> }))</pre> |`null`| no |
194
194
| <aname="input_workingDirectory"></a> [workingDirectory](#input\_workingDirectory)| The working directory to run commands inside the container |`string`|`null`| no |
0 commit comments