# Copyright 2023 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.vpc.google_compute_global_address.psa_ranges["myrange"]:
    address: 10.0.1.0
    address_type: INTERNAL
    name: myrange
    prefix_length: 24
    project: my-project
    purpose: VPC_PEERING
  module.vpc.google_compute_network.network[0]:
    name: my-network
    project: my-project
  module.vpc.google_compute_network_peering_routes_config.psa_routes["1"]:
    export_custom_routes: false
    import_custom_routes: false
    project: my-project
  module.vpc.google_compute_subnetwork.subnetwork["europe-west1/production"]:
    ip_cidr_range: 10.0.0.0/24
    name: production
    project: my-project
  module.vpc.google_service_networking_connection.psa_connection["1"]:
    reserved_peering_ranges:
    - myrange
    service: servicenetworking.googleapis.com

counts:
  google_compute_global_address: 1
  google_compute_network: 1
  google_compute_network_peering_routes_config: 1
  google_compute_subnetwork: 1
  google_service_networking_connection: 1

outputs: {}
