Can't create new function in 2.0.0-alpha.0

Đang mở
#840 1 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
aws, javascript, node.js
Lĩnh vực
cli, cloud

Hướng nghiên cứu

Reproduce deployment of a new function with node-lambda 2.0.0-alpha.0 and inspect the ResourceNotFoundException. Compare the behavior with issue #182 and pull request #757; done means a function that does not yet exist in AWS can be deployed successfully.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I cannot deploy an AWS Lambda function using node-lambda. After upgrading to 2.0.0-alpha.0, when I try to deploy a new function that doesn't exist yet, I get this error:

ResourceNotFoundException: Function not found: arn:aws:lambda:eu-west-1:333333:function:myService-staging
    at AwsRestJsonProtocol.handleError (/home/vlad/n/lib/node_modules/node-lambda/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js:891:27)

This seems related to issue #182 in the node-lambda repository, but in my case it's the opposite. I've verified my IAM permissions include "lambda:*" as suggested, and I don't have VPC settings configured. The function definitely doesn't exist in AWS yet, but node-lambda fails to create it.

Related:

Ngôn ngữ chính
JavaScript
Star
1.4k
Fork
185
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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 motdotla/node-lambda

Tất cả issue của motdotla/node-lambda

Issue tương tự

Thêm issue về JavaScript

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.