Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Terraform Destroy for ingressgateway #2

Closed
murphye opened this issue Jan 13, 2022 · 7 comments
Closed

Issue with Terraform Destroy for ingressgateway #2

murphye opened this issue Jan 13, 2022 · 7 comments

Comments

@murphye
Copy link
Owner

murphye commented Jan 13, 2022

Error: Error waiting for Deleting Network: The network resource 'projects/murphye/global/networks/my-network' is already being used by 'projects/murphye/zones/us-west4-a/networkEndpointGroups/ingressgateway'
@murphye
Copy link
Owner Author

murphye commented Jan 13, 2022

Workaround: Delete the ingressgateway Network Endpoint Group from the Google Cloud Console under the Compute Engine section.

@murphye murphye changed the title Issue with Terraform Destroy Issue with Terraform Destroy for ingressgateway Jan 13, 2022
@murphye
Copy link
Owner Author

murphye commented Jan 13, 2022

Updated README with a workaround. ingressgateway NEG is not part of the Terraform inventory. Not sure what the best solution is.

@alexproca
Copy link
Contributor

I created a PR with a suggestion for this issue. #7

murphye added a commit that referenced this issue Jan 17, 2022
…ngressgateway

Suggestion for issue #2 - Delete ingress when destroy
@murphye murphye closed this as completed Jan 17, 2022
@murphye murphye reopened this Jan 19, 2022
@murphye
Copy link
Owner Author

murphye commented Jan 19, 2022

Still getting this error:

Error: Error waiting for Deleting Network: The network resource 'projects/murphye/global/networks/my-network' is already being used by 'projects/murphye/zones/us-west4-a/networkEndpointGroups/ingressgateway'

@murphye
Copy link
Owner Author

murphye commented Jan 23, 2022

Fixed with depends_on

@murphye murphye closed this as completed Jan 23, 2022
@alexproca
Copy link
Contributor

👍

@devopslondon2021
Copy link

Hey, still having issue with the PR #7 merge.

@murphye could you share a bit more details on how did you fix the issue? where did you add the depends_on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants