Files
hunfabric/tests/modules/folder/examples/iam-bpc.yaml
Julio Castillo cff8a25c59 Introduce iam_by_principals_conditional (#3649)
* Introduce iam_by_principals_conditional

* Add iam_by_principals_conditional to project factory

* Update IAM ADR

* Update project factory readme

* Sync FAST schemas

* Update organization schema

* Add resman tests for iam_by_principals_conditional

* Update PF project-defaults.tf

* Update copyright
2026-01-14 11:16:07 +00:00

48 lines
1.5 KiB
YAML

# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.folder.google_folder.folder[0]:
deletion_protection: false
display_name: Folder name
parent: folders/1122334455
tags: null
timeouts: null
module.folder.google_folder_iam_binding.bindings["iam-bpc:roles/owner-expires_after_2024_12_31"]:
condition:
- description: Expiring at midnight of 2024-12-31
expression: request.time < timestamp("2025-01-01T00:00:00Z")
title: expires_after_2024_12_31
members:
- user:one@example.com
- user:two@example.com
role: roles/owner
module.folder.google_folder_iam_binding.bindings["iam-bpc:roles/viewer-expires_after_2024_12_31"]:
condition:
- description: Expiring at midnight of 2024-12-31
expression: request.time < timestamp("2025-01-01T00:00:00Z")
title: expires_after_2024_12_31
members:
- user:one@example.com
- user:two@example.com
role: roles/viewer
counts:
google_folder: 1
google_folder_iam_binding: 2
modules: 1
resources: 3
outputs: {}