» alicloud_dns_instances

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

» Example Usage

data "alicloud_dns_instances" "example" {
  ids = ["dns-cn-oew1npk****"]
output "first_instance_id" {
  value = "${data.alicloud_dns_instances.example.instances.0.id}"

» Argument Reference

The following arguments are supported:

  • ids - (Optional) A list of instance IDs.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).

» Attributes Reference

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