forked from GoogleCloudPlatform/magic-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support IPV6 for HA VPN. (GoogleCloudPlatform#7525)
- Loading branch information
1 parent
4c5a5c7
commit 4e8417e
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
mmv1/templates/terraform/examples/ha_vpn_gateway_ipv6.tf.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
resource "google_compute_ha_vpn_gateway" "ha_gateway1" { | ||
region = "us-central1" | ||
name = "<%= ctx[:vars]['ha_vpn_gateway1_name'] %>" | ||
network = google_compute_network.network1.id | ||
stack_type = "IPV4_IPV6" | ||
} | ||
|
||
resource "google_compute_network" "network1" { | ||
name = "<%= ctx[:vars]['network1_name'] %>" | ||
auto_create_subnetworks = false | ||
} |