Files
hunfabric/tests/modules/organization/iam_by_principals_additive.yaml
Julio Castillo 7eff7b19dc Add iam_by_principals_additive to project, organization and folder modules (#2814)
* First attempt at iam_by_principals_additive

* Remove validation

* Update IAM ADR

* Apply to organization and project modules

* Update READMEs

* Add tests

* Remove "cycle errors"
2025-01-14 12:32:19 +00:00

40 lines
1.3 KiB
YAML

# Copyright 2025 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:
google_organization_iam_member.bindings["iam-bpa:user:user1@example.com-role1"]:
condition: []
member: user:user1@example.com
org_id: '1234567890'
role: role1
google_organization_iam_member.bindings["iam-bpa:user:user1@example.com-role2"]:
condition: []
member: user:user1@example.com
org_id: '1234567890'
role: role2
google_organization_iam_member.bindings["iam-bpa:user:user2@example.com-role2"]:
condition: []
member: user:user2@example.com
org_id: '1234567890'
role: role2
google_organization_iam_member.bindings["iam-bpa:user:user2@example.com-role3"]:
condition: []
member: user:user2@example.com
org_id: '1234567890'
role: role3
counts:
google_organization_iam_member: 4
resources: 4