google_compute_subnetwork

Get a subnetwork within GCE from its name and region.

Example Usage

data "google_compute_subnetwork" "my-subnetwork" {
  name   = "default-us-east1"
  region = "us-east1"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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

The secondary_ip_range block supports: