gcp_dns_managed_zone

ancestors

Type: UNORDERED_LIST_STRING

cloud_logging_config

Type: STRUCT
Provider name: cloudLoggingConfig

  • enable_logging
    Type: BOOLEAN
    Provider name: enableLogging
    Description: If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
  • kind
    Type: STRING
    Provider name: kind

creation_time

Type: TIMESTAMP
Provider name: creationTime
Description: The time that this resource was created on the server. This is in RFC3339 text format. Output only.

description

Type: STRING
Provider name: description
Description: A mutable string of at most 1024 characters associated with this resource for the user’s convenience. Has no effect on the managed zone’s function.

dns_name

Type: STRING
Provider name: dnsName
Description: The DNS name of this managed zone, for instance “example.com.”.

dnssec_config

Type: STRUCT
Provider name: dnssecConfig
Description: DNSSEC configuration.

  • default_key_specs
    Type: UNORDERED_LIST_STRUCT
    Provider name: defaultKeySpecs
    Description: Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
    • algorithm
      Type: STRING
      Provider name: algorithm
      Description: String mnemonic specifying the DNSSEC algorithm of this key.
      Possible values:
      • rsasha1
      • rsasha256
      • rsasha512
      • ecdsap256sha256
      • ecdsap384sha384
    • key_length
      Type: INT32
      Provider name: keyLength
      Description: Length of the keys in bits.
    • key_type
      Type: STRING
      Provider name: keyType
      Description: Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
      Possible values:
      • keySigning
      • zoneSigning
    • kind
      Type: STRING
      Provider name: kind
  • kind
    Type: STRING
    Provider name: kind
  • non_existence
    Type: STRING
    Provider name: nonExistence
    Description: Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
    Possible values:
    • nsec
    • nsec3
  • state
    Type: STRING
    Provider name: state
    Description: Specifies whether DNSSEC is enabled, and what mode it is in.
    Possible values:
    • off - DNSSEC is disabled; the zone is not signed.
    • on - DNSSEC is enabled; the zone is signed and fully managed.
    • transfer - DNSSEC is enabled, but in a ’transfer’ mode.

forwarding_config

Type: STRUCT
Provider name: forwardingConfig
Description: The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.

  • kind
    Type: STRING
    Provider name: kind
  • target_name_servers
    Type: UNORDERED_LIST_STRUCT
    Provider name: targetNameServers
    Description: List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
    • forwarding_path
      Type: STRING
      Provider name: forwardingPath
      Description: Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
      Possible values:
      • default - Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet
      • private - Cloud DNS always forwards to this target through the VPC.
    • ipv4_address
      Type: STRING
      Provider name: ipv4Address
      Description: IPv4 address of a target name server.
    • ipv6_address
      Type: STRING
      Provider name: ipv6Address
      Description: IPv6 address of a target name server. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
    • kind
      Type: STRING
      Provider name: kind

id

Type: STRING
Provider name: id
Description: Unique identifier for the resource; defined by the server (output only)

kind

Type: STRING
Provider name: kind

labels

Type: UNORDERED_LIST_STRING

name

Type: STRING
Provider name: name
Description: User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.

name_server_set

Type: STRING
Provider name: nameServerSet
Description: Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team.

name_servers

Type: UNORDERED_LIST_STRING
Provider name: nameServers
Description: Delegate your managed_zone to these virtual name servers; defined by the server (output only)

organization_id

Type: STRING

parent

Type: STRING

peering_config

Type: STRUCT
Provider name: peeringConfig
Description: The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.

  • kind
    Type: STRING
    Provider name: kind
  • target_network
    Type: STRUCT
    Provider name: targetNetwork
    Description: The network with which to peer.
    • deactivate_time
      Type: STRING
      Provider name: deactivateTime
      Description: The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.
    • kind
      Type: STRING
      Provider name: kind
    • network_url
      Type: STRING
      Provider name: networkUrl
      Description: The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}

private_visibility_config

Type: STRUCT
Provider name: privateVisibilityConfig
Description: For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.

  • gke_clusters
    Type: UNORDERED_LIST_STRUCT
    Provider name: gkeClusters
    Description: The list of Google Kubernetes Engine clusters that can see this zone.
  • kind
    Type: STRING
    Provider name: kind
  • networks
    Type: UNORDERED_LIST_STRUCT
    Provider name: networks
    Description: The list of VPC networks that can see this zone.

project_id

Type: STRING

project_number

Type: STRING

resource_name

Type: STRING

reverse_lookup_config

Type: STRUCT
Provider name: reverseLookupConfig
Description: The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.

  • kind
    Type: STRING
    Provider name: kind

service_directory_config

Type: STRUCT
Provider name: serviceDirectoryConfig
Description: This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.

  • kind
    Type: STRING
    Provider name: kind
  • namespace
    Type: STRUCT
    Provider name: namespace
    Description: Contains information about the namespace associated with the zone.

tags

Type: UNORDERED_LIST_STRING

visibility

Type: STRING
Provider name: visibility
Description: The zone’s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
Possible values:

  • public
  • private