diff --git a/post-processor/exoscale-import/post-processor.go b/post-processor/exoscale-import/post-processor.go index f9af00032..b3afee7ac 100644 --- a/post-processor/exoscale-import/post-processor.go +++ b/post-processor/exoscale-import/post-processor.go @@ -73,13 +73,14 @@ func (p *PostProcessor) Configure(raws ...interface{}) error { } requiredArgs := map[string]*string{ - "api_key": &p.config.APIKey, - "api_secret": &p.config.APISecret, - "api_endpoint": &p.config.APIEndpoint, - "sos_endpoint": &p.config.SOSEndpoint, - "image_bucket": &p.config.ImageBucket, - "template_zone": &p.config.TemplateZone, - "template_name": &p.config.TemplateName, + "api_key": &p.config.APIKey, + "api_secret": &p.config.APISecret, + "api_endpoint": &p.config.APIEndpoint, + "sos_endpoint": &p.config.SOSEndpoint, + "image_bucket": &p.config.ImageBucket, + "template_zone": &p.config.TemplateZone, + "template_name": &p.config.TemplateName, + "template_description": &p.config.TemplateDescription, } errs := new(packer.MultiError) diff --git a/website/source/docs/post-processors/exoscale-import.html.md b/website/source/docs/post-processors/exoscale-import.html.md index ed3cb9f01..defeea078 100644 --- a/website/source/docs/post-processors/exoscale-import.html.md +++ b/website/source/docs/post-processors/exoscale-import.html.md @@ -44,6 +44,8 @@ Required: - `template_name` (string) - The name to be used for registering the template. +- `template_description` (string) - The description for the registered template. + Optional: - `api_endpoint` (string) - The API endpoint used to communicate with the @@ -55,9 +57,6 @@ Optional: - `template_zone` (string) - The Exoscale [zone](https://www.exoscale.com/datacenters/) in which to register the template. Defaults to `ch-gva-2`. -- `template_description` (string) - An optional text description for the - registered template. - - `template_username` (string) - An optional username to be used to log into Compute instances using this template. @@ -84,6 +83,7 @@ Here is a basic example: "api_secret": "{{user `exoscale_api_secret`}}", "image_bucket": "my-templates", "template_name": "myapp", + "template_description": "myapp v1.2.3", "template_username": "admin" } ```