alicloud_dns_domain_attachment

Provides bind the domain name to the DNS instance resource.

Example Usage

resource "alicloud_dns_domain_attachment" "dns" {
  instance_id  = "dns-cn-mp91lyq9xxxx"
  domain_names = ["test111.abc", "test222.abc"]
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

DNS domain attachment can be imported using the id, e.g.

$ terraform import alicloud_dns_domain_attachment.example dns-cn-v0h1ldjhxxx