
Worked example · If your production was built by hand
Bringing hand-built cloud infrastructure under Terraform
How your hand-built AWS setup can move into Terraform without taking anything down.
Worked example: a scenario showing how work like this goes for you. It describes no real client, and the strip below lists properties of the approach, not results.
All workImport
Existing resources adopted, not rebuilt
Reviewable
Every change goes through a pull request
Repeatable
A new environment comes from code
Does this sound familiar?
Picture your production built click by click over a couple of years by people who have since moved on. Nobody can list everything that exists, staging has drifted away from production, and creating a new environment is a project in itself. That situation is common, and it is exactly what infrastructure as code is meant to fix.
How it goes for you
- 1
You learn what actually exists
The live account is checked against your team's picture of it. Typical findings include unattached storage, oversized instances and network rules open wider than intended.
- 2
Your setup is imported, not rebuilt
Existing resources are brought into Terraform with import blocks, so nothing is torn down and production keeps running throughout.
- 3
Repeated parts become modules
Networking, compute and access control become parameterised modules, so your environments differ by a variables file instead of by history.
- 4
Your changes go through review
A terraform plan runs on every pull request and changes apply from the protected branch, so infrastructure changes are reviewed like any other code.
Free discovery call
Got a problem that keeps sliding down the list?
A free 30-minute call. Tell us what you are working on and you will leave with a clear approach, a realistic timeline and an estimated budget.