google::dns-managed-zone¶
Creates a Managed Zone.
Example¶
google::dns-managed-zone private-managed-zone-example
name: "private-managed-zone-example"
description: "Private Managed Zone Example"
dns-name: "private.example.com."
visibility: "private"
private-visibility-config
network
network: $(google::compute-network managed-zone-network-example)
end
end
end
google::dns-managed-zone public-managed-zone-example
name: "public-managed-zone-example"
description: "Public Managed Zone Example"
dns-name: "p.example.com."
dnssec-config
state: "on"
end
end
Attributes¶
Attribute | 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. (Required) |
dns-name | The DNS name of this managed zone, for instance example.com. . Must be a string ending with a single . at the end. Valid values satisfy the regex: [.+(?<!\\.)\\.\\z] . |
dnssec-config subresource | DNSSEC configuration. Cannot be set if any of
|
forwarding-config subresource | 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. Cannot be set if
|
labels map | User labels. |
name | 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. (Required) |
name-server-set | Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset. |
private-visibility-config subresource | For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. Cannot be set if
|
visibility | The zone’s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. Valid values are private or public . |
Outputs¶
Attribute | Description |
---|---|
name-servers list | Delegate your managed_zone to these virtual name servers. |