alicloud_dns_domain

Provides a DNS domain resource.

Example Usage

# Add a new Domain.
resource "alicloud_dns_domain" "dns" {
  domain_name = "starmove.com"
  group_id    = "85ab8713-4a30-4de4-9d20-155ff830****"
  tags = {
    Created     = "Terraform"
    Environment = "test"
  }
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

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

$ terraform import alicloud_dns_domain.example aliyun.com