Retrieve a list of ACL Policies.
data "nomad_acl_policies" "example" {
prefix = "prod"
}
The following arguments are supported:
prefix
: (string)
An optional string to filter ACL policies based on name prefix. If not provided, all policies are returned. The following attributes are exported:
policies
: list of maps
a list of ACL policies.
name
(string)
- the name of the ACL Policy.description
(string)
- the description of the ACL Policy.