This module allows simple management of Google Cloud DNS zones and records. It supports creating public, private, forwarding, peering and service directory based zones.
For DNSSEC configuration, refer to the [`dns_managed_zone` documentation](https://www.terraform.io/docs/providers/google/r/dns_managed_zone.html#dnssec_config).
{ name = "localhost", type = "A", ttl = 300, records = ["127.0.0.1"] }
]
}
```
<!-- BEGIN TFDOC -->
## Variables
| name | description | type | required | default |
|---|---|:---: |:---:|:---:|
| domain | Zone domain, must end with a period. | <codetitle="">string</code> | ✓ | |
| name | Zone name, must be unique within the project. | <codetitle="">string</code> | ✓ | |
| project_id | Project id for the zone. | <codetitle="">string</code> | ✓ | |
| *client_networks* | List of VPC self links that can see this zone. | <codetitle="list(string)">list(string)</code> | | <codetitle="">[]</code> |
| *forwarders* | List of target name servers, only valid for 'forwarding' zone types. | <codetitle="list(string)">list(string)</code> | | <codetitle="">[]</code> |
| *recordsets* | List of DNS record objects to manage. | <codetitle="list(object({ name = string type = string ttl = number records = list(string) }))">list(object({...}))</code> | | <codetitle="">[]</code> |
| *service_directory_namespace* | Service directory namespace id (URL), only valid for 'service-directory' zone types. | <codetitle="">string</code> | | <codetitle="">null</code> |
| *type* | Type of zone to create, valid values are 'public', 'private', 'forwarding', 'peering', 'service-directory'. | <codetitle="">string</code> | | <codetitle="">private</code> |
| *zone_create* | Create zone. When set to false, uses a data source to reference existing project. | <codetitle="">bool</code> | | <codetitle="">true</code> |