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

Python 3.6 no longer supported #5

Open
bradhannah opened this issue Sep 20, 2022 · 0 comments
Open

Python 3.6 no longer supported #5

bradhannah opened this issue Sep 20, 2022 · 0 comments

Comments

@bradhannah
Copy link

When trying to deploy the CloudFormation templates it fails to create the Lambda. Reviewing CloudTrail shows that it doesn't like the version of Python.

"errorMessage": "The runtime parameter of python3.6 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (python3.9) while creating or updating functions.",
"requestParameters": {
"functionName": "fwbha-findLatestAMI-bab84010",
"runtime": "python3.6",
"role": "arn:aws:iam::394166000478:role/FWAF-BeradHan-StackGetFwbLasterAmi-LambdaFuncRole-1M6TXC2FEB20Y",
"handler": "find_ami.handler",
"code": {
"s3Bucket": "fwaf-has3bucket",
"s3Key": "function/find_ami.zip"
},

I simply switched it to 3.7 and it seemed to run just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant