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
Copy file name to clipboardExpand all lines: README.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,10 +88,6 @@ We highly recommend that in your code you pin the version to the exact version y
88
88
using so that your infrastructure remains stable, and update versions in a
89
89
systematic way so that they do not catch you by surprise.
90
90
91
-
Also, because of a bug in the Terraform registry ([hashicorp/terraform#21417](https://github.com/hashicorp/terraform/issues/21417)),
92
-
the registry shows many of our inputs as required when in fact they are optional.
93
-
The table below correctly indicates which inputs are required.
94
-
95
91
96
92
97
93
For a complete example, see [examples/complete](examples/complete).
@@ -336,6 +332,7 @@ Available targets:
336
332
| <aname="input_id_length_limit"></a> [id\_length\_limit](#input\_id\_length\_limit)| Limit `id` to this many characters (minimum 6).<br>Set to `0` for unlimited length.<br>Set to `null` for keep the existing setting, which defaults to `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
337
333
| <aname="input_ignore_changes_desired_count"></a> [ignore\_changes\_desired\_count](#input\_ignore\_changes\_desired\_count)| Whether to ignore changes for desired count in the ECS service |`bool`|`false`| no |
338
334
| <aname="input_ignore_changes_task_definition"></a> [ignore\_changes\_task\_definition](#input\_ignore\_changes\_task\_definition)| Whether to ignore changes in container definition and task definition in the ECS service |`bool`|`true`| no |
335
+
| <aname="input_ipc_mode"></a> [ipc\_mode](#input\_ipc\_mode)| The IPC resource namespace to be used for the containers in the task.<br>The valid values are `host`, `task`, and `none`. If `host` is specified,<br>then all containers within the tasks that specified the `host` IPC mode on<br>the same container instance share the same IPC resources with the host<br>Amazon EC2 instance. If `task` is specified, all containers within the<br>specified task share the same IPC resources. If `none` is specified, then<br>IPC resources within the containers of a task are private and not shared<br>with other containers in a task or on the container instance. If no value<br>is specified, then the IPC resource namespace sharing depends on the<br>Docker daemon setting on the container instance. For more information, see<br>IPC settings in the Docker documentation." |`string`|`null`| no |
339
336
| <aname="input_label_key_case"></a> [label\_key\_case](#input\_label\_key\_case)| Controls the letter case of the `tags` keys (label names) for tags generated by this module.<br>Does not affect keys of tags passed in via the `tags` input.<br>Possible values: `lower`, `title`, `upper`.<br>Default value: `title`. |`string`|`null`| no |
340
337
| <aname="input_label_order"></a> [label\_order](#input\_label\_order)| The order in which the labels (ID elements) appear in the `id`.<br>Defaults to ["namespace", "environment", "stage", "name", "attributes"].<br>You can omit any of the 6 labels ("tenant" is the 6th), but at least one must be present. |`list(string)`|`null`| no |
341
338
| <aname="input_label_value_case"></a> [label\_value\_case](#input\_label\_value\_case)| Controls the letter case of ID elements (labels) as included in `id`,<br>set as tag values, and output by this module individually.<br>Does not affect values of tags passed in via the `tags` input.<br>Possible values: `lower`, `title`, `upper` and `none` (no transformation).<br>Set this to `title` and set `delimiter` to `""` to yield Pascal Case IDs.<br>Default value: `lower`. |`string`|`null`| no |
@@ -348,6 +345,7 @@ Available targets:
348
345
| <aname="input_nlb_container_port"></a> [nlb\_container\_port](#input\_nlb\_container\_port)| The port on the container to allow traffic from the NLB |`number`|`80`| no |
349
346
| <aname="input_ordered_placement_strategy"></a> [ordered\_placement\_strategy](#input\_ordered\_placement\_strategy)| Service level strategy rules that are taken into consideration during task placement.<br>List from top to bottom in order of precedence. The maximum number of ordered\_placement\_strategy blocks is 5.<br>See [`ordered_placement_strategy`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service#ordered_placement_strategy)| <pre>list(object({<br> type = string<br> field = string<br> }))</pre> |`[]`| no |
350
347
| <aname="input_permissions_boundary"></a> [permissions\_boundary](#input\_permissions\_boundary)| A permissions boundary ARN to apply to the 3 roles that are created. |`string`|`""`| no |
348
+
| <aname="input_pid_mode"></a> [pid\_mode](#input\_pid\_mode)| The process namespace to use for the containers in the task. The valid<br>values are `host` and `task`. If `host` is specified, then all containers<br>within the tasks that specified the `host` PID mode on the same container<br>instance share the same process namespace with the host Amazon EC2 instanc<br>. If `task` is specified, all containers within the specified task share<br>the same process namespace. If no value is specified, then the process<br>namespace sharing depends on the Docker daemon setting on the container<br>instance. For more information, see PID settings in the Docker documentation. |`string`|`null`| no |
351
349
| <aname="input_platform_version"></a> [platform\_version](#input\_platform\_version)| The platform version on which to run your service. Only applicable for `launch_type` set to `FARGATE`.<br>More information about Fargate platform versions can be found in the AWS ECS User Guide. |`string`|`"LATEST"`| no |
352
350
| <aname="input_propagate_tags"></a> [propagate\_tags](#input\_propagate\_tags)| Specifies whether to propagate the tags from the task definition or the service to the tasks. The valid values are SERVICE and TASK\_DEFINITION |`string`|`null`| no |
353
351
| <aname="input_proxy_configuration"></a> [proxy\_configuration](#input\_proxy\_configuration)| The proxy configuration details for the App Mesh proxy. See `proxy_configuration` docs https://www.terraform.io/docs/providers/aws/r/ecs_task_definition.html#proxy-configuration-arguments| <pre>object({<br> type = string<br> container_name = string<br> properties = map(string)<br> })</pre> |`null`| no |
Copy file name to clipboardExpand all lines: docs/terraform.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,7 @@
89
89
| <aname="input_id_length_limit"></a> [id\_length\_limit](#input\_id\_length\_limit)| Limit `id` to this many characters (minimum 6).<br>Set to `0` for unlimited length.<br>Set to `null` for keep the existing setting, which defaults to `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
90
90
| <aname="input_ignore_changes_desired_count"></a> [ignore\_changes\_desired\_count](#input\_ignore\_changes\_desired\_count)| Whether to ignore changes for desired count in the ECS service |`bool`|`false`| no |
91
91
| <aname="input_ignore_changes_task_definition"></a> [ignore\_changes\_task\_definition](#input\_ignore\_changes\_task\_definition)| Whether to ignore changes in container definition and task definition in the ECS service |`bool`|`true`| no |
92
+
| <aname="input_ipc_mode"></a> [ipc\_mode](#input\_ipc\_mode)| The IPC resource namespace to be used for the containers in the task.<br>The valid values are `host`, `task`, and `none`. If `host` is specified,<br>then all containers within the tasks that specified the `host` IPC mode on<br>the same container instance share the same IPC resources with the host<br>Amazon EC2 instance. If `task` is specified, all containers within the<br>specified task share the same IPC resources. If `none` is specified, then<br>IPC resources within the containers of a task are private and not shared<br>with other containers in a task or on the container instance. If no value<br>is specified, then the IPC resource namespace sharing depends on the<br>Docker daemon setting on the container instance. For more information, see<br>IPC settings in the Docker documentation." |`string`|`null`| no |
92
93
| <aname="input_label_key_case"></a> [label\_key\_case](#input\_label\_key\_case)| Controls the letter case of the `tags` keys (label names) for tags generated by this module.<br>Does not affect keys of tags passed in via the `tags` input.<br>Possible values: `lower`, `title`, `upper`.<br>Default value: `title`. |`string`|`null`| no |
93
94
| <aname="input_label_order"></a> [label\_order](#input\_label\_order)| The order in which the labels (ID elements) appear in the `id`.<br>Defaults to ["namespace", "environment", "stage", "name", "attributes"].<br>You can omit any of the 6 labels ("tenant" is the 6th), but at least one must be present. |`list(string)`|`null`| no |
94
95
| <aname="input_label_value_case"></a> [label\_value\_case](#input\_label\_value\_case)| Controls the letter case of ID elements (labels) as included in `id`,<br>set as tag values, and output by this module individually.<br>Does not affect values of tags passed in via the `tags` input.<br>Possible values: `lower`, `title`, `upper` and `none` (no transformation).<br>Set this to `title` and set `delimiter` to `""` to yield Pascal Case IDs.<br>Default value: `lower`. |`string`|`null`| no |
@@ -101,6 +102,7 @@
101
102
| <aname="input_nlb_container_port"></a> [nlb\_container\_port](#input\_nlb\_container\_port)| The port on the container to allow traffic from the NLB |`number`|`80`| no |
102
103
| <aname="input_ordered_placement_strategy"></a> [ordered\_placement\_strategy](#input\_ordered\_placement\_strategy)| Service level strategy rules that are taken into consideration during task placement.<br>List from top to bottom in order of precedence. The maximum number of ordered\_placement\_strategy blocks is 5.<br>See [`ordered_placement_strategy`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service#ordered_placement_strategy)| <pre>list(object({<br> type = string<br> field = string<br> }))</pre> |`[]`| no |
103
104
| <aname="input_permissions_boundary"></a> [permissions\_boundary](#input\_permissions\_boundary)| A permissions boundary ARN to apply to the 3 roles that are created. |`string`|`""`| no |
105
+
| <aname="input_pid_mode"></a> [pid\_mode](#input\_pid\_mode)| The process namespace to use for the containers in the task. The valid<br>values are `host` and `task`. If `host` is specified, then all containers<br>within the tasks that specified the `host` PID mode on the same container<br>instance share the same process namespace with the host Amazon EC2 instanc<br>. If `task` is specified, all containers within the specified task share<br>the same process namespace. If no value is specified, then the process<br>namespace sharing depends on the Docker daemon setting on the container<br>instance. For more information, see PID settings in the Docker documentation. |`string`|`null`| no |
104
106
| <aname="input_platform_version"></a> [platform\_version](#input\_platform\_version)| The platform version on which to run your service. Only applicable for `launch_type` set to `FARGATE`.<br>More information about Fargate platform versions can be found in the AWS ECS User Guide. |`string`|`"LATEST"`| no |
105
107
| <aname="input_propagate_tags"></a> [propagate\_tags](#input\_propagate\_tags)| Specifies whether to propagate the tags from the task definition or the service to the tasks. The valid values are SERVICE and TASK\_DEFINITION |`string`|`null`| no |
106
108
| <aname="input_proxy_configuration"></a> [proxy\_configuration](#input\_proxy\_configuration)| The proxy configuration details for the App Mesh proxy. See `proxy_configuration` docs https://www.terraform.io/docs/providers/aws/r/ecs_task_definition.html#proxy-configuration-arguments| <pre>object({<br> type = string<br> container_name = string<br> properties = map(string)<br> })</pre> |`null`| no |
0 commit comments