Closed partlythomas closed 2 months ago
it does, you just have to extract it from https://github.com/terraform-aws-modules/terraform-aws-ecs/blob/3b70e1e46e1b96a2da7fbfe6e2c11d44009607f1/outputs.tf#L59-L62
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Describe the solution you'd like.
The child module "service" is outputting the
security_group_id
tied to the ECS service. However, the "root" module does not further chain this output, making it inaccessible for module calls outside of this module. This would be particularly useful in order to limit the network access scope between the load balancer and the ECS services, rather than just using the CIDR of the whole VPC.