stackit_imageNivis Nix constructor for the stackit_image resource (provider stackit). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
disk_format,
local_file_path,
project_id,
config ? null,
labels ? null,
min_disk_size ? null,
min_ram ? null,
cfg_name ? null,
region ? null,
overrides ? {}
}Required arguments
disk_formatlocal_file_pathproject_id
Optional arguments
config(defaults tonull)labels(defaults tonull)min_disk_size(defaults tonull)min_ram(defaults tonull)cfg_name(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
checksumidimage_idprotectedscope
Example
stackit_image {
name = "image";
disk_format = …; # required
local_file_path = …; # required
project_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.