Use this data source to get the ID of an OpenStack group.
data "openstack_identity_group_v3" "admins" {
name = "admins"
}
name
- The name of the group.
domain_id
- (Optional) The domain the group belongs to.
region
- (Optional) The region in which to obtain the V3 Keystone client.
If omitted, the region
argument of the provider is used.
id
is set to the ID of the found group. In addition, the following attributes
are exported:
name
- See Argument Reference above.domain_id
- See Argument Reference above.region
- See Argument Reference above.description
- A description of the group.