By NHI Mgmt Group Editorial TeamBased on ControlMonkey: “Choosing the Right IaC Platform: What Really Matters at Scale” (June 13, 2025)

TL;DR: Infrastructure that lives outside code loses traceability, approval flow, policy enforcement and recoverability, according to ControlMonkey’s checklist for IaC platforms. The governance gap is not just operational convenience, it is a control boundary that determines whether cloud change remains auditable, repeatable and resilient.


At a glance

What this is: This is ControlMonkey’s checklist-style analysis of why full infrastructure-as-code coverage is the control boundary for cloud governance, recovery and scale.

Why it matters: For IAM and NHI practitioners, the article matters because unmanaged infrastructure creates an identity and governance blind spot where approvals, traceability, and policy enforcement no longer apply consistently.


Context

Infrastructure as code coverage is the point at which cloud change stops relying on ad hoc human action and becomes governed, repeatable infrastructure. When resources live outside Terraform, teams lose traceability, approvals, and the ability to treat change as a controlled lifecycle rather than a manual exception.

The article frames that gap as a resilience and governance problem, not a convenience issue. Its core claim is that unmanaged infrastructure undermines recovery, policy enforcement, and scale at the same time, which is why the coverage question matters to both cloud operations and identity governance.

For IAM teams, the implication is broader than infrastructure tooling. Unmanaged resources can hide identity scope, bypass approval paths, and make it harder to understand which permissions, resources, and changes are actually governed by policy.


Key questions

Q: What breaks when cloud resources are not linked back to their infrastructure code?

A: When resources are not tied back to code, troubleshooting slows down and governance weakens. Teams spend more time searching across repositories, guessing ownership, and checking whether changes were applied manually. That increases the chance of inconsistent configurations, weak auditability, and gaps between intended and actual cloud state.

Q: Why does Terraform state matter as much as Terraform code?

A: Code defines the desired configuration, but state shows what actually exists and lets the platform reconcile the two. Without state, drift detection, import, and recovery all become manual or unreliable. That is why state belongs in the control model, not just the deployment workflow.

Q: How should teams reduce ClickOps in large cloud estates?

A: They should codify unmanaged resources, enforce policy in pull requests, and connect drift detection to the delivery pipeline. The goal is to make manual change unnecessary for ordinary operations, because every manual exception creates a future audit, recovery, or security problem.

Q: What is the difference between infrastructure as code coverage and basic automation?

A: Automation speeds up tasks, but infrastructure as code coverage changes the control model by making resources declarative, reviewable, and recoverable. A process can be automated and still leave unmanaged exceptions behind. Coverage means the full estate is brought into governed code and state, not just faster provisioning.


Technical breakdown

Why unmanaged infrastructure breaks governance and recovery

If a cloud resource is created or changed outside code, it no longer participates in the same approval, traceability, and state-management flow as the rest of the environment. That means the organisation cannot reliably prove who changed what, cannot regenerate the resource cleanly from versioned definitions, and cannot depend on a stable state record during drift checks or incident recovery. In practical terms, unmanaged cloud estate becomes an exception path that scales manual risk instead of control. Once that pattern spreads, every review, rollback, and audit becomes partially incomplete.

Practical implication: Treat unmanaged resources as a governance boundary failure, not just a configuration gap.

How state files and drift detection anchor control at scale

Terraform code alone is not enough if the state file is missing or stale. State is what lets the platform reconcile declared infrastructure with reality, while drift detection shows when production has diverged from approved definitions. Without both, teams end up importing resources manually, rerunning apply repeatedly, and hoping that code reflects the live estate. That does not scale across many accounts or regions, and it weakens confidence in every subsequent change. The article’s emphasis on bulk import and automatic state generation reflects a larger control principle: scale requires machine-verifiable consistency, not manual reconstruction.

Practical implication: Validate that code, state, and drift controls stay linked for every stack, especially where unmanaged resources already exist.

Why cloud access controls must be visible inside infrastructure code

The article explicitly calls out IAM alongside compute, DNS, storage, networking, and containers because access-related resources are part of the governed cloud estate, not a separate layer. When identity-bearing infrastructure is created outside code, entitlement review, policy enforcement, and change approval become harder to automate and easier to miss. That is especially important in large environments where thousands of resources may be imported, updated, or reclassified over time. Infrastructure as code coverage therefore becomes an identity governance mechanism as much as an operational one.

Practical implication: Bring IAM-related resources into the same codified lifecycle as the rest of the cloud estate.


NHI Mgmt Group analysis

Infrastructure as code coverage is now a governance control, not a delivery preference. The article is right to frame unmanaged infrastructure as a control boundary problem because approval flow, traceability, and policy enforcement only exist where change is expressible in code. Once teams accept manual exceptions as normal, governance becomes partial by design. The practitioner conclusion is simple: if you cannot codify it, you cannot govern it consistently.

State management is the difference between declared infrastructure and recoverable infrastructure. Terraform code without matching state cannot prove what exists, what drifted, or what should be rebuilt after failure. That matters because resilience is not just backup logic, it is the ability to reconstruct trusted infrastructure from authoritative definitions. The practitioner conclusion is to treat state as part of the governed asset, not a build artefact.

Identity governance now extends into infrastructure composition. The article’s inclusion of IAM in the unmanaged-resource list is the key signal, because permissioned cloud objects are not just technical assets but access-bearing controls. When identity-linked resources sit outside code, the organisation weakens recertification, policy enforcement, and change accountability in the same move. The practitioner conclusion is to align cloud infrastructure governance with identity lifecycle governance.

ClickOps creates identity blast radius as well as operational debt. Manual change does not only create inconsistency, it creates hidden access paths and unmanaged privilege scope that are hard to audit later. That is why infrastructure coding and identity governance converge at the same point: the governed lifecycle of change. The practitioner conclusion is to remove manual cloud paths wherever they can bypass policy.

Full IaC coverage defines the future operating model for cloud scale. The market signal here is not about one platform feature, but about the expectation that modern cloud estates must be discoverable, codified, and policy-aware from day one. Organisations that keep unmanaged islands will struggle with auditability and recovery as the estate grows. The practitioner conclusion is to measure cloud maturity by coverage, not by intent.

What this signals

Coverage, not tooling volume, is the real cloud governance metric. Organisations can have a strong deployment pipeline and still fail the governance test if too much infrastructure exists outside code. The practical signal to watch is whether every stack is discoverable, stateful, and policy-checked before change reaches production.

Infrastructure governance is converging with identity governance. Once IAM-related resources are treated as codified infrastructure, teams can apply the same lifecycle discipline they use for other governed assets. That alignment matters because access-bearing cloud objects create control gaps when they are allowed to drift outside the programme.

Identity blast radius grows when cloud change is not codified. Manual infrastructure paths are not just operational shortcuts. They create hidden authority, hidden dependencies, and hidden exceptions that make later reviews less trustworthy and recovery less predictable.


For practitioners

  • Map unmanaged infrastructure first Inventory all resources that exist outside Terraform across clouds, regions, and accounts, then classify which ones represent governance, security, or recovery risk.
  • Codify identity-bearing resources Bring IAM, policy-related, and access-dependent cloud objects into the same code and state workflow as compute and storage.
  • Require matching state for every stack Do not accept generated code unless the platform also creates or updates Terraform state so drift checks and recovery remain trustworthy.
  • Automate plan and drift checks in CI/CD Run policy checks before merge and wire drift detection into the delivery pipeline so configuration changes are evaluated before they reach production.
  • Scale import workflows without scripting debt Use bulk import and PR creation paths that work across many stacks, because manual terraform import loops do not hold up at estate scale.

Key takeaways

  • Unmanaged cloud infrastructure is a governance gap because it removes traceability, approval flow, and reliable recovery from the change process.
  • The article’s central operational signal is that code alone is insufficient unless state, drift detection, and policy checks are connected to it.
  • Teams should measure cloud maturity by how much of the estate is actually codified and governed, not by how quickly infrastructure can be provisioned.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0 provides the primary governance reference for this term.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsUnmanaged cloud resources can bypass permission and authorization governance.
PR.DS-10 — [placeholder][placeholder]
DE.CM-03 — [placeholder][placeholder]
Recommendation — Apply PR.AA-05 to ensure cloud resources and access paths are governed through codified authorization. [placeholder] [placeholder]

Key terms

  • Infrastructure as Code coverage: The share of infrastructure that is created, changed, and governed through code rather than manual console actions. In practice, it measures how much of the environment can be reviewed, reproduced, and remediated through a controlled delivery path instead of ad hoc operator behaviour.
  • Terraform State: Terraform state is the record that links declared infrastructure code to the live resources actually running in the cloud. It is the mechanism that makes reconciliation, drift detection, and controlled change possible, and it becomes critical when existing resources are imported rather than recreated.
  • Drift Monitoring: Drift monitoring tracks whether inputs, embeddings, or outputs are changing over time in ways that can degrade model performance. It is an early-warning control that helps teams spot behaviour shifts before they become visible business or security failures.
  • ClickOps: ClickOps is the practice of making infrastructure changes manually through consoles instead of through controlled automation and code. In hybrid operations, it increases inconsistency, weakens repeatability, and makes it harder to audit who changed what. It is a common source of drift when teams manage the same estate through mixed operational habits.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 12, 2026.
Updated on October 10, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org