Kelly Davis
10/13/2021, 8:44 PMError: This lambda function uses a runtime that is incompatible with this layer (nodejs14.x is not in [nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, python2.7, python3.6, python3.7, python3.8, python3.9, java8, java8.al2, java11, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, go1.x, ruby2.5, ruby2.7, provided, provided.al2, FROM_IMAGE])
This just started happening - seemingly randomly - after having worked fine for the last day or so.. The specified runtime that it is complaining about is in fact in the list of compatible runtimes..Garret Harp
10/13/2021, 8:45 PMGarret Harp
10/13/2021, 8:47 PMKelly Davis
10/13/2021, 8:47 PM"devDependencies": {
"@aws-cdk/assert": "1.114.0",
"@types/aws-lambda": "^8.10.70"
},
"dependencies": {
"@aws-cdk/aws-iam": "^1.124.0",
"@aws-cdk/aws-ses": "^1.122.0",
"@aws-cdk/core": "1.114.0",
"@serverless-stack/cli": "0.40.5",
"@serverless-stack/resources": "0.40.5",
}
Garret Harp
10/13/2021, 8:52 PMKelly Davis
10/13/2021, 8:56 PMKelly Davis
10/13/2021, 9:03 PMGarret Harp
10/13/2021, 9:06 PMBrinsley
10/14/2021, 7:02 AMsst add-cdk
it’ll make sure the installed package(s) matches what sst is using.