Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
biffgaut committed Feb 3, 2025
1 parent 9255fc9 commit ab3865f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ export function CheckS3Props(propsObject: S3Props | any) {
errorFound = true;
}

if (propsObject?.bucketProps?.encryption == s3.BucketEncryption.KMS_MANAGED) {
if (propsObject?.bucketProps?.encryption === s3.BucketEncryption.KMS_MANAGED) {
if (!propsObject.bucketProps.bucketKeyEnabled) {
printWarning("When using SSE-KMS Bucket Encryption, set bucketKeyEnabled to true to lower costs");
printWarning('https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html');
Expand Down

0 comments on commit ab3865f

Please sign in to comment.