Terraform Scaffold: The lambda code

Intro I last wrote about an API gateway and lambda function in AWS. I wanted to expand on that and walk through the lambda function in more detail. TLDR - The github repo Th lambda function can be anything, but in my case it takes a JSON input and passes certain fields to another API endpoint. This is most useful for being able to perform transformations on data. You can clone the repo with all of the working code here:...

June 15, 2024 · 5 min · codecowboy.io

Terraform Scaffold: AWS API Gateway

Intro I do a lot of building various platforms for various reasons. I do this as part of my day job, I also do it as part of some open source projects that I work on. I work through building various stacks and infrastructure for things. Today I am going to share my scaffold for AWS API gateways and lambda functions using terraform. This has served me well, and can be adapted to different styles of deployment....

May 4, 2024 · 10 min · codecowboy.io

Terraform Scaffold: AWS

Intro I do a lot of building various platforms for various reasons. I do this as part of my day job, I also do it as part of some open source projects that I work on. I work through building various stacks and infrastructure for things. Today I am going to share my scaffold for AWS using terraform. This has served me well, and can be adapted to different styles of deployment....

April 18, 2024 · 7 min · codecowboy.io

Terraform Maps

Intro I’ve been doing a lot with terraform lately, and I’ve been looking for ways to make my terraform configurations a lot simpler and have less repetition. Like a lot of people, I’ve found myself repeating the same code over and over. An example is where I repeat the same resource over and over but with different configuration parameters. It’s essentially the same resource. Why should I do this? There has to be a better way....

September 26, 2021 · 3 min · codecowboy.io