TL;DR: Governance as code is expanding from cloud hygiene into AI infrastructure and data platforms, according to Stacklet, because modern estates now include GPU fleets, model serving endpoints, training pipelines, and autonomous provisioning that outpace manual review. The control problem has shifted from finding misconfigurations to enforcing policy continuously as close to creation time as possible.
At a glance
What this is: This is an analysis of how governance as code is moving beyond cloud resources into AI and data workloads, with the key finding that continuous policy enforcement now has to keep pace with autonomous provisioning and new resource classes.
Why it matters: It matters because IAM, cloud security, and platform teams now need governance that covers machine-created infrastructure, AI workloads, and data platforms before drift and sprawl become operational defaults.
Context
Governance as code is the practice of expressing policy in code so controls can be evaluated and enforced continuously rather than reviewed only after deployment. In this article, the real security gap is not a lack of policy intent but a mismatch between static governance processes and rapidly changing cloud, AI, and data estates.
For identity and access teams, the relevance is direct: the more infrastructure and workload creation becomes automated, the more governance has to bind to provisioning, entitlement, and exception handling from the start. That makes machine identity, workload identity, and policy enforcement part of the same control plane, not separate disciplines.
The article’s starting position is now typical for larger enterprises, not exceptional. Cloud governance has moved from reactive hygiene to continuous, code-driven control because multi-cloud, AI workloads, and data platforms all increase the speed and surface area of change.
Key questions
Q: What breaks when governance sits outside the AI workflow?
A: Controls become periodic and partial. Policy may exist on paper, but the team loses the ability to map it to actual training, deployment, or data-use activity, which means compliance evidence is reconstructed later instead of captured as work happens.
Q: Why does autonomous provisioning create a governance risk for cloud and AI teams?
A: Because the control assumption changes. Traditional reviews assume a person requests and waits for approval, but autonomous pipelines and agents can generate infrastructure continuously. That compresses the review window to the point where post-deployment governance is too late to prevent drift or excessive privilege.
Q: What are the signs that access governance is failing in practice?
A: The clearest signs are slow remediation, repeated rubber stamp access reviews, and missed permissions outside traditional HR linked systems. If governance teams rely on manual audits, they often struggle to see access granted to non-human identities or systems adopted outside normal IT cycles. That usually means the organisation lacks reliable visibility and consistent enforcement of least privilege.
Q: Should teams govern AI workloads and data platforms through the same control model?
A: Yes, when the operational problem is continuous policy enforcement across shared infrastructure. Cloud, AI, and data platforms now produce similar risks: sprawl, access drift, and uncontrolled change. A single governance model reduces fragmentation, but only if it can express platform-specific exceptions without losing consistency.
Technical breakdown
Why governance as code has moved beyond cloud hygiene
Governance as code began as a way to express cloud policy in a machine-readable format so teams could detect drift, apply exceptions, and remediate misconfigurations consistently. The important architectural shift is that policy is no longer just a reporting layer over cloud resources. It now needs to execute at the point of creation, across APIs, CI pipelines, admission controllers, and service-level events. That is what turns governance from a periodic review into a control mechanism that can keep up with distributed engineering teams and multi-cloud estates.
Practical implication: Treat governance logic as an enforcement dependency in delivery pipelines, not as a dashboard after deployment.
How AI infrastructure changes governance and access control
AI workloads introduce resource types that behave differently from ordinary cloud assets. GPU fleets, model endpoints, and training pipelines create cost, security, and lifecycle issues that are closer to workload orchestration than simple configuration management. When AI agents can generate and deploy infrastructure code autonomously, the governance challenge becomes one of binding policy to machine activity rather than human ticketing. That has an identity dimension because the system creating the resource may be a workload, an agent, or another non-human identity acting with delegated authority.
Practical implication: Anchor policy checks to the identities and pipelines that create AI infrastructure, not just to the resources after they exist.
What data platforms add to the governance model
Data platforms such as Snowflake and Databricks extend governance as code into areas where access control, spending, and sharing decisions can change quickly. The control problem is not only misconfiguration. It is also uncontrolled query behaviour, idle compute, and data sharing paths that bypass the assumptions of traditional cloud guardrails. Once data platforms become part of the enterprise footprint, governance must cover who can create, share, and persist those workloads under policy, in the same continuous workflow used for cloud resources.
Practical implication: Extend the same policy language and exception handling used for cloud resources to data access and sharing controls.
NHI Mgmt Group analysis
Governance as code is becoming an identity governance problem as much as a cloud controls problem: once AI agents and automated pipelines can create infrastructure, the decisive control point shifts to issuance and policy enforcement. That means non-human actors are no longer just workload consumers, they are governance participants. Practitioners should treat creation-time policy as part of identity and privilege governance, not as a separate cloud hygiene activity.
AI infrastructure creates governance debt faster than traditional cloud sprawl: GPU fleets, model endpoints, and training pipelines are not just expensive resources, they are new policy surfaces with their own lifecycle and exception patterns. The article shows that the old assumption, that governance can catch up later, no longer holds. Teams should assume the control plane must be closer to deployment than the review queue.
Data platforms now belong inside the same continuous policy model as cloud and Kubernetes: access control and data sharing in platforms like Snowflake and Databricks behave like operational governance problems, not isolated analytics issues. When query sprawl and idle warehouses become routine, the gap is not policy absence but policy fragmentation. Practitioners should unify enforcement across infrastructure, data, and AI workloads.
Cloud Custodian’s decade-long arc illustrates a broader market shift toward policy execution rather than policy observation: the category is moving from detecting drift to acting on it in real time. That has implications for IAM, PAM, and platform engineering because the control no longer lives only in human approval workflows. Practitioners should align governance tooling with continuous enforcement, especially where non-human identities drive change.
Named concept: governance velocity gap: the mismatch between how fast modern cloud, AI, and data workloads are created and how slowly manual governance can evaluate them. As autonomous provisioning accelerates, this gap becomes the primary reason control frameworks lose effectiveness. Practitioners should design for machine-speed enforcement, not human-speed oversight.
What this signals
Governance velocity gap: the practical failure is no longer policy absence, but the distance between how quickly infrastructure changes and how slowly governance reacts. When autonomous provisioning enters the picture, policy has to travel with the workload lifecycle or it stops being a control.
For IAM and platform teams, the next governance boundary is creation time. That means entitlement, exception, and approval logic must be closer to the systems that issue resources, especially where non-human identities or agentic workflows can act without direct human intervention.
For practitioners
- Extend governance policies to AI infrastructure Apply the same policy logic used for cloud resources to GPU fleets, model endpoints, and training pipelines so AI workloads are checked at creation time.
- Bind enforcement to provisioning pipelines Move controls into CI, admission, and deployment workflows so drift is blocked before resources reach production, especially where non-human identities create infrastructure.
- Unify cloud and data platform governance Cover Snowflake and Databricks with the same exception handling and remediation model used for cloud estates so access, sharing, and idle compute are governed continuously.
- Treat autonomous provisioning as a governance signal Review any workflow where agents or automation create infrastructure without human approval, because that is where policy gaps and privilege creep appear first.
Key takeaways
- Governance as code is shifting from cloud configuration cleanup to continuous enforcement across AI and data workloads.
- Autonomous provisioning changes the control problem because resources can be created faster than human review can keep up.
- The practical response is to move policy into delivery, deployment, and workload-creation paths rather than relying on post-deployment audits.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and CSA Cloud Controls Matrix set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | TA0007 — Discovery | The article centres on finding and controlling rapidly changing cloud and AI resources. |
| Recommendation — Map governance gaps to discovery gaps and instrument new AI and data workloads as soon as they appear. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Continuous governance in cloud and AI depends on controlling permissions as workloads are created. |
| Recommendation — Apply PR.AA-05 to bind entitlements to workload creation and prevent unmanaged privilege growth. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | Autonomous provisioning and machine-created infrastructure can accumulate excess privilege quickly. |
| Recommendation — Review machine-created workloads for overprivileged access and remove standing permissions from non-human identities. | ||
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | Governance as code only works if workload and platform access is constrained to required scope. |
| Recommendation — Use AC-6 to limit the permissions that cloud, AI, and data workloads can exercise by default. | ||
| CSA Cloud Controls Matrix | IAM — Identity and Access Management | The article’s continuous policy model spans cloud and AI platform access governance. |
| Recommendation — Apply IAM governance across cloud, AI, and data platforms so access decisions follow a consistent control model. | ||
Key terms
- Governance as Code: Governance as code is the practice of encoding policy into executable rules that can be tested, enforced, and remediated automatically. Instead of relying on periodic review, teams apply the same policy logic across infrastructure, pipelines, and runtime systems so compliance and security are continuously checked.
- Generation-Time Enforcement: A control pattern that evaluates AI-produced code before a developer accepts it into the workflow. It shifts security from post-commit review to the moment of creation, which reduces context loss and makes remediation much faster and more usable.
- Automated Provisioning: Automated provisioning is the policy-driven creation, update, and removal of access based on role, group, or attribute changes. It reduces manual ticket handling, but it also scales the quality of the underlying access model. If the rules are wrong, automation simply applies the wrong access faster and more consistently.
- Governance Velocity: Governance velocity is the speed at which an identity programme can detect, review, and correct access changes before risk accumulates. It measures whether governance keeps pace with operational change, especially in hybrid estates where privileges drift between review cycles and static certifications become stale.
Deepen your knowledge
NHI Mgmt Group covers identity security, NHI governance, and agentic AI through the NHI Foundation Level course, the industry's only accredited NHI security programme. It is designed for practitioners who need to connect identity controls to modern cloud and automation-driven environments.
Published by the NHIMG editorial team on July 10, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org