Skip to content
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

The way to run two lambdas, one of which is waiting call from another. #458

Closed
alex-semenyuk opened this issue Jun 4, 2018 · 4 comments
Closed
Labels
blocked/more-info-needed More info is needed from the requester. If no response in 14 days, it will become stale.

Comments

@alex-semenyuk
Copy link

Is there way to run two lambdas, one of which is waiting call from another or plan an enhancement? It would be very helpful for debugging purposes.

@jfuss
Copy link
Contributor

jfuss commented Jun 7, 2018

@alex-semenyuk It is not clear to me what you are asking. Are you asking if one local lambda can call another or something else?

@jfuss jfuss added the blocked/more-info-needed More info is needed from the requester. If no response in 14 days, it will become stale. label Jun 7, 2018
@alex-semenyuk
Copy link
Author

@jfuss Yes, one call another with AWSLambdaClient and would like to have ability to debug them.

@sriram-mv
Copy link
Contributor

sam local start-lambda should be what you are looking for.

@jfuss
Copy link
Contributor

jfuss commented Dec 27, 2018

@alex-semenyuk As @thesriram stated, you can achieve this through sam local start-lambda and configuring the endpoint of the client to be the host:port of the service that the command starts. You may need to use host.docker.internal for docker to talk to you machine.

Closing as this is support and we will use #510 to track the adding documentation for this.

@jfuss jfuss closed this as completed Dec 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked/more-info-needed More info is needed from the requester. If no response in 14 days, it will become stale.
Projects
None yet
Development

No branches or pull requests

3 participants