
How to setup a Serverless application with AWS SAM and Terraform
TLDR; AWS Serverless Application Model (SAM) is used to quickly create Serverless applications with support for; local development that emulates AWS Lambda, and API Gateway via Docker takes care of blue/green deployments via AWS CodeDeploy infrastructure as code, repeatedly deploy the same infrastructure on multiple environments (dev, test, production). Terraform is a Cloud agnostic Infrastructure as Code language and tooling. takes care of non-serverless, permissions, the “difficult stuff”. »