Local development with SAM
This method allows you to iterate very quickly against Lambda code without having to run AWS resources locally.
Requirements
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)
- use
sam deploy --guided
for the first time deploy