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

Pulumi - creating cloud infrastructure using javascript

Intro I’ve been fooling around with pulumi for a bit now, and thought I would write about it here. This is the third in a series of posts where I create the exact same infrastructure using pulumi in YAML, Python and Javascript. What is it? Pulumi is an infrastructure as code framework with a twist. You can use any language you like in order to write your code (within reason)....

September 21, 2023 · 11 min · codecowboy.io

Serverless Framework

Intro I have been exploring serverless platforms in various guises for some time now. This post is about the serverless framework. I recently came across it as part of my day job and it’s good enough and simple enough that I thought I’d write about it. What is it Serverless framework The serverless framework is a way to deploy serverless functions on AWS. This means a couple of things: Serverless only...

June 24, 2023 · 8 min · codecowboy.io

Signed Commits in Github

Intro I have been working on an open source project called Project Tetsuo. Part of getting serious about it is doing some of the scaffolding that open source projects have. In this post, I’ll talk about working through the process of making signed commits to my codebase. Why Essentially a signed commit is a commit that has been cryptographically signed and validated. This is a good thing to do. It gives people confidence that the commit has come from an authenticated source....

March 2, 2023 · 6 min · codecowboy.io

Tetsuo - a serverless platform

Intro I have been exploring serverless platforms in various guises for some time now. I won’t name any names, but I’ve played around with most of the various major platforms. The common thing that I noticed when using other platforms was that I needed to either wrap my code in a vendor specific DSL or language, or that I needed to import libraries from the vendor. As a developer, that didn’t really float my boat and, was difficult to get up and running as existing code needed to be refactored and so on....

January 9, 2023 · 4 min · codecowboy.io

Pulumi - creating cloud infrastructure using python

Intro I’ve been fooling around with pulumi for a bit now, and thought I would write about it here. What is it? Pulumi is an infrastructure as code framework with a twist. You can use any language you like in order to write your code (within reason). The pulumi tagline is Your cloud. Your language. Your way. I’m here to say it’s true! I’ve previously written about using pulumi and yaml....

December 19, 2022 · 10 min · codecowboy.io

Security in my pipeline - why and how

Intro I’ve been doing a lot recently with what is known in the industry as “shifting left” with security. Essentially this is the concept of moving security related checks closer to the beginning (or the left) of the software development lifecycle. As I’ve been doing some of this with work, it has raised a number of questions for me personally about moving security checks earlier in the software development lifecycle....

December 16, 2022 · 7 min · codecowboy.io

Buildkite and Pulumi

Intro I’ve been doing a bit of work recently with different CI tools. One of the ones that I’ve been using is buildkite. You can find out more about buildkite buildkite.com Infrastructure In order to use buildkite, I need to stand up a buildkite agent, or a runner. In builtkite terms its called an agent. I am going to stand up all of my infrastructure using Infrastructure as Code (IaC). My chosen IaC framework is pulumi....

October 28, 2022 · 9 min · codecowboy.io