-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add requested policy version to folder IAM GET * Add conditions test * Skip apigee failures in VCR Signed-off-by: Modular Magician <[email protected]>
- Loading branch information
1 parent
4cf5036
commit 96fe837
Showing
4 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
resourcemanager: fixed an inconsistent result when IAM conditions are specified with `google_folder_iam_*` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,5 +153,16 @@ resource "google_folder_iam_member" "multiple" { | |
member = "user:[email protected]" | ||
role = "roles/compute.instanceAdmin" | ||
} | ||
resource "google_folder_iam_member" "condition" { | ||
folder = google_folder.acceptance.name | ||
member = "user:[email protected]" | ||
role = "roles/compute.instanceAdmin" | ||
condition { | ||
title = "expires_after_2019_12_31" | ||
description = "Expiring at midnight of 2019-12-31" | ||
expression = "request.time < timestamp(\"2020-01-01T00:00:00Z\")" | ||
} | ||
} | ||
`, org, fname) | ||
} |