tfe_policy

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

Constructor
{
  name,
  policy,
  description ? null,
  enforce_mode ? null,
  kind ? null,
  cfg_name ? null,
  organization ? null,
  query ? null,
  overrides ? {}
}
Required arguments
  • policy
Optional arguments
  • description (defaults to null)
  • enforce_mode (defaults to null)
  • kind (defaults to null)
  • cfg_name (defaults to null)
  • organization (defaults to null)
  • query (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
Example
tfe_policy {
  name = "policy";
  policy = …;  # required
}

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