alicloud_alb_acl_entry_attachment

For information about acl entry attachment and how to use it, see Configure an acl entry.

Example Usage

variable "name" {
  default = "tf_example"
}
data "alicloud_resource_manager_resource_groups" "default" {}

resource "alicloud_alb_acl" "default" {
  acl_name          = var.name
  resource_group_id = data.alicloud_resource_manager_resource_groups.default.groups.0.id
}

resource "alicloud_alb_acl_entry_attachment" "default" {
  acl_id      = alicloud_alb_acl.default.id
  entry       = "168.10.10.0/24"
  description = var.name
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

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

Import

Acl entry attachment can be imported using the id, e.g.

$ terraform import alicloud_alb_acl_entry_attachment.example <acl_id>:<entry>