google_compute_region_network_endpoint_group

Use this data source to access a Region Network Endpoint Group's attributes.

The RNEG may be found by providing either a self_link, or a name and a region.

Example Usage

data "google_compute_region_network_endpoint_group" "rneg1" {
  name = "k8s1-abcdef01-myns-mysvc-8080-4b6bac43"
  region = "us-central1"
}

data "google_compute_region_network_endpoint_group" "rneg2" {
  self_link = "https://www.googleapis.com/compute/v1/projects/myproject/regions/us-central1/networkEndpointGroups/k8s1-abcdef01-myns-mysvc-8080-4b6bac43"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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