Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

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
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
aws, node.js
Lĩnh vực
backend, cloud

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aws-samples/lambda-ecs-worker-pattern

Tất cả issue của aws-samples/lambda-ecs-worker-pattern

Issue tương tự

Thêm issue về Backend & API Design

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.