vra_policy_approvalNivis 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
actionsapproval_levelapproval_modeapproval_typeapproversauto_approval_decisionauto_approval_expiryenforcement_type
Optional arguments
criteria(defaults tonull)description(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)project_criteria(defaults tonull)project_id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
created_atcreated_bylast_updated_atlast_updated_byorg_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.