cloud-foundation-fabric/tests/modules/net_vpn_ha/examples/ipv6.yaml

136 lines
4.2 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.vpn_ha.google_compute_external_vpn_gateway.external_gateway["default"]:
description: Terraform managed external VPN gateway
interface:
- id: 0
ip_address: 8.8.8.8
labels: null
name: mynet-to-onprem-default
project: project-id
redundancy_type: SINGLE_IP_INTERNALLY_REDUNDANT
module.vpn_ha.google_compute_ha_vpn_gateway.ha_gateway[0]:
description: Terraform managed external VPN gateway
name: mynet-to-onprem
network: projects/xxx/global/networks/aaa
project: project-id
region: region
stack_type: IPV4_IPV6
module.vpn_ha.google_compute_router.router[0]:
bgp:
- advertise_mode: DEFAULT
advertised_groups: []
advertised_ip_ranges: []
asn: 64514
keepalive_interval: 20
description: null
encrypted_interconnect_router: null
name: vpn-mynet-to-onprem
network: projects/xxx/global/networks/aaa
project: project-id
region: region
module.vpn_ha.google_compute_router_interface.router_interface["remote-0"]:
interconnect_attachment: null
ip_range: 169.254.1.2/30
name: mynet-to-onprem-remote-0
private_ip_address: null
project: project-id
region: region
router: vpn-mynet-to-onprem
subnetwork: null
vpn_tunnel: mynet-to-onprem-remote-0
module.vpn_ha.google_compute_router_interface.router_interface["remote-1"]:
interconnect_attachment: null
ip_range: 169.254.2.2/30
name: mynet-to-onprem-remote-1
private_ip_address: null
project: project-id
region: region
router: vpn-mynet-to-onprem
subnetwork: null
vpn_tunnel: mynet-to-onprem-remote-1
module.vpn_ha.google_compute_router_peer.bgp_peer["remote-0"]:
advertise_mode: DEFAULT
advertised_groups: []
advertised_ip_ranges: []
advertised_route_priority: 1000
enable: true
enable_ipv6: true
interface: mynet-to-onprem-remote-0
name: mynet-to-onprem-remote-0
peer_asn: 64513
peer_ip_address: 169.254.1.1
project: project-id
region: region
router: vpn-mynet-to-onprem
router_appliance_instance: null
module.vpn_ha.google_compute_router_peer.bgp_peer["remote-1"]:
advertise_mode: DEFAULT
advertised_groups: []
advertised_ip_ranges: []
advertised_route_priority: 1000
enable: true
enable_ipv6: true
interface: mynet-to-onprem-remote-1
ipv6_nexthop_address: 2600:2d00:0:2::1
name: mynet-to-onprem-remote-1
peer_asn: 64513
peer_ip_address: 169.254.2.1
peer_ipv6_nexthop_address: 2600:2d00:0:3::1
project: project-id
region: region
router: vpn-mynet-to-onprem
router_appliance_instance: null
module.vpn_ha.google_compute_vpn_tunnel.tunnels["remote-0"]:
description: null
ike_version: 2
name: mynet-to-onprem-remote-0
peer_external_gateway_interface: 0
peer_gcp_gateway: null
project: project-id
region: region
router: vpn-mynet-to-onprem
shared_secret: mySecret
target_vpn_gateway: null
vpn_gateway_interface: 0
module.vpn_ha.google_compute_vpn_tunnel.tunnels["remote-1"]:
description: null
ike_version: 2
name: mynet-to-onprem-remote-1
peer_external_gateway_interface: 0
peer_gcp_gateway: null
project: project-id
region: region
router: vpn-mynet-to-onprem
shared_secret: mySecret
target_vpn_gateway: null
vpn_gateway_interface: 1
module.vpn_ha.random_id.secret:
byte_length: 8
keepers: null
prefix: null
counts:
google_compute_external_vpn_gateway: 1
google_compute_ha_vpn_gateway: 1
google_compute_router: 1
google_compute_router_interface: 2
google_compute_router_peer: 2
google_compute_vpn_tunnel: 2
modules: 1
random_id: 1
resources: 10