All Modules
GCPNetworking

Cloud DNS

DNS managed zone with DNSSEC, private zones, and record management

Usage

module "cloud_dns" {
  source = "github.com/fencepencil/gcp-modules//cloud-dns"

  project_id = "<project_id>"
  zone_name = "<zone_name>"
  domain_name = "<domain_name>"

  tags = var.tags
}

Inputs (6)

NameTypeDescriptionDefaultRequired
project_idstringGCP project IDyes
zone_namestringName of the DNS zone resourceyes
domain_namestringDomain name for the zoneyes
enable_dnssecboolEnable DNSSECtrueno
private_zoneboolCreate a private DNS zonefalseno
recordsmap(object)DNS record sets to create{}no

Outputs (3)

NameDescription
zone_idID of the DNS zone
zone_nameName of the DNS zone
name_serversName servers for the zone

More GCP Modules

Browse our full library of GCP infrastructure modules.

View all GCP modules