Update doc and example.
This commit is contained in:
parent
5762367de1
commit
b02401c41b
|
@ -27,7 +27,12 @@ import (
|
|||
type Config struct {
|
||||
common.PackerConfig `mapstructure:",squash"`
|
||||
|
||||
// Paths to Yandex Object Storage where exported image will be uploaded
|
||||
// List of paths to Yandex Object Storage where exported image will be uploaded.
|
||||
// Please be aware that use of space char inside path not supported.
|
||||
// Example value `[
|
||||
// "s3://bucket-name/image-blob.qcow2",
|
||||
// ]`
|
||||
// Also this param support [build](/docs/templates/engine) template function.
|
||||
Paths []string `mapstructure:"paths" required:"true"`
|
||||
// The folder ID that will be used to launch a temporary instance.
|
||||
// Alternatively you may set value by environment variable YC_FOLDER_ID.
|
||||
|
|
|
@ -80,7 +80,7 @@ must have write access to both `s3://packer-export/my-exported-image.qcow2` and
|
|||
|
||||
"paths": [
|
||||
"s3://packer-export-bucket/my-exported-image.qcow2",
|
||||
"s3://packer-export-bucket/image-number-two.qcow2"
|
||||
"s3://packer-export-bucket/template-supported-get-{{ .ImageID }}-right-here.qcow2"
|
||||
],
|
||||
"keep_input_artifact": true
|
||||
}
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
<!-- Code generated from the comments of the Config struct in post-processor/yandex-export/post-processor.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `paths` ([]string) - Paths to Yandex Object Storage where exported image will be uploaded
|
||||
- `paths` ([]string) - List of paths to Yandex Object Storage where exported image will be uploaded.
|
||||
Please be aware that use of space char inside path not supported.
|
||||
Example value `[
|
||||
"s3://bucket-name/image-blob.qcow2",
|
||||
]`
|
||||
Also this param support [build](/docs/templates/engine) template function.
|
||||
|
||||
- `folder_id` (string) - The folder ID that will be used to launch a temporary instance.
|
||||
Alternatively you may set value by environment variable YC_FOLDER_ID.
|
||||
|
|
Loading…
Reference in New Issue