spelling/style fixes

This commit is contained in:
Matthew Hooker 2018-01-12 14:26:56 -08:00
parent cfd24eddbf
commit e968f9d6cc
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
2 changed files with 3 additions and 2 deletions

View File

@ -60,7 +60,7 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
// Warn that encrypted must be true when setting kms_key_id
for _, device := range b.config.VolumeMappings {
if device.KmsKeyId != "" && device.Encrypted == false {
errs = packer.MultiErrorAppend(errs, fmt.Errorf("The device %v, must also have `encrytped: "+
errs = packer.MultiErrorAppend(errs, fmt.Errorf("The device %v, must also have `encrypted: "+
"true` when setting a kms_key_id.", device.DeviceName))
}
}

View File

@ -67,7 +67,8 @@ builder.
- `delete_on_termination` (boolean) - Indicates whether the EBS volume is
deleted on instance termination
- `encrypted` (boolean) - Indicates whether to encrypt the volume or not
- `kms_key_id` (string) - The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.
- `kms_key_id` (string) - The ARN for the KMS encryption key. When
specifying `kms_key_id`, `encrypted` needs to be set to `true`.
- `iops` (number) - The number of I/O operations per second (IOPS) that the
volume supports. See the documentation on
[IOPs](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html)