nomad_dynamic_host_volume_registration

Nivis Nix constructor for the nomad_dynamic_host_volume_registration 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,
  host_path,
  node_id,
  capacity ? null,
  cfg_name ? null,
  namespace ? null,
  parameters ? null,
  capability ? null,
  overrides ? {}
}
Required arguments
  • host_path
  • node_id
Optional arguments
  • capacity (defaults to null)
  • cfg_name (defaults to null)
  • namespace (defaults to null)
  • parameters (defaults to null)
  • capability (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • capacity_bytes
  • capacity_max_bytes
  • capacity_min_bytes
  • constraint
  • id
  • node_pool
  • plugin_id
  • state
Example
nomad_dynamic_host_volume_registration {
  name = "dynamic_host_volume_registration";
  host_path = …;  # required
  node_id = …;  # required
}

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