alicloud_slb_acl_entry_attachment
更新时间:
-> NOTE: Available in v1.162.0+.
-> NOTE: The maximum number of entries per acl is 300.
For information about acl entry attachment and how to use it, see Configure an acl entry.
Example Usage
resource "alicloud_slb_acl" "attachment" {
name = "forSlbAclEntryAttachment"
ip_version = "ipv4"
}
resource "alicloud_slb_acl_entry_attachment" "attachment" {
acl_id = alicloud_slb_acl.attachment.id
entry = "168.10.10.0/24"
comment = "second"
}
Argument Reference
The following arguments are supported:
acl_id
- (Required, ForceNew) The ID of the Acl.entry
- (Required, ForceNew) The CIDR blocks.comment
- (Optional, ForceNew) The comment of the entry.
Attributes Reference
The following attributes are exported:
id
- The ID of the resource. The value formats as<acl_id>:<entry>
.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 5 mins) Used when create the resource.delete
- (Defaults to 5 mins) Used when delete the resource.
Import
Acl entry attachment can be imported using the id, e.g.
$ terraform import alicloud_slb_acl_entry_attachment.example <acl_id>:<entry>
文档内容是否对您有帮助?