Skip to content

Commit 9e3d5a7

Browse files
committed
Retain log groups according to retention policy of E2E tests to allow for easier debugging.
1 parent 7a59469 commit 9e3d5a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • powertools-e2e-tests/src/test/java/software/amazon/lambda/powertools/testutils

powertools-e2e-tests/src/test/java/software/amazon/lambda/powertools/testutils/Infrastructure.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ private Stack createStackWithLambda() {
247247
.create(e2eStack, functionName + "-logs")
248248
.logGroupName("/aws/lambda/" + functionName)
249249
.retention(RetentionDays.ONE_DAY)
250-
.removalPolicy(RemovalPolicy.DESTROY)
250+
.removalPolicy(RemovalPolicy.RETAIN)
251251
.build();
252252

253253
if (!StringUtils.isEmpty(idempotencyTable)) {

0 commit comments

Comments
 (0)