1.0.0 • Published 5 years ago

msa-layer-response-builder v1.0.0

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
5 years ago

response-builder

A helper that formats the response to a standard response object before return it to the client

How to deploy to AWS Lambda Layers manually from local

  1. Run npm run test first to run the project's test
  2. If Step 1 is passed, zip the project folder - zip response-builder.zip ../response-builder
  3. Login to AWS Lambda, make sure the region is set to ap-southeast-1 (Singapore)
  4. On the left side bar, click on Layers
  5. Click on response-builder, then click on Create Version
  6. Click on Upload a .zip file, then select the zipped files in Step 2
  7. Choose a compatible runtimes, set it to the current nodejs version that is used in MSA project
  8. Click on Create
  9. Remove the old layer versions if they are not being used anymore
1.0.0

5 years ago