I have a subnet in GCP, under the default network, called xxx-general
If I try to delete this subnet (as it's no longer required), I get an error:
Failed to delete the subnet. Error: The subnetwork resource 'projects/xxxxx-cloud-network/regions/europe-west2/subnetworks/xxx-general' is already being used by 'projects/xxxxx-cloud-network/regions/europe-west2/addresses/g000001'
Instance g000001 doesn't even exist. I have looked around GCP, at the instances and VPC Network configs etc, but I can't see why this network thinks it's attached to anything.
I have tried creating g000001 and ensuring it's assigned to another subnet, but it doesn't help.
Does anyone know how to delete the subnet?