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 #6
Labels
bug
Something isn't working
Description
When we try to integrate the NewRelic with AWS Controltower by using the cloudformation template (https://fwd.aws/zJYx9?), the cloudformation deployment is failing. We are getting below error....
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. (Service: Lambda, Status Code: 400,
Steps to Reproduce
I'm following this link
https://aws-ia.github.io/cfn-ps-ct-newrelic-one/#_deployment_options
Expected Behaviour
AWS Cloud Formation deployment should complete without any error to integrate with Newrelic
Relevant Logs / Console output
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. (Service: Lambda, Status Code: 400, Request ID: c947d301-615f-417d-aa8e-f5f885a6cadd)" (RequestToken: 1121d3c5-3cf1-80a9-85f6-8cd53ee68d6f, HandlerErrorCode: InvalidRequest).
Your Environment
AWS Control Tower Integration
Additional context
As per my knowledge, recently AWS depreciated Lambda execution with Python_3.7. SO this cloud formation template need to update to support latest Python script/code.
The text was updated successfully, but these errors were encountered: