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
description="The port mappings to configure for the container. This is a list of maps. Each map should contain \"containerPort\", \"hostPort\", and \"protocol\", where \"protocol\" is one of \"tcp\" or \"udp\". If using containers in a task with the awsvpc or host network mode, the hostPort can either be left blank or set to the same value as the containerPort"
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="One or more files containing the environment variables to pass to the container. This maps to the --env-file option to docker run. The file must be hosted in Amazon S3. This option is only available to tasks using the EC2 launch type. This is a list of maps"
119
-
default=null
120
-
}
121
-
122
-
variable"secrets" {
123
-
type=list(object({
124
-
name =string
125
-
valueFrom =string
126
-
}))
127
-
description="The secrets to pass to the container. This is a list of maps"
128
-
default=null
129
-
}
130
-
131
93
variable"readonly_root_filesystem" {
132
94
type=bool
133
95
description="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"
description="Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more details, see https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LinuxParameters.html"
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"
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"
177
-
default=null
178
-
}
179
-
180
-
variable"mount_points" {
181
-
type=list(any)
182
-
183
-
description="Container mount points. This is a list of maps, where each map should contain a `containerPath` and `sourceVolume`. The `readOnly` key is optional."
184
-
default=[]
185
-
}
186
-
187
-
variable"dns_servers" {
188
-
type=list(string)
189
-
description="Container DNS servers. This is a list of strings specifying the IP addresses of the DNS servers"
190
-
default=null
191
-
}
192
-
193
-
variable"dns_search_domains" {
194
-
type=list(string)
195
-
description="Container DNS search domains. A list of DNS search domains that are presented to the container"
196
-
default=null
197
-
}
198
-
199
-
variable"ulimits" {
200
-
type=list(object({
201
-
name =string
202
-
hardLimit =number
203
-
softLimit =number
204
-
}))
205
-
description="Container ulimit settings. This is a list of maps, where each map should contain \"name\", \"hardLimit\" and \"softLimit\""
206
-
default=null
207
-
}
208
-
209
-
variable"repository_credentials" {
210
-
type=map(string)
211
-
description="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"
212
-
default=null
213
-
}
214
-
215
-
variable"volumes_from" {
216
-
type=list(object({
217
-
sourceContainer =string
218
-
readOnly =bool
219
-
}))
220
-
description="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)"
221
-
default=[]
222
-
}
223
-
224
-
variable"links" {
225
-
type=list(string)
226
-
description="List of container names this container can communicate with without port mappings"
227
-
default=null
228
-
}
229
-
230
-
variable"user" {
231
-
type=string
232
-
description="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."
233
-
default=null
234
-
}
235
-
236
-
variable"container_depends_on" {
237
-
type=list(object({
238
-
containerName =string
239
-
condition =string
240
-
}))
241
-
description="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"
242
-
default=null
243
-
}
244
-
245
-
variable"docker_labels" {
246
-
type=map(string)
247
-
description="The configuration options to send to the `docker_labels`"
248
-
default=null
249
-
}
250
-
251
-
variable"start_timeout" {
252
-
type=number
253
-
description="Time duration (in seconds) to wait before giving up on resolving dependencies for a container"
254
-
default=null
255
-
}
256
-
257
-
variable"stop_timeout" {
258
-
type=number
259
-
description="Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own"
109
+
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"
260
110
default=null
261
111
}
262
112
@@ -266,12 +116,6 @@ variable "privileged" {
266
116
default=null
267
117
}
268
118
269
-
variable"system_controls" {
270
-
type=list(map(string))
271
-
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 = \"\"}"
272
-
default=null
273
-
}
274
-
275
119
variable"hostname" {
276
120
type=string
277
121
description="The hostname to use for your container."
0 commit comments