From 4abb541468b72c2e4715dfb6241ee2e55d657d03 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Wed, 24 May 2017 16:39:36 -0700 Subject: [PATCH] fix logging to clarify that encrypt_boot needs to be set, not encrypt, and fix typo --- builder/amazon/common/step_encrypted_ami.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/amazon/common/step_encrypted_ami.go b/builder/amazon/common/step_encrypted_ami.go index 8580927a2..5fb1797eb 100644 --- a/builder/amazon/common/step_encrypted_ami.go +++ b/builder/amazon/common/step_encrypted_ami.go @@ -25,7 +25,7 @@ func (s *StepCreateEncryptedAMICopy) Run(state multistep.StateBag) multistep.Ste // Encrypt boot not set, so skip step if !s.EncryptBootVolume { if kmsKeyId != "" { - log.Printf("Ignoring KMS Key ID: %s, encrypted=false", kmsKeyId) + log.Printf("Ignoring KMS Key ID: %s, encrypted_boot=false", kmsKeyId) } return multistep.ActionContinue } @@ -43,7 +43,7 @@ func (s *StepCreateEncryptedAMICopy) Run(state multistep.StateBag) multistep.Ste ui.Say(fmt.Sprintf("Copying AMI: %s(%s)", region, id)) if kmsKeyId != "" { - ui.Say(fmt.Sprintf("Encypting with KMS Key ID: %s", kmsKeyId)) + ui.Say(fmt.Sprintf("Encrypting with KMS Key ID: %s", kmsKeyId)) } copyOpts := &ec2.CopyImageInput{