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

Attributes Reference

id is set to the ID of the found role. In addition, the following attributes are exported: