How delete a CFN stack (DELETE_FAILED: Internal Error)

1

I have a stack ( AWS Cloudformer) of 2013. No resources exists anymore. But deletion of the stacks fails with Internal error. There is also no option when retrying to skip resources ( no resources are displayed overthere). Also the CLI command ( with the all the logical ids in the --retain option) fails. I have only basic support, so I cannot ask support to delete the stack.

Anyone any idea how to get rid of this annoying old stack? :-)

eviman
asked 2 years ago952 views
3 Answers
0

Have you found a solution to the problem? Almost the same situation, only the stack was created yesterday, with disable rollback = true. It did not rise with a custom resource timeout error. . After that, I tried to delete it, and it didn't even start deleting already created resources. There are no API errors in CloudTrail, just DELETE_FAILED Internal Error. I tried skipping a resources, just like you tried skipping all resources through the cli. I deleted all the resources manually and tried again. And I always got:

DELETE_IN_PROGRESS initiated by the user and after 40 - 60 minutes DELETE_FAILED Internal failure

Moreover, I decided "well, let the stack remain in the DELETE_FAILED state". I will create a new one, since I deleted all the resources. But no, I can't create a stack with the same logical names and the same values because "{resource name} already exists in the stack (old stack arn)" I also don't want to pay for support when the problem is not on my side and there doesn't seem to be any way to fix it on my side.

answered 2 years ago
0

Hi! Good question and interesting case.

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. https://aws.amazon.com/premiumsupport/faqs/

jsonc
answered 2 years ago
-1

Hello!

I would advise you to contact Support teams through your AWS accounts. They can help with potential resources dependencies and help you further.

Thanks

AWS
Nabil
answered 2 years ago
  • Hi Nabil, with only Basic Support you cannot contact "Tech support". Account support cannot help me. Switching to another support plan will cost me at least $29 a month. To do this for a "malfunction"in AWS cloudformation, I think is a bit "over-done". But thanks for the advice.

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