Merge pull request #10514 from hashicorp/fix_source_ami_docs
remove confusing from_scratch reference which is not relevant in this…
This commit is contained in:
commit
85bb4e7a1e
|
@ -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:
|
||||||
|
|
|
@ -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.
|
|
||||||
|
|
Loading…
Reference in New Issue