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 Oct 2, 2024
1 parent 6637e26 commit 54afca9
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 54afca9

Please sign in to comment.