alicloud_image_copyNivis Nix constructor for the alicloud_image_copy resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
source_image_id,
source_region_id,
delete_auto_snapshot ? null,
description ? null,
encrypted ? null,
force ? null,
id ? null,
image_name ? null,
kms_key_id ? null,
cfg_name ? null,
tags ? null,
timeouts ? null,
overrides ? {}
}Required arguments
source_image_idsource_region_id
Optional arguments
delete_auto_snapshot(defaults tonull)description(defaults tonull)encrypted(defaults tonull)force(defaults tonull)id(defaults tonull)image_name(defaults tonull)kms_key_id(defaults tonull)cfg_name(defaults tonull)tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
alicloud_image_copy {
name = "image_copy";
source_image_id = …; # required
source_region_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.