tfe_variable

Nivis Nix constructor for the tfe_variable 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,
  category,
  key,
  description ? null,
  hcl ? null,
  sensitive ? null,
  value ? null,
  value_wo ? null,
  value_wo_version ? null,
  variable_set_id ? null,
  workspace_id ? null,
  overrides ? {}
}
Required arguments
  • category
  • key
Optional arguments
  • description (defaults to null)
  • hcl (defaults to null)
  • sensitive (defaults to null)
  • value (defaults to null)
  • value_wo (defaults to null)
  • value_wo_version (defaults to null)
  • variable_set_id (defaults to null)
  • workspace_id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
  • readable_value
Example
tfe_variable {
  name = "variable";
  category = …;  # required
  key = …;  # required
}

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