InvalidParameterValueExcexption - runtime parameter of nodejs is no longer supported for AWS Lambda functions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
Bắt đầu từ điểm vào của thiết lập fab và lần theo lệnh AWS Lambda create-function được hiển thị trong issue đến nơi giá trị --runtime của lệnh được cấu hình. Kiểm tra giá trị runtime Node.js được hỗ trợ, cập nhật cấu hình và chạy lại fab setup hoặc lệnh AWS được hiển thị để xác nhận rằng có thể tạo function.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
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?
- 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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws-samples/lambda-ecs-worker-pattern
-
fab setup command fails Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
aws-samples/lambda-ecs-worker-pattern#6 · 4 bình luận · 3 reaction ·
Tất cả issue của aws-samples/lambda-ecs-worker-pattern
Issue tương tự
-
schema_dict_to_pydantic_model TypeError on JSON Schema type arrays → extract falls back to free-text Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
browser-use/browser-use#5904 ·
-
type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ynput/ayon-python-api#363 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug severity:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100