nomad_csi_volume_registrationNivis Nix constructor for the nomad_csi_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,
external_id,
plugin_id,
volume_id,
capacity_max ? null,
capacity_min ? null,
context ? null,
deregister_on_destroy ? null,
id ? null,
cfg_name ? null,
namespace ? null,
parameters ? null,
secrets ? null,
capability ? null,
mount_options ? null,
timeouts ? null,
topology_request ? null,
overrides ? {}
}Required arguments
external_idplugin_idvolume_id
Optional arguments
capacity_max(defaults tonull)capacity_min(defaults tonull)context(defaults tonull)deregister_on_destroy(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)namespace(defaults tonull)parameters(defaults tonull)secrets(defaults tonull)capability(defaults tonull)mount_options(defaults tonull)timeouts(defaults tonull)topology_request(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
capacitycapacity_max_bytescapacity_min_bytescontroller_requiredcontrollers_expectedcontrollers_healthynodes_expectednodes_healthyplugin_providerplugin_provider_versionschedulabletopologies
Example
nomad_csi_volume_registration {
name = "csi_volume_registration";
external_id = …; # required
plugin_id = …; # required
volume_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.