Go-Lambda seed repo
I did a quick PoC where my intension was to create a Lambda function using Golang. I don't know serverless framework, even today. However, in any case I would like to have my own automation of the same using Terraform.
The ability I need:
Create Lambda functions using Terraform
Use Golang to create these lambda functions
Automate the build process
Deploy all functions in one go.
I used the monorepo pattern to accomplish the same. The repository presented here acts as a seed repo to kick start a new project based on Golang, AWS Lambda, and Terraform.
The code also helps create API Gateway and integrate it with the Lambda function created.
Try it and feel free to create a pull request.
Repo:
Keep reading with a 7-day free trial
Subscribe to Let's Do Tech to keep reading this post and get 7 days of free access to the full post archives.