stackit_image

Nivis 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_format
  • local_file_path
  • project_id
Optional arguments
  • config (defaults to null)
  • labels (defaults to null)
  • min_disk_size (defaults to null)
  • min_ram (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • checksum
  • id
  • image_id
  • protected
  • scope
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.