aws-cloudformation-github-deploy
aws-cloudformation-github-deploy copied to clipboard
Stack is in ROLLBACK_COMPLETE state and can not be updated
Can a solution be implemented so that when this error happens, the stack is deleted and recreated?
Any updates on this?
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.