Open huynhphat22 opened 4 years ago
There appears to be multiple errors in this template. THeres large chucks missing.
Does anyone have a working example? Or a link to someplace with at least a complete template?
Does anyone have a working example? Or a link to someplace with at least a complete template?
Have a look here for the example: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/blue-green.html#blue-green-template-example
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
6. Category
Management (CloudTrail, Config...)
7. Additional context
Error image: