nomad_external_volume

Nivis Nix constructor for the nomad_external_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,
  volume_id,
  capacity_max ? null,
  capacity_min ? null,
  clone_id ? null,
  id ? null,
  cfg_name ? null,
  namespace ? null,
  parameters ? null,
  secrets ? null,
  snapshot_id ? null,
  type ? null,
  capability ? null,
  mount_options ? null,
  topology_request ? null,
  overrides ? {}
}
Required arguments
  • plugin_id
  • volume_id
Optional arguments
  • capacity_max (defaults to null)
  • capacity_min (defaults to null)
  • clone_id (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • namespace (defaults to null)
  • parameters (defaults to null)
  • secrets (defaults to null)
  • snapshot_id (defaults to null)
  • type (defaults to null)
  • capability (defaults to null)
  • mount_options (defaults to null)
  • topology_request (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • controller_required
  • controllers_expected
  • controllers_healthy
  • nodes_expected
  • nodes_healthy
  • plugin_provider
  • plugin_provider_version
  • schedulable
  • topologies
Example
nomad_external_volume {
  name = "external_volume";
  plugin_id = …;  # required
  volume_id = …;  # required
}

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