Files
hunfabric/tests/modules/project/examples/shared-vpc-host-project-iam.yaml
Julio Castillo d0c3f04c10 Make service agents work in different universes (#2894)
* Make service agents work in different universes

* Use templatestring and two passes for service agent emails

* Fix tests
2025-02-14 12:16:07 +00:00

113 lines
4.0 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:
module.host-project.google_compute_shared_vpc_host_project.shared_vpc_host[0]:
project: test-host
timeouts: null
module.host-project.google_project.project[0]:
auto_create_network: false
billing_account: 123456-123456-123456
deletion_policy: 'DELETE'
folder_id: '1122334455'
labels: null
name: test-host
org_id: null
project_id: test-host
timeouts: null
module.service-project.google_compute_shared_vpc_service_project.shared_vpc_service[0]:
deletion_policy: null
host_project: test-host
service_project: test-service
timeouts: null
module.service-project.google_org_policy_policy.default["compute.restrictSharedVpcSubnetworks"]:
dry_run_spec: []
name: projects/test-service/policies/compute.restrictSharedVpcSubnetworks
parent: projects/test-service
spec:
- inherit_from_parent: null
reset: null
rules:
- allow_all: null
condition: []
deny_all: null
enforce: null
values:
- allowed_values:
- projects/host/regions/europe-west1/subnetworks/prod-default-ew1
denied_values: null
timeouts: null
module.service-project.google_project.project[0]:
auto_create_network: false
billing_account: 123456-123456-123456
deletion_policy: 'DELETE'
folder_id: '1122334455'
labels: null
name: test-service
org_id: null
project_id: test-service
timeouts: null
module.service-project.google_project_iam_member.service_agents["container-engine-robot"]:
condition: []
project: test-service
role: roles/container.serviceAgent
module.service-project.google_project_iam_member.service_agents["gkenode"]:
condition: []
project: test-service
role: roles/container.defaultNodeServiceAgent
module.service-project.google_project_iam_member.shared_vpc_host_iam["group:organization-admins@example.org"]:
condition: []
member: group:organization-admins@example.org
project: test-host
role: roles/compute.networkUser
module.service-project.google_project_iam_member.shared_vpc_host_robots["roles/compute.networkUser:cloudservices"]:
condition: []
project: test-host
role: roles/compute.networkUser
module.service-project.google_project_iam_member.shared_vpc_host_robots["roles/compute.networkUser:container"]:
condition: []
project: test-host
role: roles/compute.networkUser
module.service-project.google_project_iam_member.shared_vpc_host_robots["roles/compute.securityAdmin:container"]:
condition: []
project: test-host
role: roles/compute.securityAdmin
module.service-project.google_project_iam_member.shared_vpc_host_robots["roles/container.hostServiceAgentUser:container"]:
condition: []
project: test-host
role: roles/container.hostServiceAgentUser
module.service-project.google_project_service.project_services["container.googleapis.com"]:
disable_dependent_services: false
disable_on_destroy: false
project: test-service
service: container.googleapis.com
timeouts: null
module.service-project.google_project_service_identity.default["container.googleapis.com"]:
project: test-service
service: container.googleapis.com
timeouts: null
counts:
google_compute_shared_vpc_host_project: 1
google_compute_shared_vpc_service_project: 1
google_org_policy_policy: 1
google_project: 2
google_project_iam_member: 7
google_project_service: 1
google_project_service_identity: 1
modules: 2
resources: 14
outputs: {}