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 number of instances of a task definition."
133
-
default=1
134
-
type=number
135
-
}
136
-
137
-
variable"tasks_minimum_healthy_percent" {
138
-
description="Lower limit on the number of running tasks."
139
-
default=100
185
+
variable"health_check_grace_period_seconds" {
186
+
description="Grace period within which failed health checks will be ignored at container start. Only applies to services with an attached loadbalancer."
187
+
default=null
140
188
type=number
141
189
}
142
190
143
-
variable"tasks_maximum_percent" {
144
-
description="Upper limit on the number of running tasks."
145
-
default=200
146
-
type=number
191
+
variable"hello_world_container_ports" {
192
+
description="List of ports for the hello world container app to listen on. The app currently supports listening on two ports."
193
+
type=list(number)
194
+
default=[8080, 8081]
147
195
}
148
196
149
-
variable"container_image" {
150
-
description="The image of the container."
151
-
default="golang:alpine"
197
+
variable"kms_key_id" {
198
+
description="KMS customer managed key (CMK) ARN for encrypting application logs."
152
199
type=string
153
200
}
154
201
155
-
variable"container_definitions" {
156
-
description="Container definitions provided as valid JSON document. Default uses golang:alpine running a simple hello world."
157
-
default=""
158
-
type=string
202
+
variable"lb_target_groups" {
203
+
description="List of load balancer target group objects containing the lb_target_group_arn, container_port and container_health_check_port. The container_port is the port on which the container will receive traffic. The container_health_check_port is an additional port on which the container can receive a health check. The lb_target_group_arn is either Application Load Balancer (ALB) or Network Load Balancer (NLB) target group ARN tasks will register with."
204
+
default=[]
205
+
type=list(
206
+
object({
207
+
container_port =number
208
+
container_health_check_port =number
209
+
lb_target_group_arn =string
210
+
}
211
+
)
212
+
)
159
213
}
160
214
161
-
variable"target_container_name" {
162
-
description="Name of the container the Load Balancer should target. Default: {name}-{environment}"
215
+
variable"logs_cloudwatch_group" {
216
+
description="CloudWatch log group to create and use. Default: /ecs/{name}-{environment}"
163
217
default=""
164
218
type=string
165
219
}
166
220
167
-
variable"associate_alb" {
168
-
description="Whether to associate an Application Load Balancer (ALB) with the ECS service."
169
-
default=false
170
-
type=bool
221
+
variable"logs_cloudwatch_retention" {
222
+
description="Number of days you want to retain log events in the log group."
223
+
default=90
224
+
type=number
171
225
}
172
226
173
-
variable"associate_nlb" {
174
-
description="Whether to associate a Network Load Balancer (NLB) with the ECS service."
175
-
default=false
227
+
variable"manage_ecs_security_group" {
228
+
description="Enable creation and management of the ECS security group and rules"
229
+
default=true
176
230
type=bool
177
231
}
178
232
179
-
variable"alb_security_group" {
180
-
description="Application Load Balancer (ALB) security group ID to allow traffic from."
description="KMS customer managed key (CMK) ARN for encrypting application logs."
193
-
type=string
194
-
}
195
-
196
-
variable"additional_security_group_ids" {
197
-
description="In addition to the security group created for the service, a list of security groups the ECS service should also be added to."
198
-
default=[]
199
-
type=list(string)
200
-
}
201
-
202
-
variable"lb_target_groups" {
203
-
description="List of load balancer target group objects containing the lb_target_group_arn, container_port and container_health_check_port. The container_port is the port on which the container will receive traffic. The container_health_check_port is an additional port on which the container can receive a health check. The lb_target_group_arn is either Application Load Balancer (ALB) or Network Load Balancer (NLB) target group ARN tasks will register with."
204
-
default=[]
205
-
type=list(
206
-
object({
207
-
container_port =number
208
-
container_health_check_port =number
209
-
lb_target_group_arn =string
210
-
}
211
-
)
212
-
)
213
-
}
214
-
215
-
variable"container_volumes" {
216
-
description="Volumes that containers in your task may use."
217
-
default=[]
218
-
}
219
-
220
-
variable"hello_world_container_ports" {
221
-
description="List of ports for the hello world container app to listen on. The app currently supports listening on two ports."
222
-
type=list(number)
223
-
default=[8080, 8081]
224
-
}
225
-
226
244
variable"service_registries" {
227
245
description="List of service registry objects as per <https://www.terraform.io/docs/providers/aws/r/ecs_service.html#service_registries-1>. List can only have a single object until <https://github.com/terraform-providers/terraform-provider-aws/issues/9573> is resolved. Either provide container_name and container_port or port"
description="Enable creation and management of the ECS security group and rules"
239
-
default=true
240
-
type=bool
255
+
variable"target_container_name" {
256
+
description="Name of the container the Load Balancer should target. Default: {name}-{environment}"
257
+
default=""
258
+
type=string
241
259
}
242
260
243
-
variable"health_check_grace_period_seconds" {
244
-
description="Grace period within which failed health checks will be ignored at container start. Only applies to services with an attached loadbalancer."
245
-
default=null
261
+
variable"tasks_desired_count" {
262
+
description="The number of instances of a task definition."
263
+
default=1
246
264
type=number
247
265
}
248
266
249
-
variable"ecs_exec_enable" {
250
-
description="Enable the ability to execute commands on the containers via Amazon ECS Exec"
251
-
default=false
252
-
type=bool
253
-
}
254
-
255
-
variable"enable_ecs_managed_tags" {
256
-
description="Specifies whether to enable Amazon ECS managed tags for the tasks within the service"
257
-
default=false
258
-
type=bool
259
-
}
260
-
261
-
variable"ecs_deployment_circuit_breaker" {
262
-
description="Configure the ECS deployment circuit breaker"
263
-
type=object({
264
-
enable =bool
265
-
rollback =bool
266
-
})
267
-
default={
268
-
enable =false
269
-
rollback =false
270
-
}
267
+
variable"tasks_maximum_percent" {
268
+
description="Upper limit on the number of running tasks."
269
+
default=200
270
+
type=number
271
271
}
272
272
273
-
variable"efs_instance_id" {
274
-
description="ID of the EFS instance volume"
275
-
type=string
276
-
default=""
273
+
variable"tasks_minimum_healthy_percent" {
274
+
description="Lower limit on the number of running tasks."
0 commit comments