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.
add external ipv6 support (GoogleCloudPlatform#5241)
* add external ipv6 support for subnetworks * add support for ipv6 to instance network interfaces * add documentation * update from review comments * make stack_type O+C * make stack_type O+C on subnetwork too. oops. * update per review comments
- Loading branch information
1 parent
c7d34e4
commit e9cc9ce
Showing
10 changed files
with
388 additions
and
13 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
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
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,16 @@ | ||
resource "google_compute_subnetwork" "subnetwork-ipv6" { | ||
name = "<%= ctx[:vars]['subnetwork_name'] %>" | ||
|
||
ip_cidr_range = "10.0.0.0/22" | ||
region = "us-west2" | ||
|
||
stack_type = "IPV4_IPV6" | ||
ipv6_access_type = "EXTERNAL" | ||
|
||
network = google_compute_network.custom-test.id | ||
} | ||
|
||
resource "google_compute_network" "custom-test" { | ||
name = "<%= ctx[:vars]['network_name'] %>" | ||
auto_create_subnetworks = false | ||
} |
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
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
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
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
Oops, something went wrong.