文档

alicloud_dns_domain_attachment

更新时间:
一键部署

Provides bind the domain name to the DNS instance resource.

-> NOTE: Available in v1.80.0+.

-> DEPRECATED: This resource has been deprecated from version 1.99.0. Please use new resource alicloud_alidns_domain_attachment.

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:

  • instance_id - (Required, ForceNew) The id of the DNS instance.
  • domain_names - (Required) The domain names bound to the DNS instance.

Attributes Reference

The following attributes are exported:

  • id - This ID of this resource. The value is same as instance_id.
  • domain_names - Domain names bound to DNS instance.

Import

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

$ terraform import alicloud_dns_domain_attachment.example dns-cn-v0h1ldjhxxx

  • 本页导读 (0)
文档反馈