google_compute_router_status

Get a Cloud Router's status within GCE from its name and region. This data source exposes the routes learned by a Cloud Router via BGP peers.

For more information see the official documentation and API.

Example Usage

data "google_compute_router_status" "my-router" {
  name   = "myrouter"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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