google_compute_backend_service

Provide access to a Backend Service's attribute. For more information see the official documentation and the API.

Example Usage

data "google_compute_backend_service" "baz" {
  name = "foobar"
}

resource "google_compute_backend_service" "default" {
  name          = "backend-service"
  health_checks = [tolist(data.google_compute_backend_service.baz.health_checks)[0]]
}

Argument Reference

The following arguments are supported:


Attributes Reference

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