aws-cdk: (cli): Unable to recover from UPDATE_ROLLBACK_COMPLETE
CloudFormation 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
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 24
- Comments: 24 (11 by maintainers)
Commits related to this issue
- fix(cli): unable to update stacks in UPDATE_ROLLBACK_COMPLETE The CLI determined that a stack in UPDATE_ROLLBACK_COMPLETE status is not updatable. This change cleans up this logic so that a stack up... — committed to aws/aws-cdk by shivlaks 4 years ago
- fix(cli): unable to update stacks in UPDATE_ROLLBACK_COMPLETE (#8948) Supersedes #8779 The CLI determined that a stack in `UPDATE_ROLLBACK_COMPLETE` status is not updateable. related [comment](ht... — committed to aws/aws-cdk by shivlaks 4 years ago
- fix(cli): unable to update stacks in UPDATE_ROLLBACK_COMPLETE (#8948) Supersedes #8779 The CLI determined that a stack in `UPDATE_ROLLBACK_COMPLETE` status is not updateable. related [comment](ht... — committed to curtiseppel/aws-cdk by shivlaks 4 years ago
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_COMPLETEshould 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.