-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while re-deploying a stack that is ROLLBACK_COMPLETE state #8126
Comments
I am still running a similar issue (albeit with a different error message) in 1.45.0:
From a quick inspection, it seems like the I think the code in This is a major issue - being unable to update a stack that is in ROLLBACK_COMPLETE is a huge blocker for users. |
Supersedes #8779 The CLI determined that a stack in `UPDATE_ROLLBACK_COMPLETE` status is not updateable. related [comment](#8779 (comment)) This change modifies this logic by splitting up `waitForStack` into `waitForStackDelete` and `waitForStackDeploy` which evaluate stack status after it reaches a stable state depending on the operation that was performed. Closes #8126 #5151 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Supersedes aws#8779 The CLI determined that a stack in `UPDATE_ROLLBACK_COMPLETE` status is not updateable. related [comment](aws#8779 (comment)) This change modifies this logic by splitting up `waitForStack` into `waitForStackDelete` and `waitForStackDeploy` which evaluate stack status after it reaches a stable state depending on the operation that was performed. Closes aws#8126 aws#5151 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This occurs once when a stack is in
ROLLBACK_COMPLETE
and acdk deploy
command is issued to attempt another deployment. Retryingcdk deploy
succeeds.As far as I can tell this is not a race condition since this occurs no matter how long you wait between the stack going into
ROLLBACK_COMPLETE
and the issuance of the deploy command.Reproduction Steps
cdk deploy
that is going to throw an error from CloudFormation during deployment. The stack should end up in aROLLBACK_COMPLETE
state.cdk deploy
and the above error should show up.A second retry of
cdk deploy
will succeed.Error Log
Error message when running
cdk deploy --app <path to js file>
-Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: