Skip to content

Commit

Permalink
Revert "Clear members if iam_binding doesn't find a binding (GoogleCl…
Browse files Browse the repository at this point in the history
…oudPlatform#2481)"

This reverts commit 162b78e.
  • Loading branch information
JanMa authored Oct 25, 2019
1 parent 205e8e5 commit 133f181
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/terraform
2 changes: 1 addition & 1 deletion build/terraform-beta
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ func resourceIamBindingRead(newUpdaterFunc newResourceIamUpdaterFunc) schema.Rea
if binding == nil {
log.Printf("[DEBUG]: Binding for role %q not found in policy for %s, assuming it has no members.", eBinding.Role, updater.DescribeResource())
d.Set("role", eBinding.Role)
d.Set("members", nil)
return nil
} else {
d.Set("role", binding.Role)
Expand Down

0 comments on commit 133f181

Please sign in to comment.