This module provisions HA VPN between GCP and AWS. The minimum number of tunnels required is 4, but can be incremented in multiples of 2.
Image Credit: https://cloud.google.com/network-connectivity/docs/vpn/tutorials/create-ha-vpn-connections-google-cloud-aws#architecture_overview.
Name | Version |
---|---|
terraform | ~> 1.6 |
aws | ~> 5.31 |
~> 5.10 |
Name | Version |
---|---|
aws | ~> 5.31 |
awscc | n/a |
~> 5.10 |
Name | Type |
---|---|
aws_customer_gateway.gwy | resource |
aws_ec2_transit_gateway.tgw | resource |
aws_vpn_connection.vpn_conn | resource |
awscc_ec2_transit_gateway_attachment.tgw_attachment | resource |
google_compute_external_vpn_gateway.ext_gwy | resource |
google_compute_ha_vpn_gateway.gwy | resource |
google_compute_router.router | resource |
google_compute_router_interface.interface | resource |
google_compute_router_peer.peer | resource |
google_compute_vpn_tunnel.tunnel | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_private_subnets | n/a | list(string) |
n/a | yes |
aws_router_asn | n/a | string |
n/a | yes |
aws_vpc_cidr | n/a | string |
n/a | yes |
aws_vpc_id | n/a | string |
n/a | yes |
gcp_network | Name of the GCP network. | string |
n/a | yes |
gcp_router_asn | n/a | string |
n/a | yes |
num_tunnels | Total number of VPN tunnels. This needs to be in multiples of 2. | number |
n/a | yes |
prefix | Prefix used for all the resources. | string |
n/a | yes |
project_id | n/a | string |
n/a | yes |
shared_secret | n/a | string |
n/a | yes |
vpn_gwy_region | n/a | string |
n/a | yes |
See CONTRIBUTING.md
for details.
Apache 2.0. See LICENSE
for details.
This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.