- Newest
- Most votes
- Most comments
Hello.
What error occurs when I try to delete CloudFormation?
I think that using aws-nuke will help to delete most all resources.
https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/automate-deletion-of-aws-resources-by-using-aws-nuke.html
There is no button in AWS that resets the account, but you can delete all of your resources manually. Here are the steps on how to delete a stack from CloudFormation:
Go to the CloudFormation console. In the navigation pane, choose Stacks. Select the stack that you want to delete. In the Actions menu, choose Delete Stack. In the confirmation dialog box, choose Delete. Here are the steps on how to delete an application from Lambda:
Go to the Lambda console. In the navigation pane, choose Functions. Select the function that you want to delete. In the Actions menu, choose Delete Function. In the confirmation dialog box, choose Delete. If you are still having trouble deleting these resources, you can contact AWS Support for help.
I followed these steps exactly. But got an error. A red coloured error snackbar at the top saying, "Failed to delete stack". Hence the question here.
Have you tried steps in this trouble shooting document ?https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-delete-stack-fails
Have you checked your role, if you have permissions of deleting a stack? Also do you see any error in the events tab?
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
When I try to delete a stack from CloudFormation, a red coloured snackbar appears at the top saying, 'Failed to delete stack.'
Thanks for the reply. By the way, what kind of resources are you creating in that CloudFormation stack?