Enable users to see 'derived' memberships of Google groups in a new data source similar to google_cloud_identity_group_memberships
#18128
Milestone
google_cloud_identity_group_memberships
#18128
Community Note
Description
(Opened on behalf of a customer)
The google_cloud_identity_group_membership data source helps user retrieve the members of a given Google Group. Groups can be members of groups, and currently that data source will show that group among the list of members. Any individuals how have membership of a group via another group are not explicitly named.
For example,
google_cloud_identity_group_membership
would not list User X as an explicit member of Group A from the diagram below:The cloud identity API has an endpoint called searchTransitiveMemberships (https://cloud.google.com/identity/docs/reference/rest/v1/groups.memberships/searchTransitiveMemberships) that would enable getting the list of all 'indirect' members of a group. The response from this API lists members of a given group and notes whether
"relationType": "DIRECT"
or"relationType": "INDIRECT"
for each member found.Using the diagram above, the new
google_cloud_identity_group_transative_memberships
data source (when provided Group A as an argument) would list Group B as a DIRECT member of Group A, and User X as an INDIRECT member of Group A.New or Affected Resource(s)
Potential Terraform Configuration
References
No response
b/343221192
The text was updated successfully, but these errors were encountered: