From abef9820c73c6842409ac99e1deff6d1746d1eed Mon Sep 17 00:00:00 2001 From: Jason McIntosh Date: Thu, 30 May 2019 17:25:36 -0500 Subject: [PATCH] Fixed spacing on comment --- builder/amazon/common/ami_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/amazon/common/ami_config.go b/builder/amazon/common/ami_config.go index 8535c2330..343d7f1bd 100644 --- a/builder/amazon/common/ami_config.go +++ b/builder/amazon/common/ami_config.go @@ -59,7 +59,7 @@ func (c *AMIConfig) Prepare(accessConfig *AccessConfig, ctx *interpolate.Context errs = append(errs, c.prepareRegions(accessConfig)...) - // Prevent sharing of default KMS key encrypted volumes with other aws users + // Prevent sharing of default KMS key encrypted volumes with other aws users if len(c.AMIUsers) > 0 { if len(c.AMIKmsKeyId) == 0 && c.AMIEncryptBootVolume != nil && *c.AMIEncryptBootVolume { errs = append(errs, fmt.Errorf("Cannot share AMI encrypted with default KMS key"))