Infrastructure automation · Nationwide

Infrastructure automation and Terraform

We help network teams use Terraform to repeat changes they already understand, such as connecting a new Azure spoke or applying a standard firewall configuration. Your team receives code in its own repository, a way to review proposed changes and a checklist for verifying the network after deployment.

Tooling
Terraform and Infrastructure as Code
Targets
Azure networking, firewalls, network configuration
Ownership
Your repositories, your team, documented handover

Scroll to explore the model. Skip to service details

Infrastructure as Code change workflow Conceptual workflow; tooling and approval gates are adapted to each environment. A loop of five steps: 1, versioned code in a repository; 2, plan, which previews the diff; 3, peer review and approval of the plan; 4, apply, which runs only the approved change; 5, verify the result and detect drift by comparing the live environment to the code. An approval gate sits between peer review and apply. Findings from verification and drift detection feed back into the versioned code, closing the loop. A plan summary card attached to the plan step reads: plus 1 to add, tilde 1 to change, 0 to destroy. FINDINGS FEED BACK INTO CODE APPROVAL GATE PLAN SUMMARY + 1 to add ~ 1 to change − 0 to destroy STEP 01Versioned codeRepository STEP 02PlanPreview the diff STEP 03Peer review & approvalReviewed plan STEP 04ApplyApproved change only STEP 05Verify & detect driftCompare live to code CONCEPTUAL Infrastructure as Code change workflow Conceptual workflow; tooling and approval gates are adapted to each environment. A loop of five steps: 1, versioned code in a repository; 2, plan, which previews the diff; 3, peer review and approval of the plan; 4, apply, which runs only the approved change; 5, verify the result and detect drift by comparing the live environment to the code. An approval gate sits between peer review and apply. Findings from verification and drift detection feed back into the versioned code, closing the loop. A plan summary card attached to the plan step reads: plus 1 to add, tilde 1 to change, 0 to destroy. FINDINGS FEED BACK INTO CODE APPROVAL GATE PLAN SUMMARY + 1 to add ~ 1 to change − 0 to destroy STEP 01Versioned codeRepository STEP 02PlanPreview the diff STEP 03Peer review & approvalReviewed plan STEP 04ApplyApproved change only STEP 05Verify & detect driftCompare live to code CONCEPTUAL
Stage

Interactive model

Follow one change through the workflow

An illustrative change. The model and the short excerpts are examples — not output from a live system, and nothing is deployed.

  1. Source · 1 of 4

    Network intent lives in version control

    Modules, environment values and naming and addressing standards live in a repository. A change starts as a reviewed commit on a short-lived branch, not a console session. In the model the change is still only a definition — a wireframe of the layers it describes.

    • Reusable modules for repeated patterns
    • Environment values kept apart from logic
    • Every change traceable to a commit
    hub.tf — illustrative excerpt
    module "hub_network" {
      source        = "./modules/hub"
      name          = "hub-example"
      address_space = ["10.10.0.0/22"]
    }
  2. Plan · 2 of 4

    Preview exactly what will change

    A plan compares the code with what exists and lists every resource it would add, change or remove — before anything is touched. In the model the layers separate: only the routing layer lights, gaining one new entry for each of the three targets.

    • Compared against the current state, not assumptions
    • Unexpected additions or removals are visible up front
    • The plan itself is what gets reviewed
    Plan summary — illustrative example
    ~ route table "rt-spoke-a"
        + route "to-datacenter"
            next hop: inspection layer
    ~ route table "rt-spoke-b"   (same entry)
    ~ route table "rt-spoke-c"   (same entry)
    
    Plan: 0 to add, 3 to change, 0 to destroy.
  3. Review · 3 of 4

    A second engineer checks and approves the plan

    The plan is reviewed against the approved design and the change window. The four rings around the change in the model are these four checks, lit in order; the gate stays closed until both the author and the reviewer have approved. Anything unexpected stops the change here.

    • Matches the approved design
    • Plan shows only the expected resources
    • Rollback path identified
    • Change window and owner confirmed
    Review checklist — example
    [ ] 1  Matches the approved design
    [ ] 2  Plan shows only expected resources
    [ ] 3  Rollback path identified
    [ ] 4  Change window and owner confirmed
  4. Deploy · 4 of 4

    Apply the approved plan in stages, then verify

    Only the reviewed plan is applied — where the change allows, to one target first, checked, then the rest. Behavior is verified after each step (routes, policy, connectivity) and the next plan should show no drift. Rollback stays an engineering step that was planned in review, not a promise.

    • Approved plan applied, nothing else
    • One target at a time, each verified
    • Next plan reports no changes
    Post-change checks — example
    [ ] Approved plan applied, nothing else
    [ ] Effective routes verified on each target
    [ ] Test flow: app subnet → data center
    [ ] Next plan reports no changes

When to bring us in

Situations this work is built for

  1. The same change is made by hand, repeatedly

    New Azure spokes, firewall objects, site templates or VLAN and routing changes are built manually each time, and each instance comes out slightly different.

  2. Environments have drifted apart

    Production, test and recovery environments were meant to match but now differ in ways nobody has fully catalogued.

  3. Terraform exists but is not trusted

    Code was written for an initial build, manual changes then overtook it, and nobody is confident what a plan would do if it were applied today.

  4. Cloud growth is outpacing review

    Azure networking is expanding, and route table, NSG and peering changes need consistent review before they reach production.

Service details

Choose repeatable workstreams

Automation pays off where a change is frequent, structurally similar and costly to get wrong, so we start by choosing those.

Not every change deserves code. We look for workstreams with a stable shape that recurs: building an Azure spoke with its peering, route table and NSGs; adding a site to the WAN; publishing an application through a firewall; creating standard address and service objects. A one-off change to a unique device is often better served by a well-written change plan.

Selecting candidates for automation
SignalWhy it matters
The change recurs with the same structureCode captures the structure once and reduces variation between instances
Errors are costly or slow to detectA plan and a peer review show the effect before anything is applied
Several teams make the same kind of changeA shared module or template becomes the agreed definition of correct
A maintained provider or API exists for the platform and versionWithout one, automation becomes fragile scripting that is harder to own than the manual process it replaced

Our automation work rests on the same engineering as the rest of our practice, particularly Azure and hybrid cloud networking and enterprise network engineering. Code is only as sound as the design it encodes, so the design questions come first.

Conceptual sequence of four platforms illustrating repeatable deployment: a wireframe blueprint of a network appliance, the appliance with its parts separated, a completed switch, and three identical switches connected in a row
Conceptual illustration Blueprint, separated parts, a finished switch and identical copies — a metaphor for source, plan, review and deploy.

Model infrastructure and dependencies

Good infrastructure code mirrors how the network actually depends on itself.

We model infrastructure so that dependencies are explicit: a spoke depends on the hub’s address plan and route tables, a firewall rule depends on the zones and objects it references, and a load balancer depends on the subnets and health probes behind it. Modules are drawn around units that change together and are owned by the same people, rather than around every resource type.

State
Terraform records what it manages in state. We design where state lives, how it is locked during changes, who can read it — it can contain sensitive values — and how it is split so one change cannot reach unrelated infrastructure.
Modules
Reusable definitions with clear inputs and outputs, versioned so consumers adopt changes deliberately. They are built for your environment and owned by your team; we do not supply a packaged module catalog or platform.
Existing resources
Most environments already exist. We bring resources under management through import, where the tooling and provider versions support it, and confirm a clean plan before the code becomes the source of truth.
Drift
Differences between the code and the real environment. A regular plan reveals drift; the harder decision is whether to correct the code or the infrastructure, and who makes that call.

Standardize configuration

Automation encodes standards; without agreed standards it only repeats inconsistency faster.

Before writing modules, we agree the conventions they will enforce: naming, address allocation, tagging, route table structure, NSG rule ordering, firewall object and rule naming, logging and management-plane access. Most of these conventions are valuable whether or not every change is automated.

  • Network and cloud standards: address plans and subnet sizing, route table patterns for hub-and-spoke designs, NSG baseline rules and a defined exceptions process.
  • Firewall configuration standards: zone naming, address and service objects, rule naming and descriptions, log forwarding, and the security profiles attached by default.
  • Security baselines: management access restricted to defined sources, routing protocol authentication where supported, and secrets kept out of code and out of version history.

Standards are written down next to the code so a reviewer can check a change against them, and so the team can tell a deliberate exception from a mistake. When the same exception keeps appearing, that is a signal to revisit the standard rather than to keep granting it.

Review and validate changes

The value of Infrastructure as Code comes from the review and validation around it, not from the code alone.

Infrastructure as Code change workflow Conceptual workflow; tooling and approval gates are adapted to each environment. A loop of five steps: 1, versioned code in a repository; 2, plan, which previews the diff; 3, peer review and approval of the plan; 4, apply, which runs only the approved change; 5, verify the result and detect drift by comparing the live environment to the code. An approval gate sits between peer review and apply. Findings from verification and drift detection feed back into the versioned code, closing the loop. A plan summary card attached to the plan step reads: plus 1 to add, tilde 1 to change, 0 to destroy. FINDINGS FEED BACK INTO CODE APPROVAL GATE PLAN SUMMARY + 1 to add ~ 1 to change − 0 to destroy STEP 01Versioned codeRepository STEP 02PlanPreview the diff STEP 03Peer review & approvalReviewed plan STEP 04ApplyApproved change only STEP 05Verify & detect driftCompare live to code CONCEPTUAL Infrastructure as Code change workflow Conceptual workflow; tooling and approval gates are adapted to each environment. A loop of five steps: 1, versioned code in a repository; 2, plan, which previews the diff; 3, peer review and approval of the plan; 4, apply, which runs only the approved change; 5, verify the result and detect drift by comparing the live environment to the code. An approval gate sits between peer review and apply. Findings from verification and drift detection feed back into the versioned code, closing the loop. A plan summary card attached to the plan step reads: plus 1 to add, tilde 1 to change, 0 to destroy. FINDINGS FEED BACK INTO CODE APPROVAL GATE PLAN SUMMARY + 1 to add ~ 1 to change − 0 to destroy STEP 01Versioned codeRepository STEP 02PlanPreview the diff STEP 03Peer review & approvalReviewed plan STEP 04ApplyApproved change only STEP 05Verify & detect driftCompare live to code CONCEPTUAL
Conceptual workflow: versioned code produces a plan, the plan is peer-reviewed, an approved change is applied, and the result is verified and checked for drift. Tooling and approval gates are adapted to your environment.

Every change starts as a proposed commit in version control. Automated checks run formatting, validation and a plan; a reviewer reads the plan as well as the code, because the plan shows what will actually be created, changed or destroyed. Apply is a controlled step with clear permissions, and verification afterwards confirms the network behaves as intended — routes present, flows permitted, health probes passing.

What a reviewer looks for in a network plan

  • Any resource marked for replacement or destruction, and whether that interrupts traffic
  • Changes to route tables, peering or gateways that alter traffic paths
  • Security rules that widen access beyond the stated intent
  • Changes outside the declared scope of the commit
  • Values that should come from shared definitions but are hard-coded

Document ownership and handover

Automation your team cannot maintain is a liability, so handover is designed in from the start.

Code, state and pipelines live in your repositories and your accounts. We document how the code is organized, how to run a change end to end, how to recover from a failed apply and how to bring a manually changed resource back under management.

We work alongside your engineers while the first workstreams are built, so the team owns the approach rather than inheriting it. Where wider decisions are involved — which teams may change which layers, or how automation fits a modernization program — this work pairs naturally with architecture advisory.

Deliverables

What you receive

  • Automation scope and candidates

    Which workstreams to automate first, which to leave as documented manual changes, and the reasoning for each.

  • Configuration standards

    Written conventions for naming, addressing, routing, security rules and logging that both code and reviewers enforce.

  • Infrastructure as Code in your repositories

    Terraform modules and configurations for the agreed workstreams, with state storage, locking and access designed in.

  • Review and validation workflow

    Plan, peer review, apply and verification steps, with drift detection and the checklist reviewers use.

  • Handover documentation

    How to run, extend and recover the automation, and who owns each part of it.

FAQ

Questions buyers ask

Which network changes make a good first Terraform project?

Choose a change your team repeats, with a clear owner and a result you can test. An Azure spoke is one example. The code can define its peering, route table and network security group, and the team can verify the approved traffic paths after deployment. For existing resources, we first check provider support, reconcile configuration with the deployed settings and review the plan for unintended changes.

Do you sell an automation platform or module library?

No. We build automation inside your repositories, for your environment, using established tooling such as Terraform. There is no proprietary platform, licensed product or module catalog involved.

Can firewalls be managed with Terraform?

Often, where a maintained provider exists for the platform and software version. Where firewalls are centrally managed, we decide whether code targets the management system or the devices, and confirm current provider capabilities before committing to an approach.

What happens to resources that already exist?

They can usually be imported and brought under management incrementally. We confirm a clean plan for each imported resource before the code is treated as authoritative.

How does an automation engagement start?

With a scoping conversation about the changes that cause the most friction, followed by a short list of candidate workstreams. The overall steps are described in how we work.

Start a project

Make your next infrastructure change repeatable

Tell us which changes your team repeats most and where they go wrong. We will follow up to discuss scope; repository and cloud access are arranged only within an agreed engagement.

Start a project

Established 2001 · Over 25 years of infrastructure experience