From 7928b5b04551403342b1fdbee2e43ff41732fee2 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Thu, 24 Oct 2019 10:19:03 -0700 Subject: [PATCH] fix transcription error from when we moved to generated docs --- builder/amazon/common/ami_config.go | 7 +++---- .../builder/amazon/common/_AMIConfig-not-required.html.md | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/builder/amazon/common/ami_config.go b/builder/amazon/common/ami_config.go index 04aa24cdb..77d1418ee 100644 --- a/builder/amazon/common/ami_config.go +++ b/builder/amazon/common/ami_config.go @@ -23,10 +23,9 @@ type AMIConfig struct { // engine, see Build template // data for more information. AMIDescription string `mapstructure:"ami_description" required:"false"` - // The description to set for the resulting AMI(s). By default this - // description is empty. This is a [template - // engine](../templates/engine.html), see [Build template - // data](#build-template-data) for more information. + // The type of virtualization for the AMI + // you are building. This option is required to register HVM images. Can be + // paravirtual (default) or hvm. AMIVirtType string `mapstructure:"ami_virtualization_type" required:"false"` // A list of account IDs that have access to // launch the resulting AMI(s). By default no additional users other than the diff --git a/website/source/partials/builder/amazon/common/_AMIConfig-not-required.html.md b/website/source/partials/builder/amazon/common/_AMIConfig-not-required.html.md index f728b7564..f11acf43f 100644 --- a/website/source/partials/builder/amazon/common/_AMIConfig-not-required.html.md +++ b/website/source/partials/builder/amazon/common/_AMIConfig-not-required.html.md @@ -5,10 +5,9 @@ engine, see Build template data for more information. -- `ami_virtualization_type` (string) - The description to set for the resulting AMI(s). By default this - description is empty. This is a [template - engine](../templates/engine.html), see [Build template - data](#build-template-data) for more information. +- `ami_virtualization_type` (string) - The type of virtualization for the AMI + you are building. This option is required to register HVM images. Can be + paravirtual (default) or hvm. - `ami_users` ([]string) - A list of account IDs that have access to launch the resulting AMI(s). By default no additional users other than the