Terraform for Active Directory Testing: A Practical Example

In my current job, I’m one of the local resident Active Directory experts. Granted my knowledge is a little dated on the subject but I can still get around enough as needed. In order to perform testing, we need to spin up test environments for Active Directory and don’t want to maintain a long lived infrastructure for it. I was having to constantly spin these up by hand and thought there had to be a way to create a test active directory with Terraform....

October 27, 2023 · 13 min · Scott

Terraform Import Made Easy: Conquering Infrastructure Management Complexities

I will admit that I’m quite a bit of a rookie when it comes to Terraform and the whole infrastructure as code scene but I’m learning. One of the most powerful tools I’ve found when trying to convert your current infrastructure into Terraform is the terraform import command. After too many times of doing an import and manually copying information from my state file, I felt there had to be a way to simplify Terraform import....

October 22, 2023 · 7 min · Scott

Infrastructure as Code with Terraform and GitHub Actions: A Kubernetes Case Study

As I’ve been working with Terraform more and more these days, I felt that it would be a good idea to move away from some of my other hacked together solutions in favor of Terraform. My next logical step was to focus on kubernetes management with terraform and github actions. This idea builds upon my previous Using Github to Manage Kubernetes article. As I started down this path, I realized that I needed a way to manage my state file....

October 13, 2023 · 7 min · Scott

Managing Your Terraform State File

I started messing with GitHub Actions a little more in my Using GitHub to Manage Kubernetes post. I also did some tinkering around with Terraform in my How to Use Terraform to Deploy a Python Script to AWS Lambda post. As I started messing with Terraform even more, I realized how cool it would be to merge Terraform and GitHub Actions. As I started to do this, I ran into the problem of how to manage Terraform state files....

October 2, 2023 · 3 min · Scott

Benchmarking Your Rego Policies

Yes, I’ve been on a Rego kick lately. I posted Kickstart Your Journey With Rego as a way for others to get onboard as well. As with any language, it’s always good to know the impact of your logic. After gaining an understanding of the language and flow, it only makes sense to begin benchmarking your Rego policies to understand the impact of awesome policies. Introduction to Benchmarking Your Rego Policies In the delightful world of policy and security, Rego is the belle of the ball....

July 6, 2023 · 5 min · Scott