Fixes nat subnetwork reference in docs (#3266)

This commit is contained in:
Wiard van Rij 2019-05-17 19:31:07 +02:00 committed by Dana Hoffman
parent 11368fe791
commit 4003506b8f

View File

@ -86,7 +86,7 @@ resource "google_compute_router_nat" "advanced-nat" {
nat_ips = ["${google_compute_address.address.*.self_link}"]
source_subnetwork_ip_ranges_to_nat = "LIST_OF_SUBNETWORKS"
subnetwork {
name = "${google_compute_subnetwork.subnetwork.self_link}"
name = "${google_compute_subnetwork.default.self_link}"
source_ip_ranges_to_nat = ["ALL_IP_RANGES"]
}
}