nomad_variable

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

Constructor
{
  name,
  path,
  id ? null,
  items ? null,
  items_wo ? null,
  items_wo_version ? null,
  namespace ? null,
  overrides ? {}
}
Required arguments
  • path
Optional arguments
  • id (defaults to null)
  • items (defaults to null)
  • items_wo (defaults to null)
  • items_wo_version (defaults to null)
  • namespace (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
nomad_variable {
  name = "variable";
  path = …;  # required
}

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