What commands do you use to package and deploy your SAM code?
aws cloudformation package / sam package
aws cloudformation deploy / sam deploy
What does the sam package command do?
Zips and uploads your transformed cloudformation template and application code to an S3 bucket
What does the sam deploy command do?
Deploys your application from an S3 bucket to CloudFormation
What is a sam template?
A simple yaml template that gets transformed into cloudformation templates by the sam command ‘package’
How can you test Lambda functions locally?
Use the SAM CLI + AWS Toolkits to step-through and debug code