Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

InvalidParameterValueExcexption - runtime parameter of nodejs is no longer supported for AWS Lambda functions

Open
#9 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, node.js
Domain
backend, cloud

Research direction

Start with the fab setup entry point and trace the AWS Lambda create-function command shown in the issue to where its --runtime value is configured. Check the supported Node.js runtime value, update the configuration, and rerun fab setup or the displayed AWS command to confirm the function can be created.

Written by the indexing model from the issue text.

Description

I recieved the following error after running fab setup:
gg

Fatal error: local() encountered an error (return code 255) while executing 'aws lambda create-function    --function-name ecs-worker-launcher    --zip-file fileb://./ecs-worker-launcher.zip    --role arn:aws:iam::622674099863:role/codeguru-Lambda-Execution-Role    --handler ecs-worker-launcher.handler    --runtime nodejs    --region us-east-1    --profile codeguru    --output json'

Aborting.

I tried running the failed command and failed again:

$ aws lambda create-function    --function-name ecs-worker-launcher    --zip-file fileb://./ecs-worker-launcher.zip    --role arn:aws:iam::622674099863:role/codeguru-Lambda-Execution-Role    --handler ecs-worker-launcher.handler    --runtime nodejs    --region us-east-1    --profile codeguru    --output json

An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: The runtime parameter of nodejs is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs4.3) while creating or updating functions.

It seems like this project uses a no longer supported api for lambda functions. How can I fix this?

Dominant language
POV-Ray SDL
Stars
293
Forks
46
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws-samples/lambda-ecs-worker-pattern

All issues in aws-samples/lambda-ecs-worker-pattern

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.