ROLLBACK_COMPLETE state and can not be updated.

0

Hello Pls i need help i get this while updating my CloudFormation Tempalate When i fix the i get the Error BELOW in MY CI/CD Pipeline.

Please i would realy appreciate and solution to this and also i recommendation on implementing a smooth CICD Process.

Stack:arn:aws:cloudformation:us-east-1:724512483715:stack/proptteraccounts-iac/64ad5820-3b6d-11ee-bd4b-0a0c26c80175 is in ROLLBACK_COMPLETE state and can not be updated. (Service: AmazonCloudFormation; Status Code: 400; Error Code: ValidationError; Request ID: deb7e3cc-a1c3-4f6f-bcfb-276b2969998f; Proxy: null)

Regards.

1 Answer
1
Accepted Answer

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:

  1. If a stack if in ROLLBACK_COMPLETE state, delete it first and then try deploying new stack.
  2. 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
AWS
Rachna
answered 9 months ago
  • Thank You very Helpfull.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions