https://pulumi.com logo
#typescript
Title
# typescript
h

handsome-airport-56801

08/02/2019, 6:58 PM
I've created an ECS cluster in an existing VPC that has an ALB. I've also added 2 Fargate services to that cluster. (I need 2 services instead of 1 because I need to scale each service differently.) Neither of the services are binding to the ALB through the associated target group. How do I need to configure the FargateService in order for a server to bind to the ALB?
there doesn't seem to be a way to explicitly tell the
awsx.ecs.FargateService
to bind to the target group
f

fresh-summer-65887

11/07/2019, 11:02 PM
Did you find a solution to this? I believe I'm having the same problem. The docs use a listener but in my case I want to use a routing rule to forward to a target group.
s

stocky-spoon-28903

11/08/2019, 7:09 AM
@fresh-summer-65887 you can do this with the raw resources, not sure if awsx exposes it though
f

fresh-summer-65887

11/08/2019, 8:30 AM
Yeah looks like I'll have to drop to that.
I think I've got it working as needs, will feed back if so