vra_policy_approval

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

Constructor
{
  name,
  actions,
  approval_level,
  approval_mode,
  approval_type,
  approvers,
  auto_approval_decision,
  auto_approval_expiry,
  enforcement_type,
  criteria ? null,
  description ? null,
  id ? null,
  cfg_name ? null,
  project_criteria ? null,
  project_id ? null,
  overrides ? {}
}
Required arguments
  • actions
  • approval_level
  • approval_mode
  • approval_type
  • approvers
  • auto_approval_decision
  • auto_approval_expiry
  • enforcement_type
Optional arguments
  • criteria (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • project_criteria (defaults to null)
  • project_id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • created_at
  • created_by
  • last_updated_at
  • last_updated_by
  • org_id
Example
vra_policy_approval {
  name = "policy_approval";
  actions = …;  # required
  approval_level = …;  # required
  approval_mode = …;  # required
  approval_type = …;  # required
  approvers = …;  # required
  auto_approval_decision = …;  # required
  auto_approval_expiry = …;  # required
  enforcement_type = …;  # required
}

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