I am unable to delete an unused VPC network. When I try to delete it, it says:
"Operation type [delete] failed with message “The network resource ‘projects/REDACTED/global/networks/REDACTED’ is already being used by 'projects/REDACTED/global/networkInstances/v-REDACTED-3908-41cc-b89d-ed66edb128fa”
I did tried to delete the VPC first though before trying to clean up firewall rules, and other things that might be related to it. Now after doing the clean up, I’m still unable to delete it.
It was the VPC used by our cloud functions to call services from our Kubernetes cluster (via Serverless VPC Connector). Our cloud functions don’t use the VPC connector anymore. In addition to that, the cluster and that VPC connector has long been gone.