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?

Thank you for your answers in advance

1 réponse
0

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

profile picture
répondu il y a 2 ans
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions