alicloud_pvtz_zone_record

Provides a Private Zone Record resource.

Example Usage

Basic Usage

resource "alicloud_pvtz_zone" "zone" {
  name = "foo.test.com"
}

resource "alicloud_pvtz_zone_record" "foo" {
  zone_id = alicloud_pvtz_zone.zone.id
  rr      = "www"
  type    = "CNAME"
  value   = "bbb.test.com"
  ttl     = 60
}

Argument Reference

The following arguments are supported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Attributes Reference

The following attributes are exported:

Import

Private Zone Record can be imported using the id, e.g.

$ terraform import alicloud_pvtz_zone_record.example abc123456