Provides access to a list of zones within Google Cloud DNS. For more information see the official documentation and API.
data "google_dns_managed_zones" "zones" {
project = "my-project-id"
}
project
- (Optional) The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.The following attributes are exported:
managed_zones
- A list of managed zones.To see the attributes available for each zone in the list, see the singular google_dns_managed_zone data source for details of the available attributes.