You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: