Skip to content

Commit 58ef511

Browse files
enhancement: add type to google_cloud_identity_group_memberships (#8532) (#15398)
Signed-off-by: Modular Magician <[email protected]>
1 parent 40f6910 commit 58ef511

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.changelog/8532.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
add attribute type to google_cloud_identity_group_memberships
3+
```

google/services/cloudidentity/data_source_cloud_identity_group_memberships.go

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func dataSourceGoogleCloudIdentityGroupMembershipsRead(d *schema.ResourceData, m
7070
for _, member := range resp.Memberships {
7171
result = append(result, map[string]interface{}{
7272
"name": member.Name,
73+
"type": member.Type,
7374
"roles": flattenCloudIdentityGroupMembershipsRoles(member.Roles),
7475
"preferred_member_key": flattenCloudIdentityGroupsEntityKey(member.PreferredMemberKey),
7576
})

website/docs/d/cloud_identity_group_membership.html.markdown

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ In addition to the arguments listed above, the following attributes are exported
3333
* `name` -
3434
The resource name of the Membership, of the form groups/{group_id}/memberships/{membership_id}.
3535

36+
* `type` - The type of the membership.
37+
3638
* `roles` - The MembershipRoles that apply to the Membership. Structure is [documented below](#nested_roles).
3739

3840
* `member_key` -

0 commit comments

Comments
 (0)