-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoking a lamnda from a lambda fails in SAM local #207
Comments
Today, I don't believe we support the exact api as Lambda itself. This sucks because of these types of oddities when you want a completely local experience. Seems to be related to #12 I think this would be awesome to have, might start trying to chop away at that bit if no one else is working on it. |
Hi, I need to call a Lambda from a Lambda too within SAM local (and then use SAM local to create my Lambdas in the console). Has this been implemented yet? |
Any progress on this? |
I set up a Lambda to Lambda call on my AWS console and the steps I followed are below. This might be useful for setting up a corresponding call in SAM Local (as I would like to use the template file to deploy to AWS too).
|
@MarkWilliams76 do both lambdas run in SAM local? The SO link you provided is about invoking a lambda from another lambda in AWS, not locally. |
@aleybovich No. The steps I'm talking about are via AWS Console. I posted as it's what I want to replicate locally in SAM local. |
Closing this issue as a dupe of #12 |
Hello, any progress on this? |
this might be superseded by #510 |
I have two lambdas runnignin SAM local, one of them (lambda1) is an api endpoint and it works fine. Now, I add another lambda (lambda2) and I want lambda1 to call it, so I add this code in lambda1:
And Lambda2 is this:
I get an error in the callback:
Any ideas?
The text was updated successfully, but these errors were encountered: