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)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
project_id | string | GCP project ID | — | yes |
zone_name | string | Name of the DNS zone resource | — | yes |
domain_name | string | Domain name for the zone | — | yes |
enable_dnssec | bool | Enable DNSSEC | true | no |
private_zone | bool | Create a private DNS zone | false | no |
records | map(object) | DNS record sets to create | {} | no |
Outputs (3)
| Name | Description |
|---|---|
zone_id | ID of the DNS zone |
zone_name | Name of the DNS zone |
name_servers | Name servers for the zone |