diff --git a/modules/vpc-network/main.tf b/modules/vpc-network/main.tf index a12d87e..eed556f 100644 --- a/modules/vpc-network/main.tf +++ b/modules/vpc-network/main.tf @@ -77,7 +77,7 @@ resource "google_compute_router_nat" "vpc_nat" { source_subnetwork_ip_ranges_to_nat = "LIST_OF_SUBNETWORKS" subnetwork { - name = google_compute_subnetwork.vpc_subnetwork_private.self_link + name = google_compute_subnetwork.vpc_subnetwork_public.self_link source_ip_ranges_to_nat = ["ALL_IP_RANGES"] } }