nomad_dynamic_host_volume

Nivis Nix constructor for the nomad_dynamic_host_volume 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,
  plugin_id,
  capacity_max ? null,
  capacity_min ? null,
  cfg_name ? null,
  namespace ? null,
  node_id ? null,
  node_pool ? null,
  parameters ? null,
  capability ? null,
  constraint ? null,
  overrides ? {}
}
Required arguments
  • plugin_id
Optional arguments
  • capacity_max (defaults to null)
  • capacity_min (defaults to null)
  • cfg_name (defaults to null)
  • namespace (defaults to null)
  • node_id (defaults to null)
  • node_pool (defaults to null)
  • parameters (defaults to null)
  • capability (defaults to null)
  • constraint (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • capacity
  • capacity_bytes
  • capacity_max_bytes
  • capacity_min_bytes
  • host_path
  • id
  • state
Example
nomad_dynamic_host_volume {
  name = "dynamic_host_volume";
  plugin_id = …;  # required
}

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