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:
-
name
- See Argument Reference above. -
domain_id
- See Argument Reference above. -
region
- See Argument Reference above.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/openstack/d/identity_role_v3.html