- Create the project from the following template:
$ sls create --template-url https://github.com/danteinc/js-cloud-native-cookbook/tree/master/ch3/esg-outbound --path cncb-esg-outbound
- Navigate to the cncb-esg-outbound directory with cd cncb-esg-outbound.
- Review the file named serverless.yml with the following content:
service: cncb-esg-outboundprovider: name: aws runtime: nodejs8.10 environment: REPO: enter-your-github-project OWNER: enter-your-github-id TOKEN: enter-your-github-tokenfunctions: listener: handler: handler.listener events: - stream: type: kinesis arn: ${cf:cncb-event-stream-${opt:stage}.streamArn} ...
- Update the REPO, OWNER, and TOKEN environment variables in the serverless.yml file.
- Review the file named ...