yarn install
docker-compose up
yarn deploy
awslocal lambda invoke --function-name=serverless-local-hello /dev/null
awslocal logs tail "/aws/lambda/serverless-local-hello"
- See 'Initialising handler' occur once even if invoked multiple times
- Add LOCALSTACK_API_KEY to docker-compose.yml environment
- Repeat steps 3-6
- See 'Initialising handler occur' for every invocation