mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-02-12 15:02:45 +00:00
Upgrade python to 3.14 (#59)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Use the official AWS Lambda Python 3.9 base image
|
||||
FROM amazon/aws-lambda-python:3.9
|
||||
# Use the official AWS Lambda Python 3.14 base image
|
||||
FROM amazon/aws-lambda-python:3.14-x86_64
|
||||
|
||||
# Copy function code
|
||||
COPY alpr_clusters.py ${LAMBDA_TASK_ROOT}
|
||||
|
||||
@@ -66,7 +66,7 @@ resource "aws_lambda_function" "overpass_lambda" {
|
||||
function_name = var.module_name
|
||||
role = aws_iam_role.lambda_role.arn
|
||||
handler = "${var.module_name}.lambda_handler"
|
||||
runtime = "python3.9"
|
||||
runtime = "python3.14"
|
||||
source_code_hash = data.archive_file.python_lambda_package.output_base64sha256
|
||||
timeout = 60
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user