aws-samples / aws-samples/lambda-ecs-worker-pattern
InvalidParameterValueExcexption - runtime parameter of nodejs is no longer supported for AWS Lambda functions
- 主要語言
- POV-Ray SDL
- 星號
- 293
- 分支
- 46
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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?
貢獻指南
研究方向
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.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- aws, node.js
- 領域
- backend, cloud
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100