alicloud_dns_domains

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

Example Usage

data "alicloud_dns_domains" "domains_ds" {
  domain_name_regex = "^hegu"
  output_file       = "domains.txt"
}

output "first_domain_id" {
  value = "${data.alicloud_dns_domains.domains_ds.domains.0.domain_id}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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