How I deploy aws golang lambdas with terraform

Sean Turner
6 min readApr 18, 2021

These days I’m a bit of a fanboy when it comes to Golang and Terraform, so it’s completely natural that I wanted to make the two play nice together when deploying to AWS Lambda. Which is what I did.

I’ve played around with tools such as Serverless Framework, but I decided would rather do it all in Terraform as Cloudformation (which Serverless Framework utilises when deploying to AWS) is slower and with many limitations. Plus, I think it’s good to use fewer tools where possible.

--

--