Delete EKS Node Group failed due to Security Group Dependency
1
I created a node group and specified a wrong security group, which was used by other resources.
As a result, when I delete the node group through eksctl or AWS console, I got deletion failure due to:
Ec2SecurityGroupDeletionFailure DependencyViolation - resource has a dependent object
Is it possible to delete this node group while keeping the security group, please?
I understand the security group will not delete. I want to keep the SG.
The problem is, when deleting node group manually, the EKS throws error "delete failed". And the failure is caused by the SG is using by other nodes.
I understand the security group will not delete. I want to keep the SG. The problem is, when deleting node group manually, the EKS throws error "delete failed". And the failure is caused by the SG is using by other nodes.