Fix TestAccComputeRoute_routeBasicExample (#2124)

<!-- This change is generated by MagicModules. -->
/cc @rileykarson
This commit is contained in:
The Magician 2018-09-27 10:02:50 -07:00 committed by Riley Karson
parent 9f0b792f09
commit 61240c3bac
2 changed files with 3 additions and 17 deletions

View File

@ -48,20 +48,13 @@ resource "google_compute_route" "default" {
name = "network-route-%s"
dest_range = "15.0.0.0/24"
network = "${google_compute_network.default.name}"
next_hop_ip = "10.0.1.5"
next_hop_ip = "10.132.1.5"
priority = 100
}
resource "google_compute_network" "default" {
name = "compute-network-%s"
}
resource "google_compute_subnetwork" "default" {
name = "compute-subnetwork-%s"
ip_cidr_range = "10.0.0.0/16"
network = "${google_compute_network.default.self_link}"
region = "us-central1"
}
`, val, val, val,
`, val, val,
)
}

View File

@ -56,20 +56,13 @@ resource "google_compute_route" "default" {
name = "network-route"
dest_range = "15.0.0.0/24"
network = "${google_compute_network.default.name}"
next_hop_ip = "10.0.1.5"
next_hop_ip = "10.132.1.5"
priority = 100
}
resource "google_compute_network" "default" {
name = "compute-network"
}
resource "google_compute_subnetwork" "default" {
name = "compute-subnetwork"
ip_cidr_range = "10.0.0.0/16"
network = "${google_compute_network.default.self_link}"
region = "us-central1"
}
```
## Argument Reference