Terragrunt and OpenTofu provisioning VMware vSphere virtual machines from a golden template

Provisioning vSphere VMs with Terragrunt and OpenTofu

I used to build VMs by hand. Click through the wizard, guess an IP, forget which VLAN it went on, and a month later nobody remembers why vm-1042 exists. This post is the replacement: OpenTofu + Terragrunt cloning from a golden template on vSphere, driven by a least-privilege SSO user. Everything here survived a real production estate, including the parts that cost me actual debugging time: the permission model in vCenter is full of silent traps, and I’ll point at every one of them. ...

August 29, 2026 · 18 min · widnyana

Opentofu Backblaze Backend

Using Backblaze B2 as State Storage for OpenTofu Infrastructure as Code (IaC) tools like OpenTofu rely on state files to keep track of the resources they manage. This state file is critical—it’s how OpenTofu knows what’s already been deployed, updated, or destroyed. If you’re looking for a cost-effective, reliable, and scalable storage solution for your state files, Backblaze B2 is an excellent choice. The good news? Configuring OpenTofu to use Backblaze B2 is a breeze! It’s almost identical to setting up Amazon S3 as the backend, with just a tiny tweak. Let’s walk through it. ...

January 20, 2025 · 3 min · widnyana