Skip to content

Commit 7fc0b0a

Browse files
authored
fix: upgrade lambda runtimes to 3.12 (#485)
1 parent 8dbc12a commit 7fc0b0a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

database/infrastructure/construct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848
self,
4949
"lambda",
5050
handler="handler.handler",
51-
runtime=aws_lambda.Runtime.PYTHON_3_11,
51+
runtime=aws_lambda.Runtime.PYTHON_3_12,
5252
code=aws_lambda.Code.from_docker_build(
5353
path=os.path.abspath("./"),
5454
file="database/runtime/Dockerfile",

ingest_api/infrastructure/construct.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def build_api_lambda(
138138
platform="linux/amd64",
139139
build_args={"PGSTAC_VERSION": pgstac_version},
140140
),
141-
runtime=aws_lambda.Runtime.PYTHON_3_11,
141+
runtime=aws_lambda.Runtime.PYTHON_3_12,
142142
timeout=Duration.seconds(30),
143143
handler="handler.handler",
144144
role=handler_role,
@@ -277,7 +277,7 @@ def build_ingestor(
277277
build_args={"PGSTAC_VERSION": pgstac_version},
278278
),
279279
handler="ingestor.handler",
280-
runtime=aws_lambda.Runtime.PYTHON_3_11,
280+
runtime=aws_lambda.Runtime.PYTHON_3_12,
281281
timeout=Duration.seconds(180),
282282
environment={"DB_SECRET_ARN": db_secret.secret_arn, **env},
283283
vpc=db_vpc,

raster_api/infrastructure/construct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(
4040
veda_raster_function = aws_lambda.Function(
4141
self,
4242
"lambda",
43-
runtime=aws_lambda.Runtime.PYTHON_3_11,
43+
runtime=aws_lambda.Runtime.PYTHON_3_12,
4444
code=aws_lambda.Code.from_docker_build(
4545
path=os.path.abspath(code_dir),
4646
file="raster_api/runtime/Dockerfile",

stac_api/infrastructure/construct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(
6363
self,
6464
"lambda",
6565
handler="handler.handler",
66-
runtime=aws_lambda.Runtime.PYTHON_3_11,
66+
runtime=aws_lambda.Runtime.PYTHON_3_12,
6767
code=aws_lambda.Code.from_docker_build(
6868
path=os.path.abspath(code_dir),
6969
file="stac_api/runtime/Dockerfile",

0 commit comments

Comments
 (0)