google_compute_region_commitment

Nivis Nix constructor for the google_compute_region_commitment 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,
  plan,
  auto_renew ? null,
  category ? null,
  description ? null,
  existing_reservations ? null,
  id ? null,
  cfg_name ? null,
  project ? null,
  region ? null,
  type ? null,
  license_resource ? null,
  params ? null,
  resources ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • plan
Optional arguments
  • auto_renew (defaults to null)
  • category (defaults to null)
  • description (defaults to null)
  • existing_reservations (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • project (defaults to null)
  • region (defaults to null)
  • type (defaults to null)
  • license_resource (defaults to null)
  • params (defaults to null)
  • resources (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • commitment_id
  • creation_timestamp
  • end_timestamp
  • self_link
  • start_timestamp
  • status
  • status_message
Example
google_compute_region_commitment {
  name = "compute_region_commitment";
  plan = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.