google_dns_managed_zone

Provides access to a zone's attributes within Google Cloud DNS. For more information see the official documentation and API.

data "google_dns_managed_zone" "env_dns_zone" {
  name = "qa-zone"
}

resource "google_dns_record_set" "dns" {
  name = "my-address.${data.google_dns_managed_zone.env_dns_zone.dns_name}"
  type = "TXT"
  ttl  = 300

  managed_zone = data.google_dns_managed_zone.env_dns_zone.name

  rrdatas = ["test"]
}

Argument Reference

Attributes Reference

The following attributes are exported: