aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
AWS::CodeDeploy::BlueGreen hook error in example for ECS
- Dominant language
- No language data
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/aws-cloudformation/aws-cloudformation-coverage-roadmap/issues/37
## 1. AWS::CodeDeploy::BlueGreen fail to update existing CloudFormation stack for ECS
## 2. Scope of request
AWS::CodeDeploy::BlueGreen fail to update CloudFormation stack after executing a changeset that updates image(or any attribute in the container definition) for the container with a message: "**_'CodeDeployBlueGreenHook' of type AWS::CodeDeploy::BlueGreen failed with message: The TaskDefinition logical Id [BlueTaskDefinition] is the same between initial and final template, CodeDeploy can't perform BlueGreen style update properly_**"
## 3. Expected behavior
The hook should be triggered correctly after executing a changeset changing the image to a different one in an existing CloudFormation stack
## 4. Suggest specific test cases
Apply new change for the container image should trigger the hook; The hook should run accordingly.
## 5. Helpful Links to speed up research and evaluation
Example link: [https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/blue-green.html#blue-green-template-example](url)
## 6. Category
Management (CloudTrail, Config...)
## 7. Additional context
Error image:

Contributor guide
Research direction
Review the linked roadmap issue and the AWS CloudFormation blue-green template example first; the issue names no repository files or tests. Reproduce an ECS stack update that changes the container image, and consider the issue resolved when the CodeDeployBlueGreenHook runs successfully instead of reporting identical TaskDefinition logical IDs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100