issue in deleting VPC and network interface

后端 未结 8 1814
太阳男子
太阳男子 2020-12-29 19:54

I am trying to delete aws vpc (a non default one). I am getting error that \"We could not delete the following VPC (vpc-xxxxxxx (xx.xx.xx.x/16)) Network interface \'eni-xxxx

8条回答
  •  滥情空心
    2020-12-29 20:43

    In my case I had to first detach and delete 2 things in EC2 section (of the same region as your VPC):

    1. Network & Security -> Elastic IPs. Delete the Elastic IP associated with your VPC
    2. Network & Security -> Network Interfaces. Detach your VPC's network interface first (This took around a minute). Then delete.

    Now try deleting the VPC.

提交回复
热议问题