Stack in UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS state

0

Hey, 30h ago and apply a new CF template to my development environment, and it couldn't finish. In the morning I saw that stack is still in UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS state, and I opened a ticket for AWS to fix it as it looks like Internal Error of AWS (trying to disconnect WebACL from the resource that was deleted by that CF stack before). I opened a ticket to AWS technical team 24h ago, but no answer - wondering if there is any aws-cli command to force delete or force fix stack?

2022-06-21 22:54:55 UTC+1000 rCisProcessorWebACLAssociation DELETE_IN_PROGRESS - 2022-06-21 22:51:53 UTC+1000 rCisProcessorWebACLAssociation DELETE_FAILED Internal Failure 2022-06-21 22:51:53 UTC+1000 rCisProcessorWebACLAssociation DELETE_IN_PROGRESS -

asked 2 years ago289 views
1 Answer
0

Hello there,

Greetings for the day!

Note- Since we do not have the visibility into the resources, I am providing you the general guidance steps that might help in resolving the issue.

Unfortunately there is no awscli command that you can used in this scenario. By going through the information shared in the query that a resource has gone into Delete_Failed state with reason Internal Failure, your stack is now stuck in UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS state.

A CloudFormation stack gets stuck in the UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS or UPDATE_COMPLETE_CLEANUP_IN_PROGRESS state when [1] :

  • CloudFormation is still in the process of removing old resources, or can't remove those resources due to a dependency issue.

  • Resource cleanup is paused because a sibling stack of a nested stack fails to update or roll back.

In this scenario, since the resource is failing to delete with reason INTERNAL FAILURE, we do not have much information to proceed with. The next step would be to check the AWS CloudTrail Event History and find the corresponding API which is failing. Once the failed API is identified, try to resolve the error message.

If the reason mentioned is API is also INTERNAL FAILURE then you need to check with the AWS Support on the progress of the ticket and they need to unstuck this stuck stack.

Article for Reference :

[1] https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-stack-cleanup-stuck/

AWS
SUPPORT ENGINEER
answered 2 years 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.

Guidelines for Answering Questions