0
1
llucycodes42
The google_compute_route resource specifies a Google Compute Route for the given name. The route range is from the given IP range to the next Google Compute Node. The next_hop_ip is the IP of the next Google Compute Node, and priority is the load-balancing priority for this route.
Shortcut: tf_google_compute_route
resource "google_compute_route" "${MyResource}" {
name = "example-name"
dest_range = "15.0.0.0/24"
network = "\${google_compute_network.foobar.name}"
next_hop_ip = "10.0.1.5"
priority = 100
}