Skip to content

A terraform plan for deploying a Google Cloud Classic VPN

License

Notifications You must be signed in to change notification settings

sotoz/gcp-cloud-vpn

Repository files navigation

gcp-cloud-vpn

Terraform Google VPN

This terraform plan can be used to deploy a Google Classic VPN with IPSec IKEv1.

Usage

Simply by running:

$ terraform plan

$ terraform apply

You will need to specify the region, the gcp_project, the host_peer_ip and the prefix for the resources.

If you want to get the peer_ip of your machine automatically use the following:

terraform plan -var "host_peer_ip=$(curl -s 'https://api.ipify.org?format=json' | jq -r '.ip')"

To destroy the deployment you can do a terraform destroy

About

A terraform plan for deploying a Google Cloud Classic VPN

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages