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