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"` SecurityGroupIds []string `mapstructure:"security_group_ids" required:"false"`
// The source AMI whose root volume will be copied and // The source AMI whose root volume will be copied and
// provisioned on the currently running instance. This must be an EBS-backed // 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 // AMI with a root volume snapshot that you have access to.
// used when from_scratch is set to true.
SourceAmi string `mapstructure:"source_ami" required:"true"` SourceAmi string `mapstructure:"source_ami" required:"true"`
// Filters used to populate the `source_ami` // Filters used to populate the `source_ami`
// field. JSON Example: // field. JSON Example:

View File

@ -5,5 +5,4 @@
- `source_ami` (string) - The source AMI whose root volume will be copied and - `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 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 AMI with a root volume snapshot that you have access to.
used when from_scratch is set to true.