IBM

From Terraform to “Agentic Infrastructure”: How IBM and HashiCorp Are Building a New DevOps Model

02/07/2026
Share:

For years, Terraform has represented a mature approach to infrastructure as code for many teams. It has allowed them to define environments in configuration files, version changes, review them like application code, and deploy infrastructure predictably. Today, however, defining infrastructure in code alone is increasingly insufficient.

Enterprises operate across multiple clouds, on-premises environments, container platforms, and mission-critical systems. Different teams provision new services, some resources are created outside approved processes, configurations drift, and responsibility for applications, security, and costs is spread across numerous people and tools. In this environment, the question is no longer simply “Do we have infrastructure as code?” but “Do we know what’s actually running in our environment?”

IBM and HashiCorp are seeking to answer that question with Infragraph, developed around HCP Terraform. It signals an important direction for DevOps: a shift from automating individual changes toward maintaining a living, continuously updated view of the entire infrastructure. If Terraform provided a language for defining infrastructure, Infragraph is intended to provide an operational map of it—not a static inventory of resources, but a graph showing the relationships among cloud environments, applications, services, owners, security policies, and operational processes.

Table of Contents:

The Problem: Infrastructure Is Defined, but Not Always Understood

Many organizations now have Terraform repositories, CI/CD pipelines, security scanning tools, monitoring systems, ticketing platforms, and service catalogs. Each of these tools holds part of the truth. The problem is that those pieces rarely add up to a single, consistent picture.

  • Platform teams see Terraform modules and deployment history.
  • Security teams see vulnerabilities and alerts.
  • Finance teams see cloud bills.
  • Application owners see the impact on business services.
  • Administrators see the actual state of systems, which does not always match what’s in the repository.

As a result, organizations have plenty of data but little consistent context.

This is what we might call “dirty infrastructure data.” The problem isn’t a lack of information, but information that is outdated, fragmented, contradictory, or disconnected. A list of virtual machines that doesn’t identify which applications they belong to is merely an inventory. A security alert that doesn’t indicate whether a critical system is affected is just a signal. Configuration drift without information about its source is a symptom, not a basis for making decisions.

In practice, teams spend time manually connecting the dots. Who created this resource? Was it provisioned through Terraform or outside the established process? Is it used in production? Does it violate a security policy? At enterprise scale, each question triggers a separate investigation, creating a persistent operational cost.

Terraform as the Foundation, Not the Finish Line

Terraform brought the discipline of software engineering to infrastructure management. Instead of making changes manually, teams can declaratively define the desired state. Instead of relying on undocumented configurations, they maintain version-controlled files. Instead of depending on an individual administrator’s knowledge, they use review processes and repeatable execution.

That remains a powerful foundation. Without it, mature DevOps practices are difficult to establish, especially in hybrid cloud environments. But infrastructure as code primarily describes intent and the process of making changes. It doesn’t always capture the full operational reality. Resources may be provisioned manually outside Terraform, modified during emergency interventions, inadequately tagged, left without a designated owner, or managed using outdated module versions.

The next step, therefore, isn’t to replace Terraform but to expand its role. Infrastructure code becomes one of the most important sources of truth, but it needs to be connected to data from cloud environments, on-premises systems, security tools, and operational platforms. Only then can an organization move from “We have a process for provisioning infrastructure” to “We understand the state of our infrastructure and can manage it deliberately.”

What Is Infragraph?

Infragraph can be described as an infrastructure knowledge graph. Its purpose is to bring together information from different sources and represent it as a network of relationships. A cloud resource is no longer an isolated record in a table. It belongs to a larger system: it supports an application, has an owner, originates from a specific configuration, is subject to policies, incurs costs, may contain vulnerabilities, and affects business processes.

This changes how we look at infrastructure. A traditional inventory answers the question “What do we have?” A graph can also answer:

  • How is everything connected?
  • What will happen if we change something?
  • Who should make the decision?
  • Where is the greatest risk?

In the context of HCP Terraform, the connection between resource data and infrastructure-as-code workflows is particularly important. Organizations can identify which resources are managed by Terraform and which fall outside that management, where outdated versions are in use, which resources have drifted from their defined configurations, and how code changes affect actual environments. This is the practical meaning of a living map of hybrid cloud infrastructure: a view of the environment that isn’t assembled in a spreadsheet once a quarter, but continuously updated as changes occur.

Why “Dirty Data” Is the Biggest Obstacle to Infrastructure Automation

Infrastructure automation is effective only when it operates on reliable data. That may seem obvious, but it has significant practical implications. If a system doesn’t know which resources are running in production, who owns them, how they depend on one another, which policies apply to them, or whether they were provisioned through an approved process, every automated action carries additional risk.

Dirty data doesn’t necessarily mean errors within a single database. More often, it means a lack of shared context across multiple tools. A Terraform repository contains a resource definition, but it isn’t always clear whether that definition reflects the current state. A cloud console shows a running resource, but may not reveal who provisioned it or why. A monitoring system displays an alert, but may not indicate whether a critical service is affected. A security tool identifies a risk, but may not provide enough context to determine how urgently it should be addressed. A financial system shows a cost, but may not reveal which change caused it.

This limits automation to relatively straightforward tasks. Teams can automatically provision an environment, run tests, deploy a change, or perform a scan. What is harder to automate is the decision itself: Should this resource be deleted? Is this change safe? Is an exception to the policy acceptable? Does this alert require an immediate response? Is the increase in costs justified? Making these decisions requires more than individual pieces of information. It requires understanding how those pieces relate to one another.

That’s why Infragraph matters not only as a way to organize infrastructure information, but also as a layer that enables more advanced automation. A graph can connect facts that were previously scattered across teams and systems. A resource can be linked to an application, the application to its owner, the owner to a team, the team to a repository, the repository to the latest change, the change to a cost, and the cost to its impact on a service. With those relationships established, automation can move beyond simply executing commands toward recommending or initiating actions based on specific operational context.

This is especially important in DevSecOps. Without accurate, connected data, security can easily become little more than a queue of alerts. Teams see hundreds of risks but must manually determine which have business significance, which affect production environments, which are externally exposed, and which result from uncontrolled changes. An infrastructure graph makes it possible to prioritize alerts based on their significance. It doesn’t eliminate the need for expert judgment, but it reduces the number of situations in which specialists spend time establishing basic facts.

The same applies to IT operations. When resource data is inconsistent, teams are reluctant to automate remediation. They worry that a system might remediate the wrong resource, modify the wrong environment, or disrupt a dependency it cannot see. A reliable infrastructure map helps overcome that reluctance. It allows organizations to introduce automation gradually: first through recommendations, then through actions requiring human approval, and eventually through fully automated actions in well-defined scenarios.

Dirty data, then, is more than a reporting problem. It holds back the entire operating model. It undermines confidence in automation, complicates audits, increases incident management costs, slows deployments, and weakens risk management. If organizations want to use AI agents to manage infrastructure, they must first ensure those agents operate on trustworthy data. Otherwise, they will accelerate mistakes as well as sound decisions.

Why a Graph Is Better Than Another Dashboard

Many companies already have too many dashboards covering cloud infrastructure, security, costs, monitoring, tickets, and CI/CD. Adding another view won’t solve the problem if it doesn’t improve data quality or the relationships among different pieces of information.

Infragraph’s value, therefore, goes beyond visualization. It represents a change in the underlying data model. When information about resources, applications, owners, policies, and risks is connected, teams can ask questions that previously required coordination across several departments.

For example:

Traditional query Infragraph query
Show all machines Show production resources that have no assigned owner, aren’t managed by Terraform, and are publicly accessible
Show alerts Show vulnerabilities affecting critical services whose configurations have drifted from their code definitions
Show costs Show cost increases following the most recent deployment and link them to the team responsible for the change

These are operational questions, not merely reporting queries. The answers can trigger action: correcting a configuration, updating a module, removing an unused resource, changing a policy, creating a ticket for an application owner, or initiating automated remediation with human oversight. This is where DevOps begins to shift from deployment automation toward automating operational decisions.

From Reacting to Problems to Anticipating Them

Traditional IT operations are often reactive. A problem appears first: an outage, an unexpected cost, a policy violation, a vulnerability, or a failed deployment. The team then investigates the cause by searching repositories, cloud environments, alerts, logs, change histories, and tickets. Only after some time does it become clear what happened and who needs to act.

In a graph-based environment, some of that work can happen earlier. If a resource isn’t managed by Terraform, has no assigned owner, and violates an access policy, there’s no need to wait for an incident. If costs start rising after a particular deployment, the cause can be identified more quickly.

This doesn’t mean fully autonomous operations without oversight. In enterprise environments, automation must be controlled, auditable, and compliant with established policies. Still, the difference between a person piecing together data from five systems and a system providing context, risk assessments, and possible actions is substantial. The first model doesn’t scale well. The second opens the door to more mature DevOps and DevSecOps practices.

What “Agentic Infrastructure” Means

The term agentic infrastructure may sound like another technology buzzword, but it describes a specific direction. The idea is to move beyond treating infrastructure as a passive collection of resources and toward an environment that supports AI agents, automation, and people working together within a single, controlled process.

An AI agent can help analyze costs, identify risks, prepare changes, recommend remediation, or handle tickets. But an agent can only perform reliably when it has access to trustworthy context. If the underlying data is incomplete, outdated, or contradictory, automation becomes risky. It can simply lead to bad decisions being made faster.

This is why Infragraph plays such an important role in IBM and HashiCorp’s vision. It isn’t merely an add-on to Terraform. It represents an attempt to build a knowledge layer capable of supporting more advanced automation. An agent shouldn’t have to guess whether a resource is used in production. That information should be available in the graph. It shouldn’t have to infer who owns an application. That relationship should already be recorded. And it shouldn’t recommend a change without knowing the relevant dependencies. It should understand how the change could affect other parts of the environment.

In this sense, agentic infrastructure doesn’t begin with artificial intelligence. It begins with well-organized data, processes, and responsibilities. AI can accelerate analysis and action, but it cannot replace the fundamentals: infrastructure as code, policies, tagging, service catalogs, access controls, and auditing.

DevSecOps: Security Needs Context

Infrastructure security is becoming less like a periodic review and more like a continuous process. Vulnerabilities are detected faster, configurations change more frequently, and the boundaries between applications, infrastructure, and platforms are becoming less distinct. In this environment, scanning alone isn’t enough.

Security teams need to know which risks affect critical systems, which vulnerabilities are externally exposed, which resources violate policies but have no assigned owner, and which deviations from infrastructure code resulted from emergency changes. Without a graph, answering these questions requires correlating data from multiple sources. With a graph, that analysis can become part of everyday DevSecOps workflows.

This matters because shifting security left shouldn’t simply mean creating more obstacles for developers. It should mean providing better context earlier in the process, allowing teams to correct configurations before they reach production and respond more quickly when the actual state of an environment deviates from the approved configuration.

From this perspective, clean data is a prerequisite for effective security. If a team doesn’t know which resources are critical, who owns them, or which ones are defined in code, even the best scanning tool will produce little more than raw signals. Infragraph is intended to help turn those signals into actionable decisions.

Platform Engineering and FinOps: Less Guesswork

For platform engineering teams, the primary customers are product and application teams. The platform is supposed to provide ready-to-use, secure, and repeatable patterns for consuming infrastructure. Problems arise when the platform team itself lacks a complete picture of what’s actually happening in the environment.

Without a consistent infrastructure map, platform teams are operating partly in the dark. They may provide Terraform modules without knowing where those modules are being used. They may establish standards without being able to identify every exception. Infragraph helps turn a platform from a collection of tools into an operating system for infrastructure, providing visibility into the adoption of standards, unmanaged resources, service dependencies, and the impact of changes.

The same principle applies to cloud costs. A cloud bill shows how much you’re spending, but not necessarily why. Connecting cost data to an infrastructure graph makes it possible to associate expenses with applications, owners, environments, Terraform changes, and deployment histories. FinOps can then move beyond retrospective reporting and become part of day-to-day operations.

This also changes the conversation between IT and the business. Infrastructure costs are no longer abstract line items on an invoice. They can be tied to a service, an architectural decision, a test environment, a security requirement, or a specific deployment change. Without those connections, organizations can see what they’re spending but not what drives the costs. With them, they can manage spending without holding back development.

What This Means for CIOs and IT Leaders

From a management perspective, Infragraph addresses a challenge that extends well beyond Terraform: maintaining visibility and control over the IT environment. CIOs need to know whether their infrastructure is secure, cost-effective, compliant with requirements, and ready to scale. In practice, they often receive fragmented reports prepared by different teams using different definitions.

An infrastructure graph can provide a common language for technology and business stakeholders. It doesn’t replace specialized tools, but it brings structure to the relationships among them. It makes it possible to discuss not just servers and cloud accounts, but also services, ownership, risks, and business impact. That’s why initiatives such as infrastructure modernization, cloud migration, DevSecOps adoption, or the use of AI in IT operations should begin by asking whether the organization has a reliable, current, and useful picture of its own infrastructure.

For executives, it’s particularly important to recognize that dirty data isn’t a purely technical problem. It’s a decision-making problem. When infrastructure data is inconsistent, decisions about risk, costs, business continuity, and modernization priorities are also subject to uncertainty. Infragraph can help reduce that uncertainty by connecting technical information with accountability and business impact.

A Graph Won’t Fix Broken Processes on Its Own

It’s important to be realistic. Infragraph won’t automatically bring order to an organization’s infrastructure. If the organization hasn’t assigned service owners, doesn’t apply tags and labels consistently, fails to maintain Terraform modules, allows manual changes without an audit trail, or lacks clear policies, the graph will reveal the disorder. That visibility is valuable, but the organizational work still needs to be done.

The companies that gain the most value will be those that treat Infragraph as part of a broader operating model. They need standards for provisioning resources, consistent tagging and metadata practices, a service catalog, access controls, processes for handling configuration drift, security policies, FinOps practices, and clearly defined team responsibilities. Only with that foundation in place can the graph become a reliable source of information for automation.

Put another way, you can’t build agentic infrastructure on top of infrastructure that is poorly managed. You can, however, use a graph to expose that disorder, understand it, and gradually bring it under control.

Where to Start in Practice

For most organizations, the best starting point isn’t a major transformation initiative, but a handful of specific questions. Which resources are managed by Terraform, and which were provisioned outside it? Does every production resource have an assigned owner, environment, application, and cost center? Where is configuration drift occurring, and how is it handled? Which security policies can be directly associated with resources and applications? Which decisions currently require teams to gather data manually from multiple systems?

The answers reveal whether an organization is ready for more advanced automation. If we can’t identify who owns a resource, we shouldn’t delegate decisions about it to an AI agent. If we don’t know whether the data is current, we shouldn’t use it as the basis for automated remediation. If we don’t have policies, automation has nothing to enforce.

A practical first step might be to focus on one area: production environments, expensive cloud services, mission-critical systems, or externally exposed resources. The next step is to determine whether the organization can connect a few essential pieces of information for those resources: configuration source, owner, application, environment, cost, security policies, and change history. If doing so requires manual effort from several teams, the problem isn’t just the tools. It’s the absence of a shared knowledge layer.

The New DevOps Model

DevOps began as an effort to close the gap between software development and operations. It subsequently matured through CI/CD, IaC, containers, internal platforms, observability, and DevSecOps. Today, it is entering another phase, one in which understanding the full context of a change is becoming just as important as deploying it quickly.

According to IBM and HashiCorp, the future of DevOps will increasingly depend on three layers:

  1. Declarative automation, with Terraform remaining a prominent example.
  2. A consistent infrastructure knowledge layer, represented by Infragraph.
  3. Controlled action automation, in which AI agents and people operate using the same data, policies, and audit mechanisms.

This isn’t a revolution that requires abandoning established practices. It’s more a matter of DevOps maturing. Infrastructure as code is still essential. CI/CD processes are still essential. Security scanning, monitoring, service catalogs, and FinOps are still essential. What changes is that these capabilities can no longer operate as isolated silos.

The End of “Dirty Data” Is the Beginning of Better Automation

Infragraph’s most important promise isn’t another infrastructure dashboard. It’s that organizations could have a single, up-to-date, consistent source of truth that captures the relationships across their environments. That’s a fundamental difference.

Only with that kind of reliable information can organizations move from manual analysis to informed automation.

  • From reacting to incidents to identifying risks earlier.
  • From fragmented tools to shared context.
  • From infrastructure as code to infrastructure as a system that can be understood and controlled.

Terraform taught teams how to define infrastructure in a repeatable way. Infragraph aims to help them understand what that infrastructure actually looks like at any given moment: how its components are connected, who is responsible for them, where risks exist, and how they affect the business. If this direction continues, DevOps will evolve into a model for managing complex digital environments—one in which up-to-date knowledge, controlled automation, and clear accountability are built into everyday operations.

How Infragraph Differs From a Traditional CMDB

At first glance, Infragraph may resemble a traditional configuration management database (CMDB) because both approaches seek to answer the same fundamental question: What makes up an IT environment, and how are its components related? The difference lies in their primary focus. CMDBs emerged from IT service management practices and have traditionally served as structured repositories of configuration items, their attributes, and their relationships. Infragraph, by contrast, is being designed as a living knowledge graph for dynamic hybrid environments, where resources, dependencies, policies, risks, and costs change faster than traditional documentation update processes can keep up.

Another distinction is how each approach relates to automation. A well-maintained CMDB helps teams assess the impact of changes, manage incidents, conduct audits, and establish clear resource ownership. Infragraph aims to go a step further by connecting data from cloud environments, Terraform, security tools, and operational platforms to provide current context for infrastructure automation. In other words, a CMDB typically answers questions such as “What do we have, and how is it classified?” Infragraph is also intended to help answer “What just changed?”, “What is the impact of that change?”, “Does the actual state differ from what’s defined in code?”, and “What action can we safely take?”

This doesn’t mean Infragraph will replace every CMDB. In many organizations, CMDBs remain an important part of IT governance, particularly in ITSM processes, service management, auditing, and formal configuration recordkeeping. Infragraph is better understood as an operational knowledge layer for cloud environments and infrastructure as code. It can complement a CMDB by providing a more current, technically detailed, and context-rich picture of what’s happening across the infrastructure.

Feature / Capability Traditional CMDB Infragraph
Primary purpose Maintain records of configuration items and their relationships to support ITSM, audits, change management, and incident management Provide a current map of relationships across hybrid cloud environments, connected to IaC, security, and operations
Data model Typically a structured model of configuration items (CIs), classes, attributes, and relationships A knowledge graph representing resources, dependencies, policies, risks, owners, and operational context
Data freshness Depends on update processes, discovery integrations, and the quality of ongoing CMDB maintenance Designed as an event-driven model that is updated as changes occur across the environment and its supporting tools
Data sources ITSM/ITOM systems, discovery tools, and integrations with infrastructure and application management tools Cloud environments, Terraform, infrastructure-as-code workflows, security tools, and operational platforms
Relationship with Terraform Typically indirect, depending on integrations and how the data is modeled Directly connected to HCP Terraform and the infrastructure-as-code lifecycle
Configuration drift management Possible, but usually requires integration with other tools A natural use case: comparing the actual state of infrastructure with the state defined by code and established processes
Role in DevSecOps Supports impact analysis, accountability, and auditing Provides context for risk prioritization, automated remediation, and compliance monitoring
Role in automation Primarily serves as a source of reference data for ITSM and operational processes Provides a context layer for action automation, recommendations, and potential AI agents
Typical questions Which CIs make up a service? Who owns them? What impact will a change have? What changed? What has drifted from its IaC definition? Which resource poses the greatest risk? What remediation can be initiated?
Biggest risk Outdated, duplicate, or incorrectly linked configuration records, including stale entries, duplicates, and inaccurate relationships among resources, applications, services, and owners Incorrect or incomplete context from source tools when an organization lacks effective tagging and ownership practices
Best suited for IT governance, ITSM, auditing, service management, and formal configuration control Dynamic cloud and hybrid cloud environments, platform engineering, DevSecOps, FinOps, and infrastructure automation
Relationship to the business Maps business services to technical components and supports management processes Connects technical changes, costs, risks, and ownership with their ongoing impact on services
Look more