Local development with SAM
This method allows you to iterate very quickly against Lambda code without having to run AWS resources locally.
Step 1: Create and deploy a simple SAM Template (see template.yaml)
- must include the environment varibales on the Lambda to pass the SAMPLE_TABLE in (see line 17)
sam deploy --guidedfor the first time deploy