Skip to content

Commit

Permalink
Update all constructs to match dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ividito committed Jan 6, 2025
1 parent 19b98c1 commit b9cbfec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ingest_api/infrastructure/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def build_api_lambda(
platform="linux/amd64",
build_args={"PGSTAC_VERSION": pgstac_version},
),
runtime=aws_lambda.Runtime.PYTHON_3_9,
runtime=aws_lambda.Runtime.PYTHON_3_11,
timeout=Duration.seconds(30),
handler="handler.handler",
role=handler_role,
Expand Down Expand Up @@ -307,7 +307,7 @@ def build_ingestor(
build_args={"PGSTAC_VERSION": pgstac_version},
),
handler="ingestor.handler",
runtime=aws_lambda.Runtime.PYTHON_3_9,
runtime=aws_lambda.Runtime.PYTHON_3_11,
timeout=Duration.seconds(180),
environment={"DB_SECRET_ARN": db_secret.secret_arn, **env},
vpc=db_vpc,
Expand Down
2 changes: 1 addition & 1 deletion raster_api/infrastructure/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(
veda_raster_function = aws_lambda.Function(
self,
"lambda",
runtime=aws_lambda.Runtime.PYTHON_3_9,
runtime=aws_lambda.Runtime.PYTHON_3_11,
code=aws_lambda.Code.from_docker_build(
path=os.path.abspath(code_dir),
file="raster_api/runtime/Dockerfile",
Expand Down
2 changes: 1 addition & 1 deletion stac_api/infrastructure/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __init__(
self,
"lambda",
handler="handler.handler",
runtime=aws_lambda.Runtime.PYTHON_3_9,
runtime=aws_lambda.Runtime.PYTHON_3_11,
code=aws_lambda.Code.from_docker_build(
path=os.path.abspath(code_dir),
file="stac_api/runtime/Dockerfile",
Expand Down

0 comments on commit b9cbfec

Please sign in to comment.