» openstack_identity_role_v3
Use this data source to get the ID of an OpenStack role.
» Example Usage
data "openstack_identity_role_v3" "admin" {
name = "admin"
}
» Argument Reference
-
name
- The name of the role. -
domain_id
- (Optional) The domain the role belongs to. -
region
- (Optional) The region in which to obtain the V3 Keystone client. If omitted, theregion
argument of the provider is used.
» Attributes Reference
id
is set to the ID of the found role. In addition, the following attributes
are exported: