'Terraform code for GCP Cloud DNS A recordset - Geo Based Routing

I'm trying to create a dns recordset with geo based routing policy that will be managed by terraform. Please can anyone share a sample code for the same.



Solution 1:[1]

Terraform does not support Google Cloud DNS Routing Policies at this time.

The Terraform google_dns_record_set has not been extended to support routing policy.

google_dns_record_set

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 John Hanley