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
@@ -54,6 +54,9 @@ Check versions for this module on:
54
54
* working_directory: (Optional) The working directory to run commands inside the container.
55
55
* placement_constraints: (Optional) A set of placement constraints rules that are taken into consideration during task placement. Maximum number of placement_constraints is 10. This is a list of maps, where each map should contain "type" and "expression".
56
56
* proxy_configuration: (Optional) The proxy configuration details for the App Mesh proxy. This is a list of maps, where each map should contain "container_name", "properties" and "type"
57
+
* 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 = \"\"}"
58
+
* firelens_configuration: The FireLens configuration for the container. This is used to specify and configure a log router for container logs. For more details, see https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FirelensConfiguration.html
59
+
* log_configuration: Log configuration options to send to a custom log driver for the container. For more details, see https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html
description="The FireLens configuration for the container. This is used to specify and configure a log router for container logs. For more details, see https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FirelensConfiguration.html"
description="(Optional) A map containing command (string), interval (duration in seconds), retries (1-10, number of times to retry before marking container unhealthy, and startPeriod (0-300, optional grace period to wait, in seconds, before failed healthchecks count toward retries)"
91
-
default={}
106
+
type=object({
107
+
command =list(string)
108
+
retries =number
109
+
timeout =number
110
+
interval =number
111
+
startPeriod =number
112
+
})
113
+
description="A map containing command (string), timeout, interval (duration in seconds), retries (1-10, number of times to retry before marking container unhealthy), and startPeriod (0-300, optional grace period to wait, in seconds, before failed healthchecks count toward retries)"
description="Log configuration options to send to a custom log driver for the container. For more details, see https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html"
134
+
default=null
107
135
}
108
136
109
137
variable"mount_points" {
@@ -121,7 +149,7 @@ locals {
121
149
},
122
150
]
123
151
}
124
-
152
+
125
153
variable"readonly_root_filesystem" {
126
154
type=string
127
155
description="(Optional) 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"
@@ -145,6 +173,12 @@ variable "start_timeout" {
145
173
default=30
146
174
}
147
175
176
+
variable"system_controls" {
177
+
type=list(map(string))
178
+
description="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 = \"\"}"
179
+
default=null
180
+
}
181
+
148
182
variable"stop_timeout" {
149
183
description="(Optional) Timeout in seconds between sending SIGTERM and SIGKILL to container"
0 commit comments