template_dir

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

Constructor
{
  name,
  destination_dir,
  source_dir,
  id ? null,
  vars ? null,
  overrides ? {}
}
Required arguments
  • destination_dir
  • source_dir
Optional arguments
  • id (defaults to null)
  • vars (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
template_dir {
  name = "dir";
  destination_dir = …;  # required
  source_dir = …;  # required
}

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