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] )