From 3aab42b770f519e20d5ddbc60b2eea563c732ed7 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Fri, 22 Jan 2021 09:36:17 -0800 Subject: [PATCH] remove confusing from_scratch reference which is not relevant in this config --- builder/amazon/common/run_config.go | 3 +-- .../partials/builder/amazon/common/RunConfig-required.mdx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/builder/amazon/common/run_config.go b/builder/amazon/common/run_config.go index f67c0d5da..d9019e4ce 100644 --- a/builder/amazon/common/run_config.go +++ b/builder/amazon/common/run_config.go @@ -196,8 +196,7 @@ type RunConfig struct { SecurityGroupIds []string `mapstructure:"security_group_ids" required:"false"` // The source AMI whose root volume will be copied and // provisioned on the currently running instance. This must be an EBS-backed - // AMI with a root volume snapshot that you have access to. Note: this is not - // used when from_scratch is set to true. + // AMI with a root volume snapshot that you have access to. SourceAmi string `mapstructure:"source_ami" required:"true"` // Filters used to populate the `source_ami` // field. JSON Example: diff --git a/website/content/partials/builder/amazon/common/RunConfig-required.mdx b/website/content/partials/builder/amazon/common/RunConfig-required.mdx index a45dcb335..9afb50308 100644 --- a/website/content/partials/builder/amazon/common/RunConfig-required.mdx +++ b/website/content/partials/builder/amazon/common/RunConfig-required.mdx @@ -5,5 +5,4 @@ - `source_ami` (string) - The source AMI whose root volume will be copied and provisioned on the currently running instance. This must be an EBS-backed - AMI with a root volume snapshot that you have access to. Note: this is not - used when from_scratch is set to true. + AMI with a root volume snapshot that you have access to.