Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 408 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 408 Bytes

Serverless Lambda SNS Example

Example illustrating the flow:

Lambda (publisher) => SNS => Lambda (consumer)

Setup

  • Install Node 8.10 (latest runtime supported by AWS Lambda)

  • Install serverless (tested against serverless v1.28.0)

$ npm i -g serverless 
  • Install node modules
$ npm i 
  • Initialize env variables file
$ touch env.yml 
  • Run tests
$ npm test