Skip to content

CloudFormation Stack Stuck in UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS for 3+ hour

0

My CloudFormation nested stack has been stuck in UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS for over 3 hours.

Region: us-east-1 Status: UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS (since 19:44 UTC)

The parent stack was deleted but this nested stack remains orphaned and won't complete cleanup. All resources show CREATE_COMPLETE status.

Cannot delete or continue rollback - getting validation errors that operations cannot be performed on child stacks.

How can I resolve this without paid AWS Support?

asked a year ago449 views

2 Answers
0

When a CloudFormation nested stack gets stuck in UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS state for an extended period, it's typically because CloudFormation is unable to complete the cleanup process due to resource dependencies or resources that were modified outside of CloudFormation.

This situation commonly occurs when:

  • A nested stack failed to roll back completely
  • CloudFormation can't clean up resources because they're still in use
  • Resources were modified outside of CloudFormation's management
  • There are invisible dependencies (like hidden load balancers) that CloudFormation is waiting on

Since your parent stack was deleted but the nested stack remains orphaned, you're in a particularly challenging situation. Here are some steps you can try:

  1. Identify any resources that might be blocking the cleanup. Look for resources that might have dependencies or are being used by other services.

  2. Manually delete the resources created by the stack, starting with the most dependent resources first. This may require going through each resource in the AWS console and deleting them individually.

  3. Once all resources are deleted, you might be able to delete the stack itself.

  4. If the stack is still stuck, you may need to wait longer. In some cases, CloudFormation will eventually give up after multiple retry attempts (which can take 6+ hours).

  5. As a last resort, you can try contacting AWS Support through the Account and Billing support channel, which is available at no additional cost.

Unfortunately, nested stacks that are stuck in cleanup states are one of the more challenging CloudFormation issues to resolve without AWS Support assistance, especially when the parent stack has already been deleted.
Sources
CloudFormation Stack stuck in post update cleanup | AWS re:Post
Troubleshooting CloudFormation - AWS CloudFormation
Stack status of UPDATE_ROLLBACK_COMPLETE but unable to update stack | AWS re:Post

answered a year ago

AWS
EXPERT

reviewed a year ago

0

That status usually means a resource couldn’t be deleted (e.g. S3 bucket not empty, ENI still attached). Steps:

Run aws cloudformation describe-stack-events and find the last DELETE_FAILED resource.

Manually clean it (empty bucket, detach ENI, release EIP, etc.).

Then retry stack deletion or use “Continue Rollback.”

For nested stacks, check if a child stack blocked cleanup.

If it’s non-critical, sometimes exporting state and recreating the stack is quicker than waiting.

answered a year ago

AWS
EXPERT

reviewed a year ago

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.