vra_policy_iaas_resourceNivis 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_typefailure_policyvalidation_actions
Optional arguments
criteria(defaults tonull)description(defaults tonull)id(defaults tonull)match_labels(defaults tonull)match_policy(defaults tonull)cfg_name(defaults tonull)project_criteria(defaults tonull)project_id(defaults tonull)exclude_resource_rules(defaults tonull)match_conditions(defaults tonull)match_expressions(defaults tonull)resource_rules(defaults tonull)validations(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
created_atcreated_bylast_updated_atlast_updated_byorg_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.