When I have a moment I'll come back and leave a full comment.
At ExamPro we utilize SAM with CodePipeline, CodeBuild and CodeDeploy.
It was an incredibly painful challenge but once we had our template built out it wasn't too hard.
The goal that anytime we change the code to our lambda function we would do git push and it automatically deploys the new changes. Give our CloudFormation template a look if you're looking for a complete example:
Serverless Contact Form Github Repo
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.