Skip to content
AlgoCoder
algocoder@production~/case-studies/devops$ cat d-09.md
[D-09]DevOps & Kubernetes[STATUS: SHIPPED]

Infrastructure-as-Code Standardization

# Five teams had three different ways of provisioning infrastructure. Reviewing changes had become impossible.

#

CLIENT

// client.md

A technology company with five engineering teams operating on a shared cloud account but with materially different practices for how they provisioned and managed infrastructure. Some teams used Terraform. Others used CloudFormation. One team had grown organically with click-ops in the AWS console and was paying the operational cost of that history.

#

PAIN

// pain.md

Infrastructure changes across teams were genuinely difficult to review because the artifacts being reviewed were heterogeneous. Cost attribution was unreliable because tagging practices differed by team. Security posture review was time-consuming because the same baseline had to be verified differently for each team's stack. The leadership wanted standardization that didn't require a multi-quarter rebuild.

#

BUILT

// built.md

A standardization engagement structured to produce convergence without disruption.

Tooling decisionTerraform was selected as the standard. The decision was based on team familiarity (most teams had Terraform experience even where it wasn't their primary tool), ecosystem maturity, and the click-ops team's need for tooling that could import existing resources rather than recreate them.

Module libraryA shared module library was built covering the common infrastructure patterns the teams used — networking, IAM, storage, common compute patterns. Teams using the modules got consistent baseline configuration without having to author it themselves.

Migration plan per teamEach team got a migration plan tailored to their starting point. The teams already on Terraform converged on the shared modules; the CloudFormation team migrated incrementally; the click-ops team's resources were imported into Terraform state and brought under declarative management without recreating them.

Pipeline integrationTerraform plans were generated automatically on infrastructure pull requests; reviewers could see the actual change being proposed without running anything locally. Apply was automated for low-risk changes and gated for high-risk ones.

Tagging and cost attributionStandard tags were enforced through the module library. Cost attribution became reliable across teams without each team needing to remember the conventions independently.

#

OUTCOME

// outcome.md

Infrastructure review across teams became a uniform practice. Cost attribution became reliable. Security baseline verification could be performed against a single tooling target. The teams retained their autonomy on what they built; they converged on how they built it.

The migration was completed within a single quarter without disrupting any team's delivery cadence.

> EOF · D-09 · file 09/12 in devops/
End of Transmission

Building something with shape similar to this?

Book a Free Cloud Audit →