Can't delete network interface despite there is no instance using it

0

Hello I'm using kops and trying to delete a cluster but whenever I try it returns:

subnet:subnet-08ce41d54ac8013bb still has dependencies, will retry security-group:sg-058dc5e078d91f60e still has dependencies, will retry

I try to delete security group and subnet manually from aws console and with aws cli but when I try to delete the security group it returns that it has associated a network interface and when I try to delete the network interface it returns that is in use despite there is no instance using it. The network interface Id is the next: eni-0de17b728039af773. Hopefully you can help me.

1 Antwort
2

Network interfaces are not just attached to instances - they could be other VPC endpoints or load balancers. Try running aws ec2 describe-network-interfaces to see the network interfaces and what is using them.

profile pictureAWS
EXPERTE
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen