Skip to content

Commit

Permalink
Update packages/@aws-cdk/app-staging-synthesizer-alpha/lib/default-st…
Browse files Browse the repository at this point in the history
…aging-stack.ts
  • Loading branch information
kaizencc authored Jan 30, 2024
1 parent c728a01 commit 45958ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export class DefaultStagingStack extends Stack implements IStagingResources {
let key = undefined;
if (this.stagingBucketEncryption === s3.BucketEncryption.KMS || this.stagingBucketEncryption === undefined) {
if (this.stagingBucketEncryption === undefined) {
// default is KMS for backwards compatibility
// default is KMS as an AWS best practice, and for backwards compatibility
this.stagingBucketEncryption = s3.BucketEncryption.KMS;
}
key = this.createBucketKey();
Expand Down

0 comments on commit 45958ac

Please sign in to comment.