Google Cloud Platform Peered Dns Domain

This page shows how to write Terraform for Cloud Platform Peered Dns Domain and write them securely.

google_service_networking_peered_dns_domain (Terraform)

The Peered Dns Domain in Cloud Platform can be configured in Terraform with the resource name google_service_networking_peered_dns_domain. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

The following arguments are supported:

  • project - (Optional) The producer project number. If not provided, the provider project is used.

  • name - (Required) Internal name used for the peered DNS domain.

  • network - (Required) The network in the consumer project.

  • dns_suffix - (Required) The DNS domain suffix of the peered DNS domain. Make sure to suffix with a . (dot).

  • service - (Optional) Private service connection between service and consumer network, defaults to servicenetworking.googleapis.com

In addition to the arguments listed above, the following computed attributes are exported:

  • id - an identifier for the resource with format services/[[service]]/projects/[[project]]/global/networks/[[network]]/peeredDnsDomains/[[name]]

  • parent - an identifier for the resource with format services/[[service]]/projects/[[project]]/global/networks/[[network]]

Explanation in Terraform Registry

Allows management of a single peered DNS domain for an existing Google Cloud Platform project. When using Google Cloud DNS to manage internal DNS, create peered DNS domains to make your DNS available to services like Google Cloud Build.

Frequently asked questions

What is Google Cloud Platform Peered Dns Domain?

Google Cloud Platform Peered Dns Domain is a resource for Cloud Platform of Google Cloud Platform. Settings can be wrote in Terraform.

security-icon

Scan your IaC problem in 3 minutes for free

You can keep your IaC security for free. No credit card required.