OpenTofu, Terraform and Pulumi are three engines, and what you pay for sits one layer above them. OpenTofu is open-source software under the Linux Foundation’s stewardship, according to opentofu.org. Pulumi’s CLI and SDK are an open-source project, per Pulumi’s pricing page. Terraform is licensed under the Business Source License 1.1. Charges begin with the hosted services, HCP Terraform and Pulumi Cloud. The sections below separate what each licence allows, how those two services meter usage, and the two migrations that keep an existing configuration intact.
Don't miss new tech stories on Google
Add Tech Insider once in the Google app and our stories appear in your news suggestions.
What each engine’s licence lets you do
Terraform’s LICENSE file on GitHub grants the right to copy, modify, create derivative works, redistribute and make non-production use. It allows production use as long as you do not offer Terraform to third parties on a hosted or embedded basis in order to compete with IBM’s paid versions. The additional use grant then says: “Hosting or using the Licensed Work(s) for internal purposes within an organization is not considered a competitive offering.” The organisation includes affiliates under common control. The restriction is aimed at products built on Terraform, not at a team running its own infrastructure with it. A case between those two, such as embedding Terraform in something you sell, is one to settle against the licence text and HashiCorp’s licence FAQ.
The grant also runs version by version. HashiCorp’s BSL page says the licence applies separately to each version of the work, and each Terraform version’s grant converts to an open licence after four years, but only for that specific version. The IBM name in the licence has a history: IBM agreed to buy HashiCorp on April 24, 2024 and closed the deal on February 27, 2025, paying $35 a share in cash, an enterprise value of $6.4 billion, according to software-lifecycle.com. The same page records that Terraform Stacks, which manage several environments and component layers as one unit, became generally available at HashiConf in September 2025. A project built around Stacks is a case to check against the migration guides below before any cutover.
OpenTofu describes itself as a community-driven tool and a drop-in replacement for Terraform that preserves existing workflows and configurations. Per the same software-lifecycle.com page, it became a Linux Foundation project in September 2023, shipped its first stable release, 1.6.0, on January 10, 2024, and was accepted by the CNCF as a Sandbox project on April 23, 2025. It forked from the last MPL-licensed Terraform 1.5.x codebase, and OpenTofu’s migration page states that OpenTofu 1.6.2 is compatible with Terraform 1.5.x or lower, with encrypted state the exception to state-file compatibility. Pulumi’s engine is Apache 2.0 open source, and Pulumi Cloud is a separate managed service for the open-source CLI and SDK, per Pulumi’s own tools overview. Pulumi also states that you can run it entirely offline and manage state yourself. The table compares the engines and the way an existing Terraform project arrives on each.
| Attribute | Terraform | OpenTofu | Pulumi |
|---|---|---|---|
| Licence | Business Source License 1.1, with an additional use grant | Open source, Linux Foundation stewardship | Apache 2.0, open-source CLI and SDK |
| Configuration | Terraform .tf files | Existing Terraform configurations preserved | Python, TypeScript, JavaScript, Go, .NET, Java, YAML or HCL, per Pulumi’s tools overview |
| Provider and module supply | Terraform providers | Works with current Terraform providers through a separate registry; opentofu.org advertises 3,900+ providers and 23,600+ modules | Its HCL docs page invites you to browse “hundreds of cloud providers and packages” (checked November 15, 2026); Terraform modules usable directly, without converting them |
| Way in from an existing Terraform project | Already there | Install, init, plan, apply | Backend only, HCL on the Pulumi engine, or code conversion |
HCP Terraform and Pulumi Cloud: the meters each one bills
As shown on HashiCorp’s pricing page and Pulumi’s pricing page on November 15, 2026, HCP Terraform Essentials starts at $0.10 per resource per month and Pulumi Cloud Essentials is $40 per month, and our Pulumi versus Terraform comparison lays out the tier-by-tier list prices. This section compares what each service counts and bills, which is the part that decides what a given estate costs.
| Question | HCP Terraform | Pulumi Cloud |
|---|---|---|
| Unit billed | Resources under management, quoted per resource per month and rated hourly | A monthly fee that includes a pool of credits, then hourly rates per resource |
| What is counted | Peak managed resources per hour | Any resource declared in a Pulumi program: provider resources, component resources and stacks |
| Partial hours | Counted as full hours | Billed as a full hour |
| Free entry point | A Free tier capped at 500 resources; the legacy Free plan, which limited users rather than resources, ended on March 31, 2026 | Cloud Free edition: one user, no limit on managed resources |
| Self-hosted option | IBM Terraform Enterprise, self-managed, custom pricing | Pulumi Cloud Enterprise, self-hosting available, custom contract pricing |
The HCP Terraform rows follow software-lifecycle.com’s Terraform page, which records that remaining organisations on the legacy plan moved to the 500-resource Free tier automatically. Pulumi states that all usage of its services draws from the credit pool, and once the pool is exhausted additional use is billed in arrears at the listed rates.
Pulumi’s counting rules are worth working through before you size a bill. Per its pricing page, a partial resource hour is billed as a full hour, and it counts any resource declared in a Pulumi program: provider resources such as a storage bucket, component resources that group other resources such as a Kubernetes cluster, and stacks such as dev, test and prod. A test environment that lives for 90 minutes is therefore billed as two full hours. Size the bill from the count those rules produce, since components and stacks are counted alongside the resources they hold, so the total can differ from the objects listed in a cloud console.
Where state lives, and what carries over from Terraform
Changing the engine does not force a change of state service, and changing the state service does not force a change of language. The table lists what each vendor documents on its own pages for state, providers and reuse.
| Capability | Tool | What the vendor documents |
|---|---|---|
| Client-side state encryption | OpenTofu | Key providers include PBKDF2, AWS KMS, GCP KMS and OpenBao, and data stays encrypted even when stored in remote backends |
| Provider configurations from for_each | OpenTofu | Generate provider configurations dynamically, for multi-region, multi-environment and multi-account setups |
| Registry | OpenTofu | Works with the current Terraform providers but uses a separate registry |
| State backends | Pulumi | Pulumi Cloud, an Amazon, Azure or Google storage bucket, or a local file you manage yourself |
| Running without the hosted service | Pulumi | Entirely offline, with state managed by you |
| Terraform remote backend API | Pulumi Cloud | Implemented, so an existing project can point at it with a standard backend “remote” block |
| Existing Terraform modules | Pulumi | Usable directly in Pulumi programs without converting or rewriting |
The practical reading: if your reason for looking is state handling, OpenTofu’s client-side encryption is a feature of the engine and needs no change of language. If it is the cost or operation of a hosted state service, Pulumi Cloud’s Terraform-compatible backend and Pulumi’s offline mode are options that leave resource code alone. Source for the OpenTofu rows is the project’s home page and FAQ; for the Pulumi rows, its Pulumi Cloud FAQ and Terraform migration guide.
Moving a Terraform project to OpenTofu, in the order the project documents
The sequence below follows OpenTofu’s own migration guide. It treats a clean plan as the middle of the job, not the end.
- Back up first. Commit all configuration changes to version control and consider a migration branch. For local state, copy
terraform.tfstateand the backup file. For remote state, follow your backend’s backup procedure, for example bucket versioning or a snapshot of the state bucket. - Install OpenTofu and verify it with
tofu --version. - Initialise.
tofu initdownloads the required providers from the OpenTofu registry, initialises your backend configuration and prepares the working directory. - Plan.
tofu planshould show “No changes” or the same plan you would see with Terraform. If it shows unexpected changes, the guide says not to apply them, to investigate the differences and to consider rolling back. - Apply. Once the plan is clean,
tofu applyupdates the state file format if needed, even when no infrastructure changes. - Prove it with a small change. Add a tag to one non-critical resource, then run plan and apply again, which verifies OpenTofu can manage the infrastructure from here on.
For the small-change test, a storage bucket and its versioning setting make a suitable non-critical resource. This example is illustrative: add the tags block (or change a tag value), then run plan and apply.
resource "aws_s3_bucket" "assets" {
bucket = "example-assets-bucket"
tags = {
Environment = "migration-test"
}
}
resource "aws_s3_bucket_versioning" "assets" {
bucket = aws_s3_bucket.assets.id
versioning_configuration {
status = "Enabled"
}
}
set -e
# local state only: keep a copy before OpenTofu touches anything
cp terraform.tfstate terraform.tfstate.backup
tofu --version
tofu init
tofu plan
# read the plan; continue only if it shows no unexpected changes
# tofu apply
Two cautions come from the same guide. Systems built from several Terraform configurations that pass data with the terraform_remote_state data source typically need additional care during migration. And the rollback path is short: stop using OpenTofu, restore your backups if any state changes were made, then run the commands below and verify that no unexpected changes appear before carrying on with Terraform. Keep the backups until the small-change test has passed.
set -e
terraform init
terraform plan
Pulumi without a rewrite: three routes and what each leaves for you
Pulumi’s guide to migrating from Terraform describes routes that differ in how much of the project changes.
Route one: change only the state service
Pulumi Cloud implements the Terraform remote backend API, so an existing project can point at it by adding a standard backend “remote” block. Resource code and day-to-day workflow are unchanged. The guide covers migrating state from HCP Terraform, an Amazon, Azure or Google storage bucket and local files. This is a state-service change, so the Pulumi Cloud meter from the billing table above applies, while the engine you run stays the same.
Route two: keep HCL on the Pulumi engine
HCL is a supported Pulumi language. A project is a Pulumi.yaml with runtime: hcl next to ordinary .tf files, so an existing HCL codebase moves onto the Pulumi engine without a rewrite. State is still a migration: Pulumi does not reuse a Terraform state file in place, because state lives in whichever backend pulumi login points at. Bring resources across from the project directory, since the importer reads your .tf files alongside the state file:
set -e
pulumi import --from hcl terraform.tfstate
pulumi preview
The limit to plan around: the importer brings in every managed resource in the root module, and resources nested inside modules are skipped with a warning. Those have to be imported in the usual way afterwards, so a module-heavy estate is not finished when the command exits.
Route three: convert to TypeScript, Python, Go or C#
From the folder holding the HCL, pulumi convert --from terraform takes a --language of typescript, python, go or csharp. Then import state and check the result:
set -e
pulumi convert --from terraform --language typescript
pulumi import --from terraform ./terraform.tfstate
pulumi preview
Where the converter does not yet support a feature, the command still succeeds but generates a call to a notImplemented function (the name varies by language) that must be filled in by hand. A successful conversion is therefore not a finished one: search the generated program for those calls and complete them before trusting the result. The import maps the resources in the state file into the target stack and marks them protected so you can make follow-up changes to the source safely, and pulumi preview should then show no unexpected changes against the migrated state. A converted program that groups resources into components and runs as dev, test and prod stacks is counted on all of those under Pulumi’s billing rules above. Terraform modules need not be converted at all, since Pulumi can use them directly.
Change the layer that carries the constraint
Each layer can be changed on its own, so the useful question is which one the problem actually sits in. If the worry is licensing, read the use grant first: internal use inside an organisation is expressly outside the competitive-offering restriction, so a team running its own infrastructure may have nothing to fix. If the worry is vendor control, OpenTofu is the smallest change, because the documented path is install, init, plan, apply and one small test change, with a written rollback to Terraform. If the problem is the bill, the engine is not where it sits: HCP Terraform’s per-resource prices and Pulumi’s credits and hourly rates both belong to the services, and Pulumi Cloud’s Terraform-compatible backend lets a team try a different state service without touching resource code. If the problem is the language, Pulumi is the only one of the three that changes it, and it offers a route that keeps HCL, so a rewrite is optional.
Our assessment is that the routes that preserve your HCL are the smallest to try, and that conversion to TypeScript or Python should be chosen for the language itself. It is the one change that leaves you hand-finishing converter output and importing nested-module resources, and it is not a way to lower a hosting bill.





