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 Respuesta
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
EXPERTO
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas