From 2–3 days to 30 minutes: an internal IaC platform with Terragrunt stacks
A new team needed an AWS environment: an account baseline, a VPC, DNS, an EKS cluster, GitOps, monitoring, security settings. A DevOps engineer spent two to three days on it: copying folders from another team's live repository, renaming things, hunting for the one value that was different last time.
Today the same team writes about fifteen lines, opens a pull request and has a working environment about thirty minutes after the merge. Most of that time is EKS creating its control plane.
Here is how the platform is built, what I learned while building it, and a clean-room reference implementation you can read and run: github.com/devopsmher/terragrunt-platform .
Where we started
The company had more than seventy DevOps engineers spread across domain teams. Every team had its own Terraform, and most of it had been copied from another team at some point.
That worked until it didn't:
Copies drifted.…