google_dns_record_set

Get a DNS record set within Google Cloud DNS For more information see the official documentation and API

Example Usage

data "google_dns_managed_zone" "sample" {
  name = "sample-zone"
}

data "google_dns_record_set" "rs" {
  managed_zone = data.google_dns_managed_zone.sample.name
  name = "my-record.${data.google_dns_managed_zone.sample.dns_name}"
  type = "A"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: