google_storage_anywhere_cache

Nivis Nix constructor for the google_storage_anywhere_cache resource (provider google). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  bucket,
  zone,
  admission_policy ? null,
  deletion_policy ? null,
  id ? null,
  ingest_on_write ? null,
  ttl ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • bucket
  • zone
Optional arguments
  • admission_policy (defaults to null)
  • deletion_policy (defaults to null)
  • id (defaults to null)
  • ingest_on_write (defaults to null)
  • ttl (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • anywhere_cache_id
  • create_time
  • pending_update
  • state
  • update_time
Example
google_storage_anywhere_cache {
  name = "storage_anywhere_cache";
  bucket = …;  # required
  zone = …;  # required
}

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