Infrastructure as Code at Enterprise Scale with Terraform

From 25 days to 25 minutes: how four platform engineers replaced the ticket queue with golden paths, and made the secure way the lazy way.

The old process was a museum piece: a developer who needed a database filed a ticket, the ticket grew approvals like barnacles, and twenty-five days later — if nothing bounced — infrastructure appeared. Nobody designed that system. It accreted. And every day of those twenty-five, the business was paying salaries for people to wait.

Today the same request takes about twenty-five minutes, end to end, with stricter security than the ticket queue ever enforced. The platform engineering team that operates this — thousands of active multi-cloud resources — is four engineers. Not forty. The trick is that we stopped doing the work and started encoding it.

The golden path: ticket queue replaced by module, pull request and policy check
The 25-day ticket queue, replaced by a module from the registry, a pull request checked by policy as code, and infrastructure in 25 minutes.

Golden paths: paved, lit, and patrolled

Everything deploys through HashiCorp Terraform Cloud. The heart of the system is a Private Module Registry — our "golden paths." When a team consumes the storage module or the database module, they inherit our security posture whether they think about it or not: private endpoints only, encryption at rest, audit logs streaming to Splunk. The secure configuration isn’t documented in a wiki nobody reads; it is the default output of the only path that exists.

Culture is what happens by default. If the secure way takes three extra days, your real security policy is "insecure, mostly."

Policy as code, enforced where developers live

Guardrails run as Policy-as-Code — Sentinel and Open Policy Agent — evaluated inside the pull request itself. A resource that violates security baseline or blows past its cost budget is blocked before merge, with a message explaining why, in the same UI where the developer is already working. No committee meeting, no security review scheduled three weeks out. The review happens in seconds, every time, identically.

The 99.9% cycle-time reduction is the headline, but the second-order effect is the one I’d defend in front of a board: when provisioning is instant and safe, experiments become cheap. Teams try architectures they would never have burned a 25-day ticket on. Some of those experiments became ElancoGPT’s serverless backbone. Platform engineering isn’t a cost-saving function that happens to enable innovation — it is an innovation function that happens to save cost.

  • Make the golden path the easiest path, then the only path.
  • Put policy verdicts inside the pull request, not inside a meeting.
  • Measure the queue you’re replacing; "25 days to 25 minutes" moved more executives than any architecture slide.

Where the golden path chafes

Honesty requires a paragraph the brochure version leaves out. A golden path is an opinion with enforcement behind it, and some teams have genuinely unusual requirements that the opinion does not fit. The failure mode to guard against is not rebellion — it is quiet workarounds: infrastructure described in the module and then amended by hand afterwards, which gives you the paperwork of compliance without the substance. So the path needs an exit that is visible rather than easy: an exception process that is slower than the path but faster than the old ticket queue, reviewed by a human, and counted. We watch the exception count the way we watch the cycle time. If it climbs, the path is wrong about something real, and the correct response is to widen the path — not to police the exit harder. (a platform team that never changes its mind becomes the ticket queue it replaced, with better tooling)