From 2658d5850794b34b280007c3d38767cfa934ef63 Mon Sep 17 00:00:00 2001 From: Gennady Lipenkov Date: Mon, 27 Apr 2020 10:09:11 +0300 Subject: [PATCH] Fixes --- post-processor/yandex-export/post-processor.go | 2 +- .../partials/post-processor/yandex-export/Config-required.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/post-processor/yandex-export/post-processor.go b/post-processor/yandex-export/post-processor.go index 6b9dc9947..1a37bb16b 100644 --- a/post-processor/yandex-export/post-processor.go +++ b/post-processor/yandex-export/post-processor.go @@ -108,7 +108,7 @@ func (p *PostProcessor) Configure(raws ...interface{}) error { func (p *PostProcessor) PostProcess(ctx context.Context, ui packer.Ui, artifact packer.Artifact) (packer.Artifact, bool, bool, error) { if artifact.BuilderId() != yandex.BuilderID { err := fmt.Errorf( - "Unknown artifact typs\nCan only export from Yandex Cloud builder artifacts.", + "Unknown artifact type: %s\nCan only export from Yandex Cloud builder artifacts.", artifact.BuilderId()) return nil, false, false, err } diff --git a/website/pages/partials/post-processor/yandex-export/Config-required.mdx b/website/pages/partials/post-processor/yandex-export/Config-required.mdx index 9cb0b1a4d..65944cc23 100644 --- a/website/pages/partials/post-processor/yandex-export/Config-required.mdx +++ b/website/pages/partials/post-processor/yandex-export/Config-required.mdx @@ -6,5 +6,5 @@ Alternatively you may set value by environment variable YC_FOLDER_ID. - `service_account_id` (string) - Service Account ID with proper permission to modify an instance, create and attach disk and - make upload to specific paths + make upload to specific Yandex Object Storage paths \ No newline at end of file