Cloudformation-coverage-roadmap: AWS::CodeDeploy::BlueGreen hook error in example for ECS

Created on 13 Aug 2020  路  2Comments  路  Source: aws-cloudformation/cloudformation-coverage-roadmap

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:
image

All 2 comments

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  4Comments

san-san picture san-san  路  3Comments

hoegertn picture hoegertn  路  4Comments

luiseduardocolon picture luiseduardocolon  路  4Comments

mildebrandt picture mildebrandt  路  3Comments