This data source provides Sag Acls available to the user.
Basic Usage
data "alicloud_sag_acls" "default" {
ids = ["${alicloud_sag_acls.default.id}"]
name_regex = "^tf-testAcc.*"
}
resource "alicloud_sag_acl" "default" {
name = "tf-testAccSagAclName"
}
The following arguments are supported:
ids
- (Optional) A list of Sag Acl IDs.name_regex
- (Optional) A regex string to filter Sag Acl instances by name.The following attributes are exported in addition to the arguments listed above:
ids
- A list of Sag Acl IDs.names
- A list of Sag Acls names. acls
- A list of Sag Acls. Each element contains the following attributes:
id
- The ID of the ACL. For example "acl-xxx".name
- The name of the Acl.