Moving Terraform State

The other day I was updating some of my Terraform configurations and as I went through my various deployments, I realized that my state file layout and naming convention has changed over time. I have a bunch of files in...

Terraform with pre-commit Hooks

The more time that I spend writing Terraform and Terraform Modules, the more aware I have become of just how often I forget to run tools like terraform fmt and do the necessary code prettying things like making sure that...

Building a Packer Image with Terraform

Over the last few years, I have used HashiCorp’s Packer and Ansible to build a lot of images. One of the problems that I have had with my setup generally is how to set various variable that are needed for...

Terraform Sub Modules

Over the last few months I have been writing a lot of Terraform code. One of the main issues that I’ve been dealing with is how to break apart modules. For example, I wrote a module for deploying an Application...

Terraform Using Assume Roles

I recently wrote a post about my switch from aws-okta to saml2aws. On the Okta side, everything has worked as expected. Unfortunately, i wasn’t as lucky with my AzureAD configuration. The problem has to do with how I configure my...