cloudposse / terraform-aws-ecs-container-definition

Terraform module to generate well-formed JSON documents (container definitions) that are passed to the aws_ecs_task_definition Terraform resource
https://cloudposse.com/accelerate
Apache License 2.0
340 stars 245 forks source link

Port mappings probably shouldn't default to 80:80 #74

Closed Makeshift closed 4 years ago

Makeshift commented 4 years ago

https://github.com/cloudposse/terraform-aws-ecs-container-definition/blob/master/variables.tf#L32

Port mappings are an optional parameter, so to remove them when using this module you have to do so manually:

port_mappings = []