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 回答
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
专家
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则