Skip to content

Commit

Permalink
make sure function runtime and image runtime match!
Browse files Browse the repository at this point in the history
  • Loading branch information
hrodmn committed Jan 13, 2025
1 parent 0f31041 commit e02d324
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infrastructure/aws/cdk/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ def __init__(
path=os.path.abspath(context_dir),
file="infrastructure/aws/lambda/Dockerfile",
platform="linux/amd64",
build_args={
"PYTHON_VERSION": runtime.to_string().replace("python", ""),
},
),
handler="handler.handler",
memory_size=memory,
Expand Down

0 comments on commit e02d324

Please sign in to comment.