tfe_variableNivis 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
categorykey
Optional arguments
description(defaults tonull)hcl(defaults tonull)sensitive(defaults tonull)value(defaults tonull)value_wo(defaults tonull)value_wo_version(defaults tonull)variable_set_id(defaults tonull)workspace_id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
idreadable_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.