selectel_domains_zone_v2
This instruction is a copy of the Selectel Terraform provider's documentation in the Terraform Registry.
Creates and manages a zone in DNS Hosting (actual) using public API v2. For more information about zones, see the official Selectel documentation.
Example usage
resource "selectel_domains_zone_v2" "zone_1" {
name = "example.com."
project_id = selectel_vpc_project_v2.project_1.id
}
Argument Reference
-
name
— (Required) Zone name. Changing this creates a new zone. -
project_id
— (Required) Unique identifier of the associated project. Retrieved from the selectel_vpc_project_v2 resource. Learn more about Projects. -
comment
— (Optional) Comment to add to the zone. -
disabled
— (Optional) Enables or disables the zone. Boolean flag, the default value is false.
Attributes Reference
-
created_at
— Time when the zone was created in the RFC 3339 timestamp format. -
updated_at
— Time when the zone was updated in the RFC 3339 timestamp format. -
delegation_checked_at
— Time when DNS Hosting checked if the zone was delegated to Selectel NS servers in the RFC 3339 timestamp format. -
last_check_status
— Zone status retrieved during the last delegation check. -
last_delegated_at