Skip to content

Commit 42457ab

Browse files
committed
fix: remove lambda log_retention
1 parent 98af46d commit 42457ab

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

easyecs/cloudformation/template/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ def create_autodestroy(stack, deployment_timeout: int):
364364
from aws_cdk.aws_events_targets import LambdaFunction
365365
from aws_cdk.aws_iam import PolicyStatement
366366
from aws_cdk import aws_lambda, Duration
367-
from aws_cdk.aws_logs import RetentionDays
368367

369368
lambdaDeleteStackPolicy = PolicyStatement(
370369
actions=["cloudformation:DeleteStack", "lambda:RemovePermission"],
@@ -380,7 +379,6 @@ def create_autodestroy(stack, deployment_timeout: int):
380379
code=aws_lambda.Code.from_inline(open(lambda_function_file).read()),
381380
handler="index.handler",
382381
timeout=Duration.seconds(300),
383-
log_retention=RetentionDays.ONE_MONTH,
384382
environment={"StackName": stack.artifact_id},
385383
runtime=aws_lambda.Runtime.PYTHON_3_11,
386384
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "easyecs"
3-
version = "0.22.0"
3+
version = "0.23.0"
44
description = ""
55
authors = ["BONVARLET Benjamin <benjaminbonvarlet96@gmail.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)