ManagedZone
A resource of the GCP provider, version 0.2.0, in its DNS group. Import it with:
import ManagedZone from "gcp/dns"Example
resource ManagedZone example {
name = "example-value"
dnsName = "example-value"
description = "example-value"
labels = "..."
}Properties
Set by your code in the resource block. A required one must be set; any other you leave out takes the value under Default, if it has one.
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
name | string | — | No | The name of the managed zone (must be unique within the project) |
dnsName | string | — | No | The DNS name of the zone (must end with a dot, e.g., 'example.com.') |
description | string | — | No | A description for the managed zone |
labels | object | — | No | Labels to apply to the managed zone |
Set by GCP after the resource is created: your code can read them but not set them. An importable one identifies an existing resource.
| Name | Type | Importable | Description |
|---|---|---|---|
managedZoneId | string | Yes | The unique managed zone ID assigned by GCP |
nameServers | any[] | No | The name servers assigned to this managed zone |
creationTime | string | No | The creation time of the managed zone |