remove confusing from_scratch reference which is not relevant in this config

This commit is contained in:
Megan Marsh 2021-01-22 09:36:17 -08:00
parent 7d0578c5b7
commit 3aab42b770
2 changed files with 2 additions and 4 deletions

View File

@ -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:

View File

@ -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.