aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

LoadBalancedFargateService: Add ability to specify Load Balancer and Listener name

Open EduardTheThird opened this issue 7 years ago • 3 comments

We are using LoadBalancedFargateService to generate some Fargate services.

Currently, the load balancer and listener name is read-only and cannot be changed. We need to set the load balancer name to conform with company policies.

Having the ability to specify or change the names of both would be greatly appreciated! 🐱 Is there a workaround available for this?

Thanks!

EduardTheThird avatar Apr 23 '19 09:04 EduardTheThird

Please check this if it helps: https://github.com/markusl/cdk-fargate-docker-starter/blob/master/lib/cdk-fargate-starter-docker-stack.ts

markusl avatar Apr 28 '19 18:04 markusl

@EduardTheThird, sorry for the delayed response, The Application/Network LoadBalancedFargateService now support the ability to pass in your own loadbalancers. This should help to resolve your issue.

piradeepk avatar Oct 03 '19 19:10 piradeepk

Resolved as part of: https://github.com/aws/aws-cdk/pull/4213

piradeepk avatar Oct 03 '19 19:10 piradeepk