Join our Newsletter — 33% off our NHI Course

When does manual stack creation become a governance and scale problem in infrastructure as code?

Manual stack creation becomes a problem when repository sprawl, nested paths, and mixed IaC patterns make it hard to maintain an accurate control plane. At that point, teams lose time, increase configuration drift risk, and make onboarding dependent on individual knowledge. Automated discovery is most useful when the estate is already too large for ad hoc setup.

Why This Matters for Security Teams

Manual stack creation stops being a harmless convenience when the infrastructure estate grows faster than the team can validate it. In IaC environments, the control problem is not just speed. It is whether every stack, module, and environment is created through a path that security can observe, approve, and reproduce. Once teams mix manual builds with templated deployments, the control plane becomes fragmented and exceptions become the norm.

This is where governance starts to fail. The NIST Cybersecurity Framework 2.0 places strong emphasis on asset visibility, governance, and continuous monitoring, but those outcomes depend on consistent provisioning paths. NHIMG’s Top 10 NHI Issues research also highlights that operational drift and poor lifecycle discipline create lasting security gaps around machine identities and their dependencies. In practice, manual stack creation becomes a governance problem when no one can reliably answer who created what, under which policy, and with which secrets or permissions attached.

In practice, many security teams only discover the scale impact after onboarding, exception handling, and drift remediation begin consuming more time than the actual infrastructure rollout.

How It Works in Practice

The breaking point usually appears in estates with nested repository structures, multiple cloud accounts, shared modules, and mixed provisioning patterns. A team may start with a few manually created stacks for urgent work, then add IaC for reusable components, then introduce one-off changes to satisfy delivery deadlines. Over time, the control plane splits between what is defined in code and what exists only in ticket history, tribal knowledge, or cloud console state.

At that stage, automation is not just a delivery preference. It becomes the only reliable way to keep inventory, access, and change control aligned. Security teams typically need three things:

  • Standardised stack creation paths so every new environment is observable from the start.
  • Policy checks before deployment, not after drift has already reached production.
  • Clear ownership of modules, secrets, and permissions so manual exceptions do not become permanent.

The NIST security controls in NIST SP 800-53 Rev. 5 Security and Privacy Controls are especially relevant here because they reinforce configuration management, access control, and auditability. NHIMG’s Ultimate Guide to NHIs – Lifecycle Processes for Managing NHIs is also useful when teams need to connect provisioning discipline to the lifecycle of machine identities, credentials, and service accounts created alongside infrastructure.

Operationally, the strongest signal that manual stack creation has become a scale problem is when onboarding a new team requires a senior engineer to reconstruct hidden conventions from memory. These controls tend to break down when repository sprawl spans multiple clouds and environment-specific exceptions outnumber the reusable patterns.

Common Variations and Edge Cases

Tighter provisioning control often increases delivery overhead, so organisations have to balance change velocity against the cost of governance drift. That tradeoff is real, especially in smaller platforms where manual creation still supports rapid prototyping or emergency recovery.

Current guidance suggests manual stack creation can remain acceptable for very small, low-risk environments if it is tightly bounded, documented, and reviewed. The problem is that “temporary” exceptions often become durable operating practice. Mixed IaC patterns are especially risky when different teams use different bootstrap methods, because audit evidence becomes inconsistent and access reviews lose context. If secrets are created outside the normal path, the risk extends beyond drift into unmanaged credential sprawl.

Security leaders should treat these cases as a maturity indicator, not a process preference. NHIMG’s Ultimate Guide to NHIs – Regulatory and Audit Perspectives is relevant when manual stack creation affects evidence quality, while the NIST CSF remains the right baseline for deciding when inventory, governance, and continuous monitoring are no longer satisfied by ad hoc setup alone. Where teams have significant repository sprawl or frequent cross-account provisioning, manual creation usually becomes a hidden control failure long before it becomes a visible delivery issue.

Standards & Framework Alignment

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

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 ID.AM Manual stack sprawl undermines inventory and asset visibility.
NIST SP 800-53 Rev 5 CM-2 Baseline configuration control is central when stacks are created outside code.
OWASP Non-Human Identity Top 10 NHI-01 Uncontrolled provisioning expands non-human identity and secret sprawl.

Inventory every machine identity created by stack workflows and remove orphaned credentials.