When trying to deploy a new service, I’m getting: An error occurred: CreateLambdaFunction - The runtime parameter of nodejs4.3 is no longer supported for creating or updating AWS Lambda functions. Any idea where 4.3 is being pulled from? node -v tells me v10.4.0 so I don’t think it’s that and my project doesn’t (I can’t find it) mention 4.3 anywhere.
It would be in your serverless.yml
file under the provider
section:
provider:
name: aws
runtime: nodejs8.10
Make sure you have it set to the appropriate runtime.
The default should be updated from 4.3 to a supported runtime. Or an explicit runtime should be required.