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

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

Đang mở
#9 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
POV-Ray SDL
Star
293
Fork
46
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.