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
You were right..It was ECS issue in my case. Not letting me delete my ENIs saying I dont have the permissions. I had already deregistered my ECS task definition but still It was not letting me delete resources like VPC, ENIs created by ECS.
I had to update the version of task definition under ECS using same resources as previous definition version and then I deleted that new service and then deleted the clustere.
With clustere, it deleted all resource like VPC, ENIs which it was not letting me delete earlier.
I then dergistered second version of task definition. I had two inactive tasks definitions for a monent and then one task definitions disappeared..now only one is there in inactive state.