Take this AWS SAM template and turn it into Serverless Framework. High level instructions below.
-
API Gateway + Lambda function isolated
-
VPC isolated
-
Database isolated
-
(optional) Permissions isolated
-
Everything deploys properly
-
Convert this AWS SAM template to Serverless Framework
-
Remove all unecessary resources that Serverless Framework creates automatically
-
Replace all intrinsic functions with the Serverless Framework equivalent
-
Update all AWS resource names to be dynamic by stage
-
Update all hardcoded region/stage values to be dynamic
-
Split the resources up into separate serverless.yml files based on logical groupings and isolation of resources
-
Use Serverless Framework to add X-Ray tracing, API Gateway REST API logging, and lambda packaging to only include the index.js file
-
Add dynamic stage/region flags
-
Send over to Serverless Guru for review
-
Add Serverless Framework Pro outputs to have each isolated serverless.yml communicate together
-
Setup Serverless Framework Pro AWS IAM role deployments versus using a local profile
-
Move the clientId and clientSecret to Serverless Framework Pro profiles for dev and prod