cloud-foundation-fabric/tests/modules/net_vpc_peering/examples/route-config.yaml

44 lines
1.5 KiB
YAML

# 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.peering.google_compute_network_peering.local_network_peering:
export_custom_routes: true
export_subnet_routes_with_public_ip: true
import_custom_routes: false
import_subnet_routes_with_public_ip: null
name: name-prefix-vpc-1-vpc-2
network: projects/project-1/global/networks/vpc-1
peer_network: projects/project-1/global/networks/vpc-2
stack_type: IPV4_ONLY
timeouts: null
module.peering.google_compute_network_peering.peer_network_peering[0]:
export_custom_routes: true
export_subnet_routes_with_public_ip: true
import_custom_routes: true
import_subnet_routes_with_public_ip: null
name: name-prefix-vpc-2-vpc-1
network: projects/project-1/global/networks/vpc-2
peer_network: projects/project-1/global/networks/vpc-1
stack_type: IPV4_ONLY
timeouts: null
counts:
google_compute_network_peering: 2
modules: 1
resources: 2
outputs: {}