File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export class CanaryStack extends Stack {
64
64
SSM_PARAMETER_LAYER_ARN : props . ssmParameterLayerArn ,
65
65
} ,
66
66
layers : layer ,
67
- logRetention : RetentionDays . ONE_DAY ,
67
+ logRetention : RetentionDays . TEN_YEARS ,
68
68
tracing : Tracing . ACTIVE ,
69
69
} ) ;
70
70
@@ -79,7 +79,7 @@ export class CanaryStack extends Stack {
79
79
// use custom resource to trigger the lambda function during the CFN deployment
80
80
const provider = new Provider ( this , 'CanaryCustomResourceProvider' , {
81
81
onEventHandler : canaryFunction ,
82
- logRetention : RetentionDays . ONE_DAY ,
82
+ logRetention : RetentionDays . TEN_YEARS ,
83
83
} ) ;
84
84
85
85
// random suffix forces recreation of the custom resource otherwise the custom resource will be reused from prevous deployment
You can’t perform that action at this time.
0 commit comments