aws-cdk-examples icon indicating copy to clipboard operation
aws-cdk-examples copied to clipboard

Lambda Python Runtimes `<=3.7` no longer supported by CloudFormation

Open malachi-constant opened this issue 1 year ago • 0 comments
trafficstars

Describe the bug

Lambda Functions with Python Runtimes <=3.7 are no longer supported by CloudFormation

Expected Behavior

Successful deployment of examples in repositories.

Current Behavior

Functions created using the python3.7 runtime fail with..

Resource handler returned message: "The runtime parameter of python3.7 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (python3.12) while creating or updating functions.

Reproduction Steps

A current failing example:

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.131.0

Framework Version

No response

Node.js Version

v18.16.0

OS

Mac

Language

Python

Language Version

No response

malachi-constant avatar Mar 12 '24 20:03 malachi-constant