Update ami_config.go

quote string  in err
This commit is contained in:
Adrien Delorme 2020-03-17 15:41:58 +01:00
parent 4ccf158fbf
commit fab344a1fc
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ func (c *AMIConfig) Prepare(accessConfig *AccessConfig, ctx *interpolate.Context
} }
for _, kmsKey := range kmsKeys { for _, kmsKey := range kmsKeys {
if !validateKmsKey(kmsKey) { if !validateKmsKey(kmsKey) {
errs = append(errs, fmt.Errorf("%s is not a valid KMS Key Id.", kmsKey)) errs = append(errs, fmt.Errorf("%q is not a valid KMS Key Id.", kmsKey))
} }
} }