Closed jtribble closed 11 months ago
/terratest
/terratest
Just merged earlier PR with the same feature https://github.com/cloudposse/terraform-aws-ecs-container-definition/pull/168
the other PR had the additional requirement of setting the name
field, which is used in the ECS Service Connect api
err... I see this PR also adds name now. Regardless, I hope that #168 accomplishes what folks needed. I saw some issues regarding ordering of the port mapping config. If that's still an issue we should use this PR to re-order them.
Hey @max-lobur @dudymas! #168 added name
and appProtocol
to var.port_mappings
, which is the main change I needed! In this PR I also added containerPortRange
since I noticed it was missing.
Would you like me to refactor this PR to just contain the port range change? We would also want to make containerPort
optional since it's optional in the AWS config.
what
var.port_mappings
(appProtocol
,name
,containerPortRange
)why
references