Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dkrgit24 opened this issue May 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dkrgit24
Copy link

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.

@dkrgit24 dkrgit24 added the bug Something isn't working label May 29, 2024
@rahul188 rahul188 self-assigned this Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants