How to delete a cloud formation stack in DELETE_FAILED status?

0

I have a stack that will not delete.

It has a custom resource that failed creation. I went through the steps here to delete the custom resource and the custom resource deleted properly.

Later I tried to delete the stack. It went into the DELETE_IN_PROGRESS state and all the resources were deleted. It then hung for about 40 minutes and finally changed state to DELETE_FAILED with no other information.

If I try to delete again it goes into the state DELETE_IN_PROGRESS and about 40 minutes later returns to the state DELETE_FAILED. Since all resources are already deleted it does not present a list of resources to retain.

I have tried recreating some resources. But deleting the stack still hangs for 40 minutes and fails.

Has anyone found a way around this problem? We only have a basic support account are are unable to create a technical support issue and paying the several hundred dollars for a single month of support seems a bit excessive. Has anyone been able to get Amazon to delete a stack like this with only a basic support account?

질문됨 2년 전1003회 조회
1개 답변
0

Answering based from the previous post: https://repost.aws/questions/QUMgNTrrY-TNq96WhqEB4AIA/how-delete-a-cfn-stack-delete-failed-internal-error

A couple options:

If you can see the stack and the resources, you could recreate the resources with the same logical resources and then try deleting again. This may give you more options than what you're seeing above.

For technical support from AWS, you could sign up and then cancel when the case is closed - this may be a prorated charge as well. However, there is a minimum of 1 month for the charge. Developer Support costs only $29 a month though.

Link -- https://aws.amazon.com/premiumsupport/faqs/

profile pictureAWS
지원 엔지니어
답변함 2년 전
  • It is a stack with 131 resources so recreating will be time consuming. And unfortunately support costs a maximum of $29 or 3% of your monthly charges. 3% of our monthly charges is well above $29.

    I was hoping that someone had found another solution. But I will probably have to end up recreating the resources and trying again. And maybe signing up for one month of developer support.

    I do thank you for responding!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠