Skip to content

Commit acedfef

Browse files
sthulbdreamorosi
authored andcommitted
chore(ci): Update log retention for layers (#1809)
1 parent 5b2e447 commit acedfef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layers/src/canary-stack.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class CanaryStack extends Stack {
6464
SSM_PARAMETER_LAYER_ARN: props.ssmParameterLayerArn,
6565
},
6666
layers: layer,
67-
logRetention: RetentionDays.ONE_DAY,
67+
logRetention: RetentionDays.TEN_YEARS,
6868
tracing: Tracing.ACTIVE,
6969
});
7070

@@ -79,7 +79,7 @@ export class CanaryStack extends Stack {
7979
// use custom resource to trigger the lambda function during the CFN deployment
8080
const provider = new Provider(this, 'CanaryCustomResourceProvider', {
8181
onEventHandler: canaryFunction,
82-
logRetention: RetentionDays.ONE_DAY,
82+
logRetention: RetentionDays.TEN_YEARS,
8383
});
8484

8585
// random suffix forces recreation of the custom resource otherwise the custom resource will be reused from prevous deployment

0 commit comments

Comments
 (0)