Skip to content

Commit 537ab1c

Browse files
committed
use standard naming for singleton resource
1 parent 69494d5 commit 537ab1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vpc/network_ipv6/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
# [START vpc_ipv6_internal]
18-
resource "google_compute_network" "vpc_network_ipv6" {
18+
resource "google_compute_network" "default" {
1919
name = "vpc-network-ipv6"
2020
auto_create_subnetworks = false
2121
enable_ula_internal_ipv6 = true
@@ -29,15 +29,15 @@ resource "google_compute_subnetwork" "subnet_dual_stack" {
2929
region = "us-west2"
3030
stack_type = "IPV4_IPV6"
3131
ipv6_access_type = "INTERNAL"
32-
network = google_compute_network.vpc_network_ipv6.id
32+
network = google_compute_network.default.id
3333
}
3434
# [END subnet_dual_stack]
3535

3636
# [START subnet_ipv6_only]
3737
resource "google_compute_subnetwork" "subnet_ipv6_only" {
3838
name = "subnet-ipv6-only"
3939
region = "us-central1"
40-
network = google_compute_network.vpc_network_ipv6.id
40+
network = google_compute_network.default.id
4141
stack_type = "IPV6_ONLY"
4242
ipv6_access_type = "INTERNAL"
4343
}

0 commit comments

Comments
 (0)