Skip to content

Commit 45c4cc2

Browse files
Fix google_identity_group. (#3996) (#2507)
* This resource has a newly-mandatory enum field. The enum has only one possible value and seems to be required in all cases. This broke all existing terraform customers - and likely all API clients. It has not been fixed in the autogenerated API tools, and it is not reflected in the docs. I have reached out to the team to see if there is a possibility of fixing the existing customers. Signed-off-by: Modular Magician <[email protected]>
1 parent d0d58a7 commit 45c4cc2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/3996.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
Fixed upstream breakage of `google_identity_group`.
3+
```

google-beta/resource_cloud_identity_group.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func resourceCloudIdentityGroupCreate(d *schema.ResourceData, meta interface{})
167167
obj["labels"] = labelsProp
168168
}
169169

170-
url, err := replaceVars(d, config, "{{CloudIdentityBasePath}}groups")
170+
url, err := replaceVars(d, config, "{{CloudIdentityBasePath}}groups?initialGroupConfig=EMPTY")
171171
if err != nil {
172172
return err
173173
}

0 commit comments

Comments
 (0)