alicloud_dns_records

This data source provides a list of DNS Domain Records in an Alibaba Cloud account according to the specified filters.

Example Usage

data "alicloud_dns_records" "records_ds" {
  domain_name       = "xiaozhu.top"
  is_locked         = false
  type              = "A"
  host_record_regex = "^@"
  output_file       = "records.txt"
}

output "first_record_id" {
  value = "${data.alicloud_dns_records.records_ds.records.0.record_id}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported in addition to the arguments listed above: