Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vnair-liveeo committed Apr 17, 2024
1 parent 89dd0af commit 2b66bd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init__(self, scope: Construct,
id: str,
memory: int = 1024,
timeout: int = 30,
runtime: _lambda.Runtime = _lambda.Runtime.PYTHON_3_12,
runtime: _lambda.Runtime = _lambda.Runtime.PYTHON_3_11, #Set to 3.11 as the aws_cdk version does not have 3.12
concurrent: Optional[int] = None,
environment: Optional[Dict] = None,
code_dir:str = "/",
Expand All @@ -35,7 +35,7 @@ def __init__(self, scope: Construct,
reserved_concurrent_executions=concurrent,
timeout=Duration.seconds(timeout),
environment=environment,
log_retention=logs.RetentionDays.ONE_WEEK, #Honestly can be removed if required at this stage
log_retention=logs.RetentionDays.ONE_WEEK, #Honestly can be removed not sure if required at this stage
)

api = apigatewayv2.HttpApi(
Expand Down

0 comments on commit 2b66bd4

Please sign in to comment.