google_compute_router

Get a router within GCE from its name and VPC.

Example Usage

data "google_compute_router" "my-router" {
  name   = "myrouter-us-east1"
  network = "my-network"
}

Argument Reference

The following arguments are supported:

Attributes Reference

See google_compute_router resource for details of the available attributes.