FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

google_compute_route

Manages a network route within GCE.

Example Usage

resource "google_compute_network" "foobar" {
  name       = "test"
  ipv4_range = "10.0.0.0/16"
}

resource "google_compute_route" "foobar" {
  name        = "test"
  dest_range  = "15.0.0.0/24"
  network     = "${google_compute_network.foobar.name}"
  next_hop_ip = "10.0.1.5"
  priority    = 100
}

Argument Reference

The following arguments are supported:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:


See the source of this document at Terraform.io