google_compute_reservationNivis Nix constructor for the google_compute_reservation resource (provider google-beta). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
zone,
delete_at_time ? null,
deletion_policy ? null,
description ? null,
enable_emergent_maintenance ? null,
cfg_name ? null,
project ? null,
specific_reservation_required ? null,
delete_after_duration ? null,
params ? null,
reservation_sharing_policy ? null,
share_settings ? null,
specific_reservation ? null,
timeouts ? null,
overrides ? {}
}Required arguments
zone
Optional arguments
delete_at_time(defaults tonull)deletion_policy(defaults tonull)description(defaults tonull)enable_emergent_maintenance(defaults tonull)cfg_name(defaults tonull)project(defaults tonull)specific_reservation_required(defaults tonull)delete_after_duration(defaults tonull)params(defaults tonull)reservation_sharing_policy(defaults tonull)share_settings(defaults tonull)specific_reservation(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
block_namescommitmentcreation_timestampidkindlinked_commitmentsresource_statussatisfies_pzsself_linkstatus
Example
google_compute_reservation {
name = "compute_reservation";
zone = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.