ecs: Add ability to export target group created by FargateService (EC2Service etc..) #28083
Closed
1 of 2 tasks
Labels
@aws-cdk/aws-codedeploy
Related to AWS CodeDeploy
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the feature
An option to export target group from FargateService.
Needed for CodeDeploy ECS blue green deployment
Use Case
I'm having trouble when create CodeDeploy EcsDeploymentGroup,
it needs to specify 2 target groups for deployment config.
One of them is a secondary target group, which could be created by new lines of code.
But one of them should be a target group that was created by FargateService.
Currently there is no option to export the target group FargateService created.
Proposed Solution
Maybe we can do this could be via property or method
Other Information
I know we can get target group of service if using ApplicationLoadBalancedFargateService.
Since ApplicationLoadBalancedFargateService doesn't have priority option. Which is important to some cases
Can we do it with FargateService as well ?
Acknowledgements
CDK version used
2.103.1
Environment details (OS name and version, etc.)
MacOS
The text was updated successfully, but these errors were encountered: