hcloud_volume_attachmentNivis Nix constructor for the hcloud_volume_attachment resource (provider hcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
server_id,
volume_id,
automount ? null,
id ? null,
overrides ? {}
}Required arguments
server_idvolume_id
Optional arguments
automount(defaults tonull)id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
hcloud_volume_attachment {
name = "volume_attachment";
server_id = …; # required
volume_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.