We have created DNS zones in GCP and deleted the zone but we are unable to delete “CustomerDnszone” resource type mapped to VCN which is created default with DNS zone.
When we tried to delete manually from console it is throwing error as " Deletion action is not supported for this resource type" can anyone help us how to delete if you face similar issue.
1 Like
Hi @sreekanthGCP ,
You can try deleting the resource using gcloud commands (command-line interface). Sometimes, certain operations can be performed more effectively through the command line. Use the command below:
gcloud dns managed-zones delete ZONE_NAME --project=PROJECT_ID
Double check if the account you’re using to delete has the right permissions for removing the “CustomerDnszone” resource. This involves having the correct roles for Cloud DNS.
If the CLI does not work, you might try using the REST API directly.
Hope this helps.