Unable to recover from UPDATE_ROLLBACK_COMPLETE
See original GitHub issueCloudFormation is able to update stacks that are in UPDATE_ROLLBACK_COMPLETE
but the CDK CLI blocks these with the error:
The stack named XXX is in a failed state: UPDATE_ROLLBACK_COMPLETE
Environment
- CLI Version : 0.24.1
- Framework Version: 0.24.1
- OS :
- Language :
Other
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 4 years ago
- Reactions:21
- Comments:20 (9 by maintainers)
Top Results From Across the Web
How do I update a CloudFormation stack with state ...
If the stack is in UPDATE_ROLLBACK_COMPLETE state you should be able to update the stack again. If the rollback failed you may need...
Read more >ContinueUpdateRollback - AWS CloudFormation
A stack goes into the UPDATE_ROLLBACK_FAILED state when AWS CloudFormation can't roll back all changes after a failed stack update. For example, you...
Read more >Continue rolling back an update - Amazon CloudFormation
A stack goes into the UPDATE_ROLLBACK_FAILED state when Amazon CloudFormation can't roll back all changes during an update. For example, you might have...
Read more >AWS CloudFormation -Update Rollback Failed -How to Rectify ...
Steps for “update rollback complete”: 1. Open the AWS CloudFormation console. 2. From the navigation pane, choose Stacks. 3. From the Stack name ......
Read more >UPDATE_ROLLBACK_COMPLE...
If your stack is in UPDATE_ROLLBACK_COMPLETE , that just means that your last stack failed to deploy but should still be updatable.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I agree with @neg3ntropy this seems like a really severe issue. I am currently running into this in my multi-stack project. There are some references between the resources of the stacks, and it doesn’t seem smart enough to understand how to update the stacks on subsequent deployments. Here’s the call-stack I get in the console:
I don’t think
UPDATE_ROLLBACK_COMPLETE
should be treated as a “failed” state. And if I manually hack the CDK code to not treat rollbacks as unsuccessful, then I can get past this error, or if I manually tweak the template. Otherwise, I have to delete the stacks in the AWS console and start over (which is not always an option).I am facing the same error, have to manually delete the stack for the changes to reflect back again.