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
My serverless stack includes an API endpoint which I want to use for local testing.
I've added a stream lambda which works with serverless-offline-dynamodb-streams and Localstack, but I don't always need or want to test my stream lambda.
Unfortunately if the Localstack test environment is not fully up and running (e.g. Localstack is not start or the table and stream don't exist) it prevents serverless offline from starting, and my API does not start. It just sits spinning as follows:
$ serverless offline --httpPort 4051 --stage local
serverless-offline-ssm checking serverless version 3.23.0.
⠹ [Webpack] Watch service...
Workaround:
I have to comment out my stream lambda whenever I want to test locally.
Expected behaviour:
If the localstack environment is not running or has not been configured correctly (e.g. the table or stream does not exist) I'd like serverless-offline-dynamodb-streams to output a WARNING message, but allow serverless offline to continue to start.
The text was updated successfully, but these errors were encountered:
My serverless stack includes an API endpoint which I want to use for local testing.
I've added a stream lambda which works with
serverless-offline-dynamodb-streams
and Localstack, but I don't always need or want to test my stream lambda.Unfortunately if the Localstack test environment is not fully up and running (e.g. Localstack is not start or the table and stream don't exist) it prevents serverless offline from starting, and my API does not start. It just sits spinning as follows:
Workaround:
I have to comment out my stream lambda whenever I want to test locally.
Expected behaviour:
serverless-offline-dynamodb-streams
to output a WARNING message, but allow serverless offline to continue to start.The text was updated successfully, but these errors were encountered: