From eccf0fb51dbae48acd9fb83321a3bc068d526159 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Fri, 27 Sep 2019 09:51:11 -0700 Subject: [PATCH] update docs --- builder/amazon/common/ami_config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builder/amazon/common/ami_config.go b/builder/amazon/common/ami_config.go index 48b0569ac..04aa24cdb 100644 --- a/builder/amazon/common/ami_config.go +++ b/builder/amazon/common/ami_config.go @@ -77,6 +77,10 @@ type AMIConfig struct { // copying a provisioned instance to an AMI. By default, Packer will keep the // encryption setting to what it was in the source image. Setting false will // result in an unencrypted image, and true will result in an encrypted one. + // If you have used the `launch_block_device_mappings` to set an encryption + // key and that key is the same as the one you want the image encrypted with + // at the end, then you don't need to set this field; leaving it empty will + // prevent an unnecessary extra copy step and save you some time. AMIEncryptBootVolume config.Trilean `mapstructure:"encrypt_boot" required:"false"` // ID, alias or ARN of the KMS key to use for boot volume encryption. This // only applies to the main `region`, other regions where the AMI will be