hcloud_storage_boxNivis Nix constructor for the hcloud_storage_box 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,
location,
password,
storage_box_type,
access_settings ? null,
delete_protection ? null,
labels ? null,
cfg_name ? null,
snapshot_plan ? null,
ssh_keys ? null,
overrides ? {}
}Required arguments
locationpasswordstorage_box_type
Optional arguments
access_settings(defaults tonull)delete_protection(defaults tonull)labels(defaults tonull)cfg_name(defaults tonull)snapshot_plan(defaults tonull)ssh_keys(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
idserversystemusername
Example
hcloud_storage_box {
name = "storage_box";
location = …; # required
password = …; # required
storage_box_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.