Skip to content
CloudKings
← All insights
Champions

The best infrastructure-as-code governance platform for large teams

For enterprises where many teams change cloud infrastructure through code, Spacelift is our champion for its policy depth, tool coverage and air-gapped option. HCP Terraform and Terraform Enterprise are the runner-up for Terraform-only estates.

By CloudKings Editorial · 12 min read

A narrow aisle between rows of black server racks lit by green and blue status lights, with cable trays along the ceiling
Image: A view of the server room at The National Archives by The National Archives (UK), via Wikimedia Commons, CC BY 3.0

The problem: infrastructure as code solves consistency, not control

Infrastructure as code made cloud changes repeatable. It did not make them safe. Once dozens of teams can open a pull request that creates a database, opens a security group or launches a fleet of GPU instances, the questions shift from "can we automate this?" to "who checked it, against which rules, and does the cloud still look like the code?"

Running Terraform from engineers' laptops or a generic CI pipeline answers none of those questions well. State files hold secrets and need locking. Policy checks bolted onto CI are easy to skip. Approvals live in chat threads rather than an audit log. And the moment someone fixes an incident by clicking in a cloud console, the code and the cloud diverge silently. That divergence, known as drift, is how security exceptions and surprise costs survive for months.

The tooling picture also changed. HashiCorp moved Terraform to the Business Source License in August 2023, the community fork OpenTofu was accepted into the CNCF Sandbox in April 2025, and IBM completed its acquisition of HashiCorp in February 2025. Many large organisations now run Terraform and OpenTofu side by side, alongside Pulumi, CloudFormation and Kubernetes manifests. A governance platform has to cover that mix, not just one engine.

Who this is for

  • Heads of platform engineering, cloud centres of excellence and infrastructure leads in organisations where many teams change cloud infrastructure through code, across many accounts, subscriptions and projects.
  • Estates that mix Terraform, OpenTofu, Terragrunt and at least one other tool such as Pulumi, CloudFormation or Kubernetes manifests.
  • Teams that must keep state, credentials or execution inside their own network, and security functions that need audit evidence in a SIEM or GRC tool.
  • It is not aimed at a single team running a handful of Terraform workspaces, which is usually well served by a free tier or a CI pipeline with remote state.

How we evaluated

We fixed the criteria and weights before research, based on the problem above. We then reviewed official documentation, pricing pages, trust centres and independent sources for seven platforms, recorded a source for every finding, and re-checked the decisive facts (pricing, drift and policy behaviour, deployment options and attestations) against the live pages on 19 November 2026. Each platform was scored from 1 to 5 on each criterion with a written evidence note.

Evaluation criteria and weights
CriterionWeightWhat we looked for
Policy as code and guardrails25%Policy language, graded enforcement (warn, block, override), where in the workflow policies run, scoping by environment, cost and tagging rules
Drift detection and remediation20%Scheduled detection, notifications, automatic or PR-based remediation, visibility of resources that are not in code
Change control, approvals and audit20%Plans on pull requests, approval gates, RBAC and SSO, audit trail coverage and export to SIEM
Multi-tool, multi-environment scale15%Support for Terraform, OpenTofu, Terragrunt, Pulumi, CloudFormation and Kubernetes; dependencies between environments; private runners and registries
Deployment options, compliance and pricing transparency20%Self-hosted or air-gapped options, hosting regions, SOC 2, ISO 27001 and FedRAMP evidence, published prices with units

What we did not do: we did not run these products, benchmark them or request quotes. Prices are public list prices in US dollars on the evaluation date; enterprise agreements usually differ. Where a vendor makes a claim we could not confirm, we say so, and documentation that conflicts with itself is noted.

Side-by-side comparison

Scores out of 5 and weighted totals
PlatformPolicyDriftChange controlScaleEnterpriseWeighted total
Spacelift544544.40
HCP Terraform and Terraform Enterprise534354.10
env zero454523.95
Scalr444333.65
Harness IaCM434333.45
Pulumi Cloud443233.30
Firefly442323.05
How each platform is deployed and priced (public information, 19 November 2026)
PlatformIaC tools runSelf-hosted optionPublished pricing
SpaceliftTerraform, OpenTofu, Terragrunt, Pulumi, CloudFormation, Kubernetes, AnsibleYes, including air-gapped; FedRAMP Moderate SaaSStarter from $399 per month; Business and Enterprise by quote
HCP Terraform and Terraform EnterpriseTerraformYes (Terraform Enterprise), including air-gappedFrom $0.10, $0.47 or $0.99 per managed resource per month by edition; Enterprise by quote
env zeroTerraform, OpenTofu, Terragrunt, Pulumi, CloudFormation, Kubernetes, HelmSelf-hosted agents onlyFree to 250 runs a month; paid plans by quote, per apply or per environment
ScalrTerraform, OpenTofu, TerragruntSelf-hosted agents onlyFree to 50 runs a month, then $0.99 per run; Enterprise by quote
Harness IaCMOpenTofu, Terraform up to 1.5.x, Terragrunt, CDK (beta)Self-managed platform (IaCM in beta)Not published
Pulumi CloudPulumiYes, Enterprise editionEssentials $40 and Pro $400 per month including credits, then per resource-hour
FireflyTerraform, OpenTofu, TerragruntNot confirmedFrom $2,499 per month billed annually, by asset count

Why Spacelift is the champion

Policy runs at every decision point, not just after a plan. Spacelift uses Open Policy Agent and the Rego language for several policy types: who can log in, which Git pushes trigger runs, what a plan may change, who must approve and where notifications go. Plan policies distinguish deny rules, which fail the run, from warn rules, which flag it for a human reviewer, and they can read Infracost estimates to block or escalate expensive changes. Approval policies express multi-reviewer and role-based sign-off as code, so the approval rule itself is versioned and reviewable. Policies attach to stacks automatically by label, which matters when a platform team governs hundreds of stacks it did not create.

It governs the whole tool mix from one place. Spacelift's documentation covers Terraform, OpenTofu, Terragrunt, Pulumi, AWS CloudFormation, Kubernetes and Ansible as stack types, so one policy model and one audit trail cover all of them. Stack dependencies pass outputs from one stack to the next, so a network stack can feed an application stack without hand-copied values, and private worker pools run on Docker or Kubernetes inside your own network.

It fits the strictest deployment requirements. Spacelift says its self-hosted edition runs on AWS (including GovCloud), Azure, Google Cloud and on-premises Kubernetes, with official guides for air-gapped environments. For SaaS, customers choose a US or European region, and a separate FedRAMP Moderate Authorized environment serves US public-sector work. Its security page states SOC 2 Type II certification.

Drift detection closes the loop. Drift detection runs proposed runs on a schedule and can trigger reconciliation runs automatically, so a console change is either reverted or surfaced through the same webhooks as any other run.

Spacelift did not win every criterion. HCP Terraform publishes clearer prices and a broader compliance list, and env zero is stronger on drift and on finding resources that were never in code. Spacelift won because it scored 4 or 5 on every criterion and led on the two that most distinguish large, mixed estates: policy depth and tool coverage.

Where HCP Terraform and Terraform Enterprise are the better choice

HashiCorp's platform finished second and is the better pick for organisations standardised on Terraform. Its policy enforcement is the most mature in the group: teams can write policies in a native Terraform policy language, in Sentinel or in OPA with Rego, apply them globally or to specific projects, workspaces and Stacks, and start from pre-written libraries for standards such as PCI DSS. Sentinel offers advisory, soft mandatory and hard mandatory levels, so a central team can warn first and enforce later.

It also leads on procurement-friendly facts. The pricing page publishes a per-managed-resource rate for every SaaS edition: from $0.10 a month on Essentials, $0.47 on Standard and $0.99 on Premium, rated hourly. Terraform Enterprise can be self-managed in air-gapped networks, and HashiCorp's compliance page lists HCP Terraform, its European edition and the self-managed product in ISO 27001 scope, with a PCI DSS attestation for HCP Terraform. HCP Terraform Europe stores Terraform data in Europe, although HashiCorp notes it may transfer some customer data outside Europe, and an independent analysis by cloudmagazin points out that account data and OAuth tokens go to the US. See our IBM company profile for the parent company.

Choose it if your estate is Terraform-only and likely to stay that way. Expect trade-offs: it does not run OpenTofu, Pulumi or CloudFormation; health assessments, which provide drift detection and continuous validation, need the Standard or Premium edition and leave remediation as a manual plan and apply; and per-resource pricing grows with the size of the estate rather than with how often it changes.

Other credible options

env zero (3.95), formerly env0, came within 0.15 points of the runner-up and has the strongest drift story in the group. It can remediate drift automatically by redeploying code, by opening a pull request that codifies a manual change, or a hybrid of both, and its Cloud Compass scans AWS, Azure and Google Cloud activity logs for resources that were never in code. Its templates cover Terraform, OpenTofu, Terragrunt, Pulumi and CloudFormation, and approval policies in OPA can deny, warn or pause a deployment for human approval. It lost on enterprise fit: its security overview describes an AWS-hosted SaaS with self-hosted agents but no self-hosted control plane, hosting regions are not stated, and paid plans are priced by quote. Choose env zero if drift and shadow infrastructure are your biggest problem and SaaS is acceptable. In March 2026 env zero merged with CloudQuery.

Scalr (3.65) has the most transparent pricing we found: billed per run, free up to 50 runs a month, runs beyond a prepaid plan at $0.99 each, and no charge for users, resources, concurrency or self-hosted agents. Its OPA policies run before and after the plan with hard, soft and advisory levels, and drift detection offers sync or revert actions. It supports only Terraform, OpenTofu and Terragrunt, and its platform is hosted in Google Cloud in the United States. It is a strong choice for Terraform and OpenTofu shops with large resource counts, where per-resource pricing would be expensive.

Harness IaCM (3.45) suits organisations already using Harness for CI/CD. It applies OPA policies to workspaces, plans and state and gained a generally available drift Remediation Agent in November 2026, according to its release notes. It supports OpenTofu but Terraform only up to version 1.5.x, the last release before the licence change, its self-managed version is still in beta, and IaCM prices are not published.

Pulumi Cloud (3.30) is the natural governance layer for teams that write infrastructure in Pulumi. Its policies can be written in TypeScript, Python or OPA and can remediate as well as block, and drift detection with automatic remediation is included from the Pro edition, which lists at $400 a month on its pricing page. We did not find documentation that it governs Terraform or OpenTofu runs, which limits it in mixed estates.

Firefly (3.05) approaches the problem from cloud inventory. Its guardrails block Terraform, OpenTofu or Terragrunt plans on cost, tag, resource or OPA rules, and it inventories unmanaged resources and generates code for them. It scored lower on change control because SSO, advanced RBAC and advanced audit logs are reserved for its Enterprise tier, and its published prices start at $2,499 a month billed annually. It works best alongside, rather than instead of, an IaC orchestration platform.

Limitations and trade-offs

  • Spacelift's governance features sit in higher tiers. Drift detection needs the Business plan and private workers; the audit trail and SAML single sign-on are Enterprise features. The audit trail keeps 30 days of logs and is delivered by webhook, so you need your own pipeline into a SIEM.
  • Spacelift prices are mostly by quote. Only the Starter tier has a published price, so budget comparisons with HCP Terraform or Scalr require a quote. We also did not find an ISO 27001 certificate on Spacelift's public pages.
  • No platform here fully solves shadow infrastructure. Only env zero, Pulumi and Firefly document detection of resources that were never in code. Spacelift and HCP Terraform detect drift only for resources they already manage.
  • Documentation is sometimes inconsistent. HashiCorp's overview and API pages disagree on which edition includes audit logging, and env zero's pages disagree on which plans include self-hosted agents. Confirm entitlements in the order form.
  • Rego is a skill to budget for. Spacelift, env zero, Scalr, Harness and Firefly all rely on OPA. Policy authoring, testing and review need an owner, or the policy library becomes another source of drift.
  • List prices are a starting point. Every vendor here negotiates enterprise agreements; use the published units to model cost, not to predict the final invoice.

Implementation and pricing considerations

  1. Inventory before you buy. Count managed resources, monthly runs, stacks or workspaces, and the IaC tools in use. Per-resource pricing (HCP Terraform, Pulumi), per-run pricing (Scalr) and per-environment or quote-based pricing (env zero, Spacelift) favour very different estates.
  2. Model the main cost driver. For example, at HCP Terraform's published Standard rate, 20,000 managed resources list at about $9,400 a month (20,000 x $0.47), regardless of how often they change. On Scalr the same estate is billed by run count instead, at a list rate of $0.99 per run with volume discounts, so a stable estate that changes rarely costs far less. Your own mix of resources and change frequency decides which model is cheaper.
  3. Start policies in warn mode. Every leader supports an advisory or warn level. Run new policies in that mode for a few weeks, fix the violations they surface, then move them to blocking.
  4. Decide where execution happens. If state and credentials must stay inside your network, plan for private workers or agents from day one, and check which tier includes them; on Spacelift, drift detection also depends on them.
  5. Wire audit logs to your SIEM early. Retention in the platforms is short (14 days for the HCP Terraform audit trails API, 30 days for Spacelift), so export from the start.
  6. Pilot with two teams and two tools. Include one Terraform or OpenTofu estate and one other tool, and test a deliberate console change to see how drift is reported and remediated.

Questions to ask vendors

  1. At which points in the workflow can policies run (login, push, plan, approval, apply), and which enforcement levels apply at each?
  2. Which IaC tools and versions do you execute today, including OpenTofu and Terraform releases after 1.5.x?
  3. Which edition includes drift detection, automatic remediation, audit logs and SAML single sign-on?
  4. Can you detect cloud resources that are not managed by any code, and in which clouds?
  5. How long do you retain audit events, and which SIEM destinations can receive them natively?
  6. Can the control plane be self-hosted or air-gapped, and which features differ from SaaS when it is?
  7. In which regions are state, plan output, logs and account metadata stored?
  8. Which attestations (SOC 2 Type II, ISO 27001, FedRAMP) cover the exact product and edition we would buy?
  9. What is the billing unit, and what happens to the bill when resource counts or run volumes double?

What would change our verdict

We will revisit this recommendation if Spacelift publishes Business and Enterprise prices or moves drift detection and audit features into lower tiers, if HCP Terraform adds OpenTofu or automatic drift remediation, or if env zero adds a self-hosted control plane or publishes its hosting regions and prices. Each would move at least one score on the criteria above, and the env zero change alone could reorder the runner-up position.