Cannot delete network interface

0

Hello,

I have a problem to delete network interface. I tried to create EKS cluster with Terraform. I created it successfully but cannot delete the cluster due to the network interface. All ec2 instances are deleted and remaining resources are cluster, vpc, subnet, routing table, security group and network interface. All resource are not deleted due to the network interface. When I tried to delete, it says "Network interface is currently in use and is of type "interface". I searched related info but they all suggested to delete attached instances. I looked at the network interface but couldn't see any attached instances.

Instance details Instance ID: - Allocation ID: - instance owner: (my account) device index: 1

Can someone help me find out the way to delete network interface or which one to check?

Thanks

Jin

2개 답변
0
수락된 답변

Hello.

Do you know which resource the network interface was created from?
I think it's probably an ENI related to EKS, so try deleting EKS first.
Also, if ALB etc. were deployed together, I think there is a possibility that it is the ENI of ALB.

If you check the "Description" of the ENI, you may be able to determine which resource it was created from.
https://repost.aws/knowledge-center/troubleshoot-dependency-error-delete-vpc

Review the Description to see which resources the network interface is attached to.

profile picture
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
0

wow thanks all. It works. (deleting EKS cluster!) I couldn't think about it. I thought I should delete all underlying resources before deleting the cluster. The answer is deleting the cluster first!

Jin
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠