When trying to delete the default network from a google cloud project using the following command: gcloud compute networks delete default

The following error is returned:

`ERROR: (gcloud.compute.networks.delete) Could not fetch resource:
 - The network resource 'projects/<PROJECT-NAME>/global/networks/default' 
is already being used by 'projects/<PROJECT-NAME>/global/addresses/google- 

How can this be resolved?


My bad gcloud compute addresses list revealed the the resource and gcloud compute addresses delete google-managed-services-default deleted it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.