Skip to content

Commit

Permalink
Fix how conditions are handled in google_bigtable_instance_iam_* re…
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahFrench authored and niharika-98 committed Oct 7, 2024
1 parent 0ed0388 commit 5c4f836
Show file tree
Hide file tree
Showing 3 changed files with 296 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ func BigtableInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.C
}

func (u *BigtableInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error) {
req := &bigtableadmin.GetIamPolicyRequest{}

req := &bigtableadmin.GetIamPolicyRequest{
Options: &bigtableadmin.GetPolicyOptions{
RequestedPolicyVersion: tpgiamresource.IamPolicyVersion,
},
}
userAgent, err := tpgresource.GenerateUserAgentString(u.d, u.Config.UserAgent)
if err != nil {
return nil, err
Expand Down
Loading

0 comments on commit 5c4f836

Please sign in to comment.