From 7fc9e87e48ca0a5ec8052c3a2554a337b80f68c4 Mon Sep 17 00:00:00 2001 From: Christian Parker Date: Tue, 11 Jun 2024 15:39:50 -0700 Subject: [PATCH] Updated the python version to 12 --- cdk/lambda_ingest_stack.py | 2 +- cdk/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cdk/lambda_ingest_stack.py b/cdk/lambda_ingest_stack.py index 35a27d6..b12d179 100644 --- a/cdk/lambda_ingest_stack.py +++ b/cdk/lambda_ingest_stack.py @@ -66,7 +66,7 @@ def __init__( ), handler="ingest.handler.handler", vpc=vpc_id, - runtime=aws_lambda.Runtime.PYTHON_3_11, + runtime=aws_lambda.Runtime.PYTHON_3_12, allow_public_subnet=True, memory_size=lambda_memory_size, environment=stringify_settings(lambda_env), diff --git a/cdk/utils.py b/cdk/utils.py index 9c827c5..1e7cec4 100644 --- a/cdk/utils.py +++ b/cdk/utils.py @@ -49,5 +49,5 @@ def create_dependencies_layer( self, layer_id, code=layer_code, - compatible_runtimes=[aws_lambda.Runtime.PYTHON_3_11] + compatible_runtimes=[aws_lambda.Runtime.PYTHON_3_12] )