1 Answer
- Newest
- Most votes
- Most comments
1
When a stack is created for the first time, has automatic rollback enabled (default setting) and it fails to create the stack for any reason. Then the stack goes into ROLLBACK_COMPLETE state after rolling back. A stack in ROLLBACK_COMPLETE state cannot be updated and you'd need to create a new stack to deploy it. There are two solution to this issue:
- If a stack if in ROLLBACK_COMPLETE state, delete it first and then try deploying new stack.
- You can disable automatic rollback for future deployments to prevent stack from going into ROLLBACK_COMPLETE state if it fails during creation - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-failure-options.html#stack-failure-options-conditions
answered 9 months ago
Relevant content
- Accepted Answerasked 8 months ago
- asked 6 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 25 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Thank You very Helpfull.