Skip to main content
Providers

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.

NameTypeDefaultRequiredDescription
managedZonestring—NoThe managed zone name this record belongs to
namestring—NoThe fully qualified domain name (must end with a dot)
typestring—NoThe DNS record type Allowed: "A", "AAAA", "CNAME", "MX", "TXT", "NS", "SOA", "SRV", "CAA", "PTR", "SPF"
ttlnumber—NoThe TTL (time to live) in seconds
rrdatasany[]—NoThe record data values

On this page