Skip to content

Commit

Permalink
[MOD] fixed default list values (#12)
Browse files Browse the repository at this point in the history
* [MOD] Upgraded ECS container definition to v0.53.0

* [MOD] fixed default list values
  • Loading branch information
ovcharenko authored Mar 11, 2021
1 parent 250659c commit 7832c9b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ variable "environment_files" {
type = string
}))
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"
default = null
default = []
}

variable "secrets" {
Expand All @@ -136,7 +136,7 @@ variable "secrets" {
valueFrom = string
}))
description = "The secrets to pass to the container. This is a list of maps"
default = null
default = []
}

variable "readonly_root_filesystem" {
Expand Down Expand Up @@ -198,13 +198,13 @@ variable "mount_points" {
variable "dns_servers" {
type = list(string)
description = "Container DNS servers. This is a list of strings specifying the IP addresses of the DNS servers"
default = null
default = []
}

variable "dns_search_domains" {
type = list(string)
description = "Container DNS search domains. A list of DNS search domains that are presented to the container"
default = null
default = []
}

variable "ulimits" {
Expand Down Expand Up @@ -235,7 +235,7 @@ variable "volumes_from" {
variable "links" {
type = list(string)
description = "List of container names this container can communicate with without port mappings"
default = null
default = []
}

variable "user" {
Expand All @@ -250,7 +250,7 @@ variable "container_depends_on" {
condition = string
}))
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"
default = null
default = []
}

variable "docker_labels" {
Expand Down Expand Up @@ -280,7 +280,7 @@ variable "privileged" {
variable "system_controls" {
type = list(map(string))
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 = \"\"}"
default = null
default = []
}

variable "hostname" {
Expand Down Expand Up @@ -310,7 +310,7 @@ variable "pseudo_terminal" {
variable "docker_security_options" {
type = list(string)
description = "A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems."
default = null
default = []
}

#------------------------------------------------------------------------------
Expand Down

0 comments on commit 7832c9b

Please sign in to comment.