The consul_acl_role
data source returns the information related to a Consul ACL Role.
data "consul_acl_role" "test" {
name = "example-role"
}
output "consul_acl_role" {
value = data.consul_acl_role.test.id
}
name
(String) The name of the ACL Role.namespace
(String) The namespace to lookup the role.partition
(String) The partition to lookup the role.description
(String) The description of the ACL Role.id
(String) The ID of this resource.node_identities
(List of Object) The list of node identities associated with the ACL Role. (see below for nested schema)policies
(List of Object) The list of policies associated with the ACL Role. (see below for nested schema)service_identities
(List of Object) The list of service identities associated with the ACL Role. (see below for nested schema)templated_policies
(List of Object) The list of templated policies that should be applied to the token. (see below for nested schema)node_identities
Read-Only:
datacenter
(String)node_name
(String)policies
Read-Only:
id
(String)name
(String)service_identities
Read-Only:
datacenters
(Set of String)service_name
(String)templated_policies
Read-Only:
datacenters
(List of String)template_name
(String)template_variables
(List of Object) (see below for nested schema)templated_policies.template_variables
Read-Only:
name
(String)