09/30/2021, 2:21 PM
Does anyone know how to register multiple target groups with a Fargate definition? Ive tried passing an array of target groups into the container definitions'
field but it only associates the task with one of the target groups.
In my case, i see the ALB created and i have rules created that would forward
to a different target group, which is also created successfully. And of course the default rule which forwards to a different target group. However, the ECS task only has one of those target groups registered.
This means that the ALB handles the rules properly, but doesnt actually forward the request anywhere
My usecase here is that i have a container that is exposing more than one port and I want to basically have
forward to port
forward to port
in the same container
ah - problem solves and it looks like the timing was perfect here.