google_firestore_field

Nivis Nix constructor for the google_firestore_field 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,
  collection,
  field,
  database ? null,
  deletion_policy ? null,
  id ? null,
  project ? null,
  skip_wait ? null,
  index_config ? null,
  timeouts ? null,
  ttl_config ? null,
  overrides ? {}
}
Required arguments
  • collection
  • field
Optional arguments
  • database (defaults to null)
  • deletion_policy (defaults to null)
  • id (defaults to null)
  • project (defaults to null)
  • skip_wait (defaults to null)
  • index_config (defaults to null)
  • timeouts (defaults to null)
  • ttl_config (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • name
Example
google_firestore_field {
  name = "firestore_field";
  collection = …;  # required
  field = …;  # required
}

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