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 Risposta
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
ESPERTO
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande