Closed r-ramaraja closed 9 months ago
Hi @r-ramaraja,
apologies that your issue got lost in the backlog! We are closing the ticket due to inactivity, also assuming the issue was fixed in the meantime. If you still have any issues with the latest
localstack version, please reach out!
I am learning how to use localstack to test my serverless app.
I started with a simple serverless app created from a template,
Here's the handler,
Then I installed
serverless-localstack
,I have already installed
localstack
using pip.This is my
serverless.yml
file,I have not specified any stages like
local
, if no stages are specified thenserverless-localstack
by default will deploy to localstack fordev
stage(which is the default)Now, my expectation is that when I do
sls deploy
it should create the lambda function in localstack. And when I doaws --endpoint-url=http://localhost:4566 lambda list-functions
I should see the created function.However, what actually happens is that it just ends with what seems like no errors but I see no function being created. Here are the
sls deploy
logs,Either there are no errors here or for some reason it's not visible.
Here are the logs form the localstack container,
As you can see the
localstack
container logs have an interesting error?I see a mention of
cloudformation
but I can verify that it's running. I checkedhttp://localhost:4566/health
and got,I need help in figuring why the lambda function is not created as expected