aws-cloudformation-github-deploy icon indicating copy to clipboard operation
aws-cloudformation-github-deploy copied to clipboard

Stack is in ROLLBACK_COMPLETE state and can not be updated

Open 0xAJX opened this issue 2 years ago • 2 comments

Can a solution be implemented so that when this error happens, the stack is deleted and recreated?

0xAJX avatar Jul 30 '23 08:07 0xAJX

Any updates on this?

Hanskrogh avatar Feb 14 '24 10:02 Hanskrogh

When a stack is in ROLLBACK_COMPLETE, you can actually fix it by manually updating to the last successful template through the AWS console. Although there was a suggestion about deleting and recreating the stack, AWS allows for a simpler approach by just rolling back to a stable version, which naturally avoids deletion since rollback handles that part.

Adding an auto-reset feature to the GitHub action for these situations could really simplify the process. Incorporating an option to auto-redeploy with the latest stable template when hitting certain conditions could make the whole process smoother.

SanariSan avatar Feb 16 '24 21:02 SanariSan