Skip to content

Commit 4abc83f

Browse files
committed
Fixing minor issue in variable declaration
1 parent 1ae79a4 commit 4abc83f

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

variables.tf

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ variable "vpc_id" {
2424
}
2525

2626
variable "availability_zones" {
27-
type = list(string)
27+
type = list
2828
description = "List of Availability Zones"
2929
}
3030

3131
variable "public_subnets_ids" {
32-
type = list(string)
32+
type = list
3333
description = "List of Public Subnets IDs"
3434
}
3535

3636
variable "private_subnets_ids" {
37-
type = list(string)
37+
type = list
3838
description = "List of Private Subnets IDs"
3939
}
4040

@@ -54,7 +54,7 @@ variable "container_name" {
5454
}
5555

5656
variable "command" {
57-
type = list(string)
57+
type = list
5858
description = "The command that is passed to the container"
5959
default = [""]
6060
}
@@ -66,7 +66,7 @@ variable "container_cpu" {
6666
}
6767

6868
variable "container_depends_on" {
69-
type = list(string)
69+
type = list
7070
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"
7171
default = []
7272
}
@@ -84,19 +84,19 @@ variable "container_memory_reservation" {
8484
}
8585

8686
variable "dns_servers" {
87-
type = list(string)
87+
type = list
8888
description = "Container DNS servers. This is a list of strings specifying the IP addresses of the DNS servers."
8989
default = []
9090
}
9191

9292
variable "entrypoint" {
93-
type = list(string)
93+
type = list
9494
description = "The entry point that is passed to the container"
9595
default = [""]
9696
}
9797

9898
variable "environment" {
99-
type = list(string)
99+
type = list
100100
description = "The environment variables to pass to the container. This is a list of maps. Each map should contain `name` and `value`"
101101
default = []
102102
}
@@ -108,13 +108,13 @@ variable "essential" {
108108
}
109109

110110
variable "healthcheck" {
111-
type = map(string)
111+
type = map
112112
description = "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)"
113113
default = {}
114114
}
115115

116116
variable "links" {
117-
type = list(string)
117+
type = list
118118
description = "List of container names this container can communicate with without port mappings."
119119
default = []
120120
}
@@ -129,7 +129,7 @@ locals {
129129
}
130130

131131
variable "mount_points" {
132-
type = list(string)
132+
type = list
133133
description = "Container mount points. This is a list of maps, where each map should contain a `containerPath` and `sourceVolume`"
134134
default = []
135135
}
@@ -151,13 +151,13 @@ variable "readonly_root_filesystem" {
151151
}
152152

153153
variable "repository_credentials" {
154-
type = map(string)
154+
type = map
155155
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"
156156
default = {}
157157
}
158158

159159
variable "secrets" {
160-
type = list(string)
160+
type = list
161161
description = "The secrets to pass to the container. This is a list of maps"
162162
default = []
163163
}
@@ -168,7 +168,7 @@ variable "stop_timeout" {
168168
}
169169

170170
variable "ulimits" {
171-
type = list(string)
171+
type = list
172172
description = "Container ulimit settings. This is a list of maps, where each map should contain \"name\", \"hardLimit\" and \"softLimit\""
173173
default = []
174174
}
@@ -179,7 +179,7 @@ variable "user" {
179179
}
180180

181181
variable "volumes_from" {
182-
type = list(string)
182+
type = list
183183
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)."
184184
default = []
185185
}
@@ -199,13 +199,13 @@ variable "ipc_mode" {
199199
}
200200

201201
variable "placement_constraints" {
202-
type = list(string)
202+
type = list
203203
description = "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\""
204204
default = []
205205
}
206206

207207
variable "proxy_configuration" {
208-
type = list(string)
208+
type = list
209209
description = "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\""
210210
default = []
211211
}

0 commit comments

Comments
 (0)