Skip to content

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

@vladaman

Description

@vladaman

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions