I built a GitHub project to explore and document some basic Terraform scripts, both to learn Terraform, and to figure out how to deploy to AWS Lambda without using serverless or the web UI.
Python Lambda function
The actual Lambda function is just a simple python function, but it’s instructive in that it shows how to structure the function return value to succeed:
|
|
Makefile techniques
Also, the Makefile shows a couple interesting techniques to capture and test dynamically deployed Lambda functions.