Resource: yet_cloud_dns_zone
A domain whose records Cloud keeps.
Note: Point the domain's registrar at nameservers: the zone becomes active once they answer for it.
Example Usage
resource "yet_cloud_dns_zone" "acme" {
name = "acme.dev"
}
# Where the registrar has to point.
output "nameservers" {
value = yet_cloud_dns_zone.acme.nameservers
}Schema
Required
name(String) The domain:acme.dev.
Read-Only
id(String) The ID of this resource.nameservers(List of String) Where the domain's registrar has to point.status(String)pendinguntil its nameservers answer for it,activeafter.
Import
In Terraform v1.5.0 and later, with an import block:
import {
to = yet_cloud_dns_zone.acme
id = "01J9Z8K3V7Q2M4N6P8R0S2T4V6"
}With terraform import:
terraform import yet_cloud_dns_zone.acme 01J9Z8K3V7Q2M4N6P8R0S2T4V6