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
| cloudwatch\_log\_group\_name | CloudWatch log group name required to enabled logDriver in container definitions for ecs task. |`string`|`""`| no |
56
60
| container\_name | Optional name for the container to be used instead of name\_prefix. |`string`|`""`| no |
57
61
| docker\_volume\_configuration | (Optional) Used to configure a docker volume option "docker\_volume\_configuration". Full set of options can be found at https://www.terraform.io/docs/providers/aws/r/ecs_task_definition.html|`list`|`[]`| no |
@@ -63,12 +67,16 @@ Module managed by [Marcin Cuber](https://github.com/marcincuber) [LinkedIn](http
63
67
| repository\_credentials\_kms\_key | key id, key ARN, alias name or alias ARN of the key that encrypted the repository credentials |`string`|`"alias/aws/secretsmanager"`| no |
64
68
| tags | A map of tags (key-value pairs) passed to resources. |`map(string)`|`{}`| no |
65
69
| task\_container\_command | The command that is passed to the container. |`list(string)`|`[]`| no |
70
+
| task\_container\_cpu | Amount of CPU to reserve for the container. |`number`|`null`| no |
66
71
| task\_container\_environment | The environment variables to pass to a container. |`map(string)`|`{}`| no |
67
72
| task\_container\_image | The image used to start a container. |`string`| n/a | yes |
73
+
| task\_container\_memory | The hard limit (in MiB) of memory for the container. |`number`|`null`| no |
74
+
| task\_container\_memory\_reservation | The soft limit (in MiB) of memory to reserve for the container. |`number`|`null`| no |
68
75
| task\_container\_port | The port number on the container that is bound to the user-specified or automatically assigned host port |`number`|`0`| no |
76
+
| task\_container\_working\_directory | The working directory to run commands inside the container. |`string`|`""`| no |
69
77
| task\_definition\_cpu | Amount of CPU to reserve for the task. |`number`|`256`| no |
70
-
| task\_definition\_memory | The soft limit (in MiB) of memory to reserve for the container. |`number`|`512`| no |
71
-
| task\_health\_check | An optional healthcheck definition for the task |`object({ command = list(string), interval = number, timeout = number, retries = number, startPeriod = number })`|n/a|yes|
78
+
| task\_definition\_memory | The soft limit (in MiB) of memory to reserve for the task. |`number`|`512`| no |
79
+
| task\_health\_check | An optional healthcheck definition for the task |`object({ command = list(string), interval = number, timeout = number, retries = number, startPeriod = number })`|`null`|no|
72
80
| task\_host\_port | The port number on the container instance to reserve for your container. |`number`|`0`| no |
73
81
| volume | (Optional) A set of volume blocks that containers in your task may use. This is a list of maps, where each map should contain "name", "host\_path" and "docker\_volume\_configuration". Full set of options can be found at https://www.terraform.io/docs/providers/aws/r/ecs_task_definition.html|`list`|`[]`| no |
0 commit comments