* start using `go:generate packer-sdc struct-markdown` * Update Makefile remove @go install ./cmd/struct-markdown * run go generate for struct-markdown * use //go:generate packer-sdc mapstructure-to-hcl2 * run go generate for mapstructure-to-hcl2 * remove struct-markdown and mapstructure-to-hcl2 * vendor vendors
18 lines
1.0 KiB
Plaintext
18 lines
1.0 KiB
Plaintext
<!-- Code generated from the comments of the Config struct in post-processor/yandex-import/post-processor.go; DO NOT EDIT MANUALLY -->
|
|
|
|
- `bucket` (string) - The name of the bucket where the qcow2 file will be uploaded to for import.
|
|
This bucket must exist when the post-processor is run.
|
|
|
|
If import occurred after Yandex-Export post-processor, artifact already
|
|
in storage service and first paths (URL) is used to, so no need to set this param.
|
|
|
|
- `object_name` (string) - The name of the object key in `bucket` where the qcow2 file will be copied to import.
|
|
This is a [template engine](/docs/templates/legacy_json_templates/engine).
|
|
Therefore, you may use user variables and template functions in this field.
|
|
|
|
- `skip_clean` (bool) - Whether skip removing the qcow2 file uploaded to Storage
|
|
after the import process has completed. Possible values are: `true` to
|
|
leave it in the bucket, `false` to remove it. Default is `false`.
|
|
|
|
<!-- End of code generated from the comments of the Config struct in post-processor/yandex-import/post-processor.go; -->
|