-
|
When I try to delete a VPC using cloud-nuke I see an error |
Beta Was this translation helpful? Give feedback.
Answered by
ellisonc
Feb 7, 2023
Replies: 1 comment
-
|
We believe this is a problem with eventual consistency within AWS. After removing any eni resources within the VPC it takes a significant period of time before the VPC becomes eligible for deletion. As part of Gruntwork operations we typically run cloud-nuke multiple times to ensure VPCs are destroyed. We find that retrying after 30 minutes typically resolves the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ellisonc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We believe this is a problem with eventual consistency within AWS. After removing any eni resources within the VPC it takes a significant period of time before the VPC becomes eligible for deletion. As part of Gruntwork operations we typically run cloud-nuke multiple times to ensure VPCs are destroyed. We find that retrying after 30 minutes typically resolves the issue.