You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
Fix `_isFunctionDoesNotExist()`
Fix `_isFunctionDoesNotExist()`
abetomo commentedon Feb 16, 2026
Thanks for the report.
There was a bug in the function existence check, so I fixed it. #842