-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Delete Module #108
Comments
Hi @gb-ckedzierski I think there are 2 ways around it:
I usually do option 2. |
Thanks for your help! This worked deleting those items from the state directly. Note to future me, these are the things that needed to be deleted
I wonder if the workaround is to pass modules like recommend in the link issues? I'll test and create a PR if I find anything that could work here. Thanks again for the help! |
I had to do this just now. Is this really closed? |
I am unable to delete the EKS cluster provsioned with this module. terraform destroy fails It fails to delete the security group after 10 minutes. 1 error(s) occurred:
Terraform does not automatically rollback in the face of errors. Let me know if anybody has any suggestions for successfully deleting the cluster. |
If you created any ELBs from k8s, referenced any security groups in other SG rules, enabled scale in protection (or many more things), then this will prevent terraform destroy. Just do to the AWS console and try to delete the SG |
@rajpolaris add |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I have issues deleting module.
I'm submitting a...
What is the current behavior?
I add an EKS Cluster
it creates a succesful cluster. I remove the above code to delete the cluster and get an error:
There is no code left from this module, but Terraform won't cleanup after itself properly.
If this is a bug, how to reproduce? Please include a code sample if relevvant.
What's the expected behavior?
Are you able to fix this problem and submit a PR? Link here if you have already.
Environment details
Any other relevant info
The text was updated successfully, but these errors were encountered: