Provides access to available Google Compute Reservation Resources for a given project. See more about Reservations of Compute Engine resources in the upstream docs.
data "google_compute_reservation" "reservation" {
name = "gce-reservation"
zone = "us-central1-a"
}
The following arguments are supported:
name
(Required) - The name of the Compute Reservation.zone
(Required) - Zone where the Compute Reservation resides.project
(Optional) - Project from which to list the Compute Reservation. Defaults to project declared in the provider.See google_compute_reservation resource for details of the available attributes.