aws-samples / aws-serverless-saas-layers

A set of labs that illustrates the concept of multi-tenancy. AWS Lambda layers is used to introduce reusable service constructs and abstract multi-tenancy from SaaS developers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lab 1 instruction incomplete - Deploy SAM

SvenBayer opened this issue · comments

Deploying SAM in Lab 1 Step 2 is incomplete. The instructions or the script is missing that npm install needs to be executed in the order-manager and product-manager folders. This is quite user-unfriendly.

Steps to reproduce
User executes server-deploy.sh and follows instructions to set up Lambda functions.

Expected Result
Lambda functions should work and Lab 1 Step 3 should succeed.

Actual result
Lambda functions fail since dynamodb-doc is not found. The server-deploy.sh script and instructions do not mention anything of installing the resources locally before executing the script.

updated server_deploy.sh to add 'npm install'