diff --git a/builder/amazon/common/ami_config_test.go b/builder/amazon/common/ami_config_test.go index cf49ef921..f3d098d69 100644 --- a/builder/amazon/common/ami_config_test.go +++ b/builder/amazon/common/ami_config_test.go @@ -178,7 +178,7 @@ func TestAMIConfigPrepare_Share_EncryptedBoot(t *testing.T) { func TestAMIConfigPrepare_ValidateKmsKey(t *testing.T) { c := testAMIConfig() - c.AMIEncryptBootVolume = true + c.AMIEncryptBootVolume = aws.Bool(true) accessConf := testAccessConfig()