google_artifact_registry_rule

Nivis Nix constructor for the google_artifact_registry_rule 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,
  repository_id,
  rule_id,
  action ? null,
  deletion_policy ? null,
  id ? null,
  location ? null,
  operation ? null,
  package_id ? null,
  project ? null,
  condition ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • repository_id
  • rule_id
Optional arguments
  • action (defaults to null)
  • deletion_policy (defaults to null)
  • id (defaults to null)
  • location (defaults to null)
  • operation (defaults to null)
  • package_id (defaults to null)
  • project (defaults to null)
  • condition (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • name
Example
google_artifact_registry_rule {
  name = "artifact_registry_rule";
  repository_id = …;  # required
  rule_id = …;  # required
}

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