How do I manually destroy resources in AWS if terraform destroy
fails?
#669
-
Document how to destroy resources after looking them up by tag in AWS |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 6 replies
-
Somewhat related to #579 |
Beta Was this translation helpful? Give feedback.
-
AWS will prevent some resources from being destroyed if there are dependent resources that still exist. The order of resource deletion is below: Basic steps:
|
Beta Was this translation helpful? Give feedback.
-
Yes, these basic steps worked for me! |
Beta Was this translation helpful? Give feedback.
-
@iameskild, You've been through this a couple of times recently, it would be good to add anything else that you think should be checked to this issue. |
Beta Was this translation helpful? Give feedback.
-
Converting to a discussion for future posterity |
Beta Was this translation helpful? Give feedback.
-
@iameskild or other qhubbers: I want to destroy all the resources for our I was planning destroy the old one by:
So two questions:
(I didn't see anything about destroying qhub in the docs) |
Beta Was this translation helpful? Give feedback.
-
For some reason I got permission denied on the scripts, even though I had my AWS credentials specified via env vars. So I used the console route again. A couple of additional notes:
|
Beta Was this translation helpful? Give feedback.
AWS will prevent some resources from being destroyed if there are dependent resources that still exist. The order of resource deletion is below:
Basic steps: