alicloud_ecs_prefix_list

Provides a ECS Prefix List resource.

For information about ECS Prefix List and how to use it, see What is Prefix List..

Example Usage

Basic Usage

resource "alicloud_ecs_prefix_list" "default" {
  address_family   = "IPv4"
  max_entries      = 2
  prefix_list_name = "tftest"
  description      = "description"
  entry {
    cidr        = "192.168.0.0/24"
    description = "description"
  }
}

Argument Reference

The following arguments are supported:

entry

The entry supports the following:

Attributes Reference

The following attributes are exported:

Import

ECS Prefix List can be imported using the id, e.g.

$ terraform import alicloud_ecs_prefix_list.example <id>