# Copyright 2022 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: my-host-project
  module.host-project.google_project.project[0]:
    project_id: my-host-project
  module.service-project.google_compute_shared_vpc_service_project.shared_vpc_service[0]:
    host_project: my-host-project
    service_project: my-service-project
  module.service-project.google_project.project[0]:
    project_id: my-service-project
  module.service-project.google_project_iam_member.shared_vpc_host_robots["roles/compute.networkUser:cloudservices"]:
    condition: []
    project: my-host-project
    role: roles/compute.networkUser
  module.service-project.google_project_iam_member.shared_vpc_host_robots["roles/compute.networkUser:container-engine"]:
    condition: []
    project: my-host-project
    role: roles/compute.networkUser
  module.service-project.google_project_iam_member.shared_vpc_host_robots["roles/container.hostServiceAgentUser:container-engine"]:
    condition: []
    project: my-host-project
    role: roles/container.hostServiceAgentUser
  module.service-project.google_project_iam_member.shared_vpc_host_robots["roles/vpcaccess.user:cloudrun"]:
    condition: []
    project: my-host-project
    role: roles/vpcaccess.user

counts:
  google_compute_shared_vpc_host_project: 1
  google_compute_shared_vpc_service_project: 1
  google_project: 2
  google_project_iam_member: 4
