Add network to an existing GCP cloud dns zone via terraform

  Kiến thức lập trình

I am looking at terraform documentation https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/dns_managed_zone, but could not find resource that can help add new networks to existing Cloud DNS zone, similar to AWS aws_route53_zone_association.

I tried to use google_dns_managed_zone to add associate a new network, it fails with resource ‘entity.managedZone’ already exists.
Kindly request for your suggestions on how can this be acheived.

LEAVE A COMMENT