You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"google_bigquery_reservation" {
source="./modules/google-beta/r/google_bigquery_reservation"# ignore_idle_slots - (optional) is a type of boolignore_idle_slots=null# location - (optional) is a type of stringlocation=null# name - (required) is a type of stringname=null# project - (optional) is a type of stringproject=null# slot_capacity - (required) is a type of numberslot_capacity=nulltimeouts=[{
create =null
delete =null
update =null
}]
}
variable"ignore_idle_slots" {
description="(optional) - If false, any query using this reservation will use idle slots from other reservations within\nthe same admin project. If true, a query using this reservation will execute with the slot\ncapacity specified above at most."type=booldefault=null
}
variable"location" {
description="(optional) - The geographic location where the transfer config should reside.\nExamples: US, EU, asia-northeast1. The default value is US."type=stringdefault=null
}
variable"name" {
description="(required) - The name of the reservation. This field must only contain alphanumeric characters or dash."type=string
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"slot_capacity" {
description="(required) - Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the\nunit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false."type=number
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
update =string
}
))
default=[]
}
resource"google_bigquery_reservation""this" {
# ignore_idle_slots - (optional) is a type of boolignore_idle_slots=var.ignore_idle_slots# location - (optional) is a type of stringlocation=var.location# name - (required) is a type of stringname=var.name# project - (optional) is a type of stringproject=var.project# slot_capacity - (required) is a type of numberslot_capacity=var.slot_capacitydynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}