alicloud_alidns_custom_line

Provides a Alidns Custom Line resource.

For information about Alidns Custom Line and how to use it, see What is Custom Line.

Example Usage

Basic Usage

resource "alicloud_alidns_custom_line" "default" {
  custom_line_name = "tf-example"
  domain_name      = "alicloud-provider.com"
  ip_segment_list {
    start_ip = "192.0.2.123"
    end_ip   = "192.0.2.125"
  }
}

Argument Reference

The following arguments are supported:

ip_segment_list

The ip_segment_list supports the following:

Attributes Reference

The following attributes are exported:

Import

Alidns Custom Line can be imported using the id, e.g.

$ terraform import alicloud_alidns_custom_line.example <id>