(aws_lambda_python): PythonFunction runtime is not respected #14200
Labels
@aws-cdk/aws-lambda-python
bug
This issue is a bug.
needs-reproduction
This issue needs reproduction.
p1
When trying to change from deploying an
aws_lambda.Function
to anaws_lambda_python.PythonFunction
, even though I've setruntime=aws_lambda.Runtime.PYTHON_3_8
the Docker builds are performed withARG IMAGE=amazon/aws-sam-cli-build-image-python3.7
Reproduction Steps
PythonFunction
withruntime=aws_lambda.Runtime.PYTHON_3_8
.cdk synth
What did you expect to happen?
CDK should use the Python 3.8 image to build.
What actually happened?
CDK used the default Python 3.7 image to build.
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: