Skip to content

Commit

Permalink
chore(layers): Update log retention to 10 years (#3424)
Browse files Browse the repository at this point in the history
Update canary_stack.py

Signed-off-by: Simon Thulbourn <sthulb@users.noreply.github.com>
  • Loading branch information
sthulb authored Nov 28, 2023
1 parent a25e1b7 commit f2f98b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layer/layer/canary_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def __init__(
timeout=Duration.seconds(10),
runtime=Runtime.PYTHON_3_9,
architecture=architecture,
log_retention=RetentionDays.ONE_MONTH,
log_retention=RetentionDays.TEN_YEARS,
role=execution_role,
environment={
"POWERTOOLS_VERSION": powertools_version,
Expand All @@ -166,7 +166,7 @@ def __init__(
self,
"CanaryCustomResource",
on_event_handler=canary_lambda,
log_retention=RetentionDays.ONE_MONTH,
log_retention=RetentionDays.TEN_YEARS,
)
# force to recreate resource on each deployment with randomized name
CustomResource(
Expand Down

0 comments on commit f2f98b5

Please sign in to comment.