Skip to content

Commit bb20f48

Browse files
committed
Set bucket removal policy to DESTROY
1 parent 9876bd8 commit bb20f48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cdk/stacks/EpsAssistMeStack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class EpsAssistMeStack extends Stack {
7272
blockPublicAccess: BlockPublicAccess.BLOCK_ALL,
7373
encryption: BucketEncryption.KMS,
7474
encryptionKey: cloudWatchLogsKmsKey,
75-
removalPolicy: RemovalPolicy.RETAIN,
75+
removalPolicy: RemovalPolicy.DESTROY,
7676
autoDeleteObjects: true,
7777
enforceSSL: true,
7878
versioned: false,
@@ -83,7 +83,7 @@ export class EpsAssistMeStack extends Stack {
8383
blockPublicAccess: BlockPublicAccess.BLOCK_ALL,
8484
encryptionKey: cloudWatchLogsKmsKey,
8585
encryption: BucketEncryption.KMS,
86-
removalPolicy: RemovalPolicy.RETAIN,
86+
removalPolicy: RemovalPolicy.DESTROY,
8787
autoDeleteObjects: true,
8888
enforceSSL: true,
8989
versioned: true,

0 commit comments

Comments
 (0)