When trying to run a lambda targeting nodejs20.x locally on WebStorm as an AWS Lambda run configuration I experience the following error:
Error: the runtime `nodejs20.x` is unsupported.
I am able to invoke the lambda locally, however:
$ sam local invoke getAllItemsFunction -e getAllItemsRequest.json
Invoking src/handlers/get-all-items.getAllItemsHandler (nodejs20.x)
Local image is up-to-date
Using local image: public.ecr.aws/lambda/nodejs:20-rapid-arm64.
Mounting /home/fernando/projects/samnodetestone/nodetestone/.aws-sam/build/getAllItemsFunction as /var/task:ro,delegated, inside runtime container
< additional output removed>
Toolkit: AWS Toolkit For JetBrains 2.14-233
OS: Linux 6.6.0-1003-apple-arm
IDE: WebStorm 233
When trying to run a lambda targeting nodejs20.x locally on WebStorm as an AWS Lambda run configuration I experience the following error:
I am able to invoke the lambda locally, however:
Toolkit: AWS Toolkit For JetBrains 2.14-233 OS: Linux 6.6.0-1003-apple-arm IDE: WebStorm 233