Introduction

I recently set up a three-node Vault Enterprise HA cluster on OpenShift, using HCP Vault as the auto-unseal provider via the transit secrets engine. On paper this is a straightforward combination of well-documented features. In practice, it was a series of traps — some subtle, some spectacular — that took multiple sessions to fully work through.

This post covers the four main challenge areas I hit: getting IPC_LOCK right on OpenShift, wiring up the auto-unseal token flow securely, managing Raft quorum safely during rolling updates, and working around a reconciliation bug in Vault Secrets Operator. I’ll focus on what caught me off guard and what the correct solution looks like.

Workstation Setup for Terraform

- 7 mins read

Introduction

In my last post, I covered how I set up VSCode for Terraform. The second most popular question is how I set up my workstation for Terraform development.

As with most things in the tech world, there are many ways to do things. The following is the way that works for me. I am always looking for ways to improve my workflow, so if you have suggestions, please let me know.

VS Code Setup for Terraform

- 5 mins read

Visual Studio Code

Introduction

One of the first questions I get when teaching Terraform is, “What editor should I use?” My answer is always, “Use what you are comfortable with. If you don’t have a preference, I recommend Visual Studio Code.” Over the years, I have used everything from vi to Notepad++ to Sublime Text to Atom to Visual Studio Code. Visual Studio Code is easy to pick up for new users and easy to customize to your liking.