-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(aws-ecs): handle long ARN formats for services
Due to a bug in Cloudformation, Fn::GetAtt for service name on an ECS service was returning the cluster name instead of the service name. This was causing the ResourceId on AWS::ApplicationAutoScaling::ScalableTarget to be set incorrectly. This change forces the customer to specify whether they have opted into the long ARN format for services (which can be achieved through the following command: `aws ecs put-account-setting-default --name serviceLongArnFormat --value enabled`). The CDK cannot currently detect if the customer has the these settings enabled so there could be a potential conflict on deployment. Fixes #1849.
- Loading branch information
Showing
4 changed files
with
126 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters