Data source selectel_domains_zone_v2
This guide is a copy of the Selectel Terraform provider documentation in the Terraform Registry.
Provides information about a zone in Selectel DNS Hosting (actual) . For more information about zones, see the official Selectel documentation.
Usage Example
data "selectel_domains_zone_v2" "zone_1" {
name = "example.com."
project_id = selectel_vpc_project_v2.project_1.id
}
Argument Reference
-
name- (Required) Zone name. -
project_id- (Required) Unique identifier of the associated project. Retrieved from the selectel_vpc_project_v2 resource. Learn more about Projects.
Attribute Reference
-
comment- Comment for the zone. -
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- Equals to thedelegation_check_atargument value when thelast_check_statusistrue. -
disabled- Shows if the zone is enabled or disabled.