By using AWS re:Post, you agree to the Terms of Use
/Delete EKS Node Group failed due to Security Group Dependency/

Delete EKS Node Group failed due to Security Group Dependency

0

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?

Thank you for your answers in advance

1 Answers
1

the security group will not delete. delete node group manually.

answered a month ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions