-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Error deleting security group: DependencyViolation #2048
Comments
You are most likely facing aws/amazon-vpc-cni-k8s#1223 |
Okay so it looks like we have to wait until they release 1.11.1 for this to be resolved? |
I don't know when it will be fixed, but it is a known issue. Your best bet is to ensure all cluster workloads are removed first *EXCEPT for the VPC CNI before tearing down the cluster |
closing for now since this is not something the module can solve |
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. |
Description
I've been unable to cleanly destroy the kubernetes cluster created by this module. Having created and destroyed the cluster multiple times ive always experienced the issue where 3 security groups have not been deleted because of a dependency violation.
Module version [Required]: latest
Terraform version:
`- Provider version(s):
Reproduction Code [Required]
Steps to reproduce the behavior:
Expected behavior
I expect the cluster and all related resource created by this module to be destroyed.
Actual behavior
terraform destroy method eventually fails with the following errors:
Terminal Output Screenshot(s)
Additional context
sgs
If i attempt to delete one of the security groups manually in the aws console, i get the following error telling me there is a network interface still associated...
if i attempt to run terraform destory again you can see it is again trying to remove the same 3 sg that failed and continue failing wiht the same problem
Ofcourse ive been able to clean this up by deleting the network interface manually. However i don't understand why its not able to do that, this terraform cluster is always created in a clean environment in a new region with a clean workspace. Is there something unusual about my config in particular that might cause this?
The text was updated successfully, but these errors were encountered: