-
Notifications
You must be signed in to change notification settings - Fork 724
EC2VPCEndpointConnection deletion fails with "The VpcEndpointService Id '<ID> does not exist" #1258
Comments
Did aws-nuke actually fail and exit non-zero or just log the error/warn. |
It actually error'd and exited with 255. My guess is that the API to list Here's an example run only targeting the EC2VPCEndpointConnection:
with the logs being
|
Nice. This is helpful. It looks like the API is still returning the resource in state rejected and it looks like it's not eligible for deletion in that state. I manage a fork of over at ekristen/aws-nuke -- I'll reference this issue once I have it fixed. |
@byted this has been implemented via ekristen/aws-nuke#271 and originally tracked via ekristen/aws-nuke#272 This project has now been deprecated in favor of this fork, which has been linked to from the main readme. Sven kindly granted me access to directly answer and close pull requests and issues so that we can notify users if their issues have been addressed or not. Please see the welcome issue for more information. |
Using
aws-nuke version v2.25.0.30.g517cd1b
(throughrebuy/aws-nuke:latest
docker image) we saw our nuke run fail due aEC2VPCEndpointConnection
unable to be removed b/c it was already removed.It would be nice to recognize the errors of this type and mark the resource are removed instead of failing.
Thanks for your work so far!
Log excerpt:
The text was updated successfully, but these errors were encountered: