alicloud_dns_record

Provides a DNS Record resource.

Example Usage

# Create a new Domain record
resource "alicloud_dns_record" "record" {
  name        = "domainname"
  host_record = "@"
  type        = "A"
  value       = "192.168.99.99"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

RDS record can be imported using the id, e.g.

$ terraform import alicloud_dns_record.example <id>