google_firebase_app_hosting_traffic

Nivis Nix constructor for the google_firebase_app_hosting_traffic 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,
  backend,
  location,
  id ? null,
  project ? null,
  rollout_policy ? null,
  target ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • backend
  • location
Optional arguments
  • id (defaults to null)
  • project (defaults to null)
  • rollout_policy (defaults to null)
  • target (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • current
  • delete_time
  • etag
  • name
  • uid
  • update_time
Example
google_firebase_app_hosting_traffic {
  name = "firebase_app_hosting_traffic";
  backend = …;  # required
  location = …;  # required
}

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