adamdabbracci / vfexample2020

VF Code Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

  1. Install the dependencies: npm install
  2. Install the Serverless CLI: npm install -g sls
  3. Enable verbose debugging: export SLS_DEBUG=*
  4. Deploy the package: sls deploy --stage dev, which will sync the local file and trigger the lambda

Run the lambda locally

Run sls invoke local --stage dev --function extractCustomerData

Deploy

sls deploy --stage dev

Known Errors

Error: Failed to deploy due to existing table Solution: Delete the table manually from DynamoDB

Error: ServiceException: Lambda was unable to decrypt the environment variables due to an internal service error. Solution: Change anything about the IAM permissions in serverless.yml, deploy, then change them back (serverless/examples#279 (comment))

About

VF Code Example


Languages

Language:TypeScript 68.7%Language:JavaScript 31.3%