alicloud_dns

Provides a DNS resource.

Example Usage

# Add a new Domain.
resource "alicloud_dns" "dns" {
  name     = "starmove.com"
  group_id = "85ab8713-4a30-4de4-9d20-155ff830f651"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

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

$ terraform import alicloud_dns.example "aliyun.com"