https://pulumi.com logo
Title
f

flat-appointment-12338

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'
portMappings
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
/something
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
/foo
forward to port
5000
and
/bar
forward to port
6000
in the same container
ah - problem solves and it looks like the timing was perfect here. https://github.com/pulumi/pulumi-awsx/pull/698