awslabs / codedeploy-blue-green

These artifacts are associated with the blog post on Blue/Green Deployments with CodeDeploy.
Apache License 2.0
48 stars 51 forks source link

CloudFormation Rollback #4

Open romaef opened 4 years ago

romaef commented 4 years ago

Tried using the CDBlueGreen.yaml from this repo in CloudFormation but it won't work. Screenshot 2020-01-28 at 4 48 40 PM

harvikkakadiya commented 4 years ago

Have you solved this error?? I also got this error.

sachin-net commented 4 years ago

There is a workaround to overcome this issue.

  1. Get the userdata which is been passed to the EC2 instance, copy the last command related to CFN signal
  2. SSH to instance
  3. Execute the command which is copied as part of step 1. ( cfn-signal -e 0 -r 'BlueGreen configuration' --stack xxxxxxxx)