mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-29 10:21:01 -06:00
18 lines
465 B
Markdown
18 lines
465 B
Markdown
|
# Google Compute Engine VPN Example
|
||
|
|
||
|
This example joins two GCE networks via VPN. The firewall rules have been set up
|
||
|
so that you can create an instance in each network and have them communicate
|
||
|
using their internal IP addresses.
|
||
|
|
||
|
See this [example](https://cloud.google.com/compute/docs/vpn) for more
|
||
|
information.
|
||
|
|
||
|
Run this example using
|
||
|
|
||
|
```
|
||
|
terraform apply \
|
||
|
-var="region1=us-central1" \
|
||
|
-var="region2=europe-west1" \
|
||
|
-var="project=my-project-id-123"
|
||
|
```
|