google_compute_forwarding_rules

List all networks in a specified Google Cloud project.

Example Usage

data "google_compute_forwarding_rules" "my-forwarding-rules" {
  project = "my-cloud-project"
  region  = "us-central1"
}

Argument Reference

The following arguments are supported:

These arguments must be set in either the provider or the resouce in order for the information to be queried.

Attributes Reference

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