ResourceRecordSet
A resource of the GCP provider, version 0.2.0, in its DNS group. Import it with:
import ResourceRecordSet from "gcp/dns"Example
resource ResourceRecordSet example {
managedZone = "example-value"
name = "example-value"
type = "A"
ttl = 3.14
rrdatas = "..."
}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 |
|---|---|---|---|---|
managedZone | string | — | No | The managed zone name this record belongs to |
name | string | — | No | The fully qualified domain name (must end with a dot) |
type | string | — | No | The DNS record type Allowed: "A", "AAAA", "CNAME", "MX", "TXT", "NS", "SOA", "SRV", "CAA", "PTR", "SPF" |
ttl | number | — | No | The TTL (time to live) in seconds |
rrdatas | any[] | — | No | The record data values |