Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exoego/localstack-lambda-queue-repro
https://github.com/exoego/localstack-lambda-queue-repro
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/exoego/localstack-lambda-queue-repro
- Owner: exoego
- Created: 2024-02-20T04:23:38.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-20T04:36:23.000Z (11 months ago)
- Last Synced: 2024-11-10T13:06:46.122Z (2 months ago)
- Language: TypeScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# localstack lambda repro
1. Run docker in a terminal with the following command:
```bash
docker-compose up
```2. Open another terminal and run the following command:
```bash
npm cinpm run test
npm run test
```
Note that the second run is intended, to re-create the Lambda function during the test.3. Go to the tab where the docker is running and you will see the following error in Docker logs:
```bash
localstack-1 | 2024-02-20T04:22:34.170 ERROR --- [functhread94] l.s.l.i.event_manager : Error while polling lambda events for function arn:aws:lambda:us-east-1:000000000000:function:my-lambda:$LATEST: Queue not available
localstack-1 | 2024-02-20T04:22:35.171 ERROR --- [functhread94] l.s.l.i.event_manager : Error while polling lambda events for function arn:aws:lambda:us-east-1:000000000000:function:my-lambda:$LATEST: Queue not available
localstack-1 | 2024-02-20T04:22:36.173 ERROR --- [functhread94] l.s.l.i.event_manager : Error while polling lambda events for function arn:aws:lambda:us-east-1:000000000000:function:my-lambda:$LATEST: Queue not available
```