2020-06-24 08:31:05 -04:00
|
|
|
<!-- Code generated from the comments of the ImageConfig struct in builder/ucloud/common/image_config.go; DO NOT EDIT MANUALLY -->
|
|
|
|
|
2020-07-13 06:33:16 -04:00
|
|
|
- `image_description` (string) - The description of the image.
|
|
|
|
|
|
|
|
- `image_copy_to_mappings` ([]ImageDestination) - The array of mappings regarding the copied images to the destination regions and projects.
|
2020-12-16 04:35:34 -05:00
|
|
|
|
|
|
|
- `project_id` (string) - The destination project id, where copying image in.
|
|
|
|
|
|
|
|
- `region` (string) - The destination region, where copying image in.
|
|
|
|
|
|
|
|
- `name` (string) - The copied image name. If not defined, builder will use `image_name` as default name.
|
|
|
|
|
|
|
|
- `description` (string) - The copied image description.
|
|
|
|
|
2020-07-13 06:33:16 -04:00
|
|
|
```json
|
|
|
|
{
|
|
|
|
"image_copy_to_mappings": [
|
|
|
|
{
|
|
|
|
"project_id": "{{user `ucloud_project_id`}}",
|
|
|
|
"region": "cn-sh2",
|
|
|
|
"description": "test",
|
|
|
|
"name": "packer-test-basic-sh"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
- `wait_image_ready_timeout` (int) - Timeout of creating image or copying image. The default timeout is 3600 seconds if this option
|
|
|
|
is not set or is set to 0.
|