vra_policy_iaas_resource

Nivis Nix constructor for the vra_policy_iaas_resource 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,
  enforcement_type,
  failure_policy,
  validation_actions,
  criteria ? null,
  description ? null,
  id ? null,
  match_labels ? null,
  match_policy ? null,
  cfg_name ? null,
  project_criteria ? null,
  project_id ? null,
  exclude_resource_rules ? null,
  match_conditions ? null,
  match_expressions ? null,
  resource_rules ? null,
  validations ? null,
  overrides ? {}
}
Required arguments
  • enforcement_type
  • failure_policy
  • validation_actions
Optional arguments
  • criteria (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • match_labels (defaults to null)
  • match_policy (defaults to null)
  • cfg_name (defaults to null)
  • project_criteria (defaults to null)
  • project_id (defaults to null)
  • exclude_resource_rules (defaults to null)
  • match_conditions (defaults to null)
  • match_expressions (defaults to null)
  • resource_rules (defaults to null)
  • validations (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_iaas_resource {
  name = "policy_iaas_resource";
  enforcement_type = …;  # required
  failure_policy = …;  # required
  validation_actions = …;  # required
}

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