cloudscale_custom_imageNivis Nix constructor for the cloudscale_custom_image resource (provider cloudscale). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
import_url,
user_data_handling,
zone_slugs,
firmware_type ? null,
id ? null,
import_source_format ? null,
cfg_name ? null,
slug ? null,
tags ? null,
timeouts ? null,
overrides ? {}
}Required arguments
import_urluser_data_handlingzone_slugs
Optional arguments
firmware_type(defaults tonull)id(defaults tonull)import_source_format(defaults tonull)cfg_name(defaults tonull)slug(defaults tonull)tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
checksumshrefimport_hrefimport_statusimport_uuidsize_gb
Example
cloudscale_custom_image {
name = "custom_image";
import_url = …; # required
user_data_handling = …; # required
zone_slugs = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.