Terraform License Change

Published
Length
3 min read

Luis Felipe Dias

All posts

The terraform license change moves the tool from an open source license to a source-available license. You can still use the tool for free if you do not sell a competing product. Most teams run these cloud code scripts using shared service accounts. When those roles have broad permissions, any team member or pipeline can change production resources or read sensitive state files. How the terraform license change works for teams HashiCorp moved the core tool to the Business Source License. This

Terraform Security (tfsec, Checkov) + Regulatory Change Management: the complete guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free white paper. No spam. Unsubscribe anytime.

The terraform license change moves the tool from an open source license to a source-available license. You can still use the tool for free if you do not sell a competing product. Most teams run these cloud code scripts using shared service accounts. When those roles have broad permissions, any team member or pipeline can change production resources or read sensitive state files.

How the terraform license change works for teams

HashiCorp moved the core tool to the Business Source License. This license change stops cloud vendors from selling hosted versions of the tool without a deal. Internal teams that write code to manage their own cloud apps can keep working as before. You only hit a legal limit if you wrap the tool into a paid product for others.

Some teams choose to stay on the vendor tool and accept the new terms. Other teams switch to open source forks maintained by a foundation. Both paths use the same basic workflow for cloud changes. A pipeline or engineer logs in to a cloud account with a high-level role. The tool reads the remote state file, checks live resources, and runs updates across your accounts.

To run these updates, the tool needs broad permissions across databases, networks, and servers. Teams often attach admin roles to the runner so deployments do not fail. Those keys sit in pipeline settings or on developer laptops during local plan tests.

What state permissions solve and what they leave open

Cloud identity roles control who can start a deployment or read a remote state bucket. You can lock down the storage bucket so only the build server role can write state. You can also require code reviews before a branch merges and runs a plan. These rules help you control who starts a standard cloud update.

Still, state files often store plain text secrets, database passwords, and private keys. Anyone who can read the state backend can pull those secrets out. Also, when a deployment fails, engineers still need direct access to fix the broken database or server. Cloud roles only check who logs in at the start of a session.

Terraform Security (tfsec, Checkov) + Regulatory Change Management: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Native roles do not inspect what individual commands or queries do in flight. If an engineer logs in to fix a failed run, they have full role permissions. They can run a bad delete query or read raw customer rows. The cloud log shows who logged in, but not the exact database queries they ran. Masking rules are also missing, so queries return raw emails, phone numbers, and card numbers.

How to audit and control live operations after a run

Whether you stay on the vendor tool or switch to a fork, day-two operations remain a risk. Your team still needs a safe way to run ad-hoc checks and fixes on live targets. Separating build roles from human debug sessions is the first step.

Keep your deployment pipeline locked to automated triggers only. Do not let engineers download pipeline keys to run local fixes from their laptops. For live database queries and server checks, route human sessions through a central control point. This setup lets you check every command and apply data masking to results in real time.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev sits inline in the protocol beside each supported service as an open-source proxy, a sidecar for your database or API. For every query or command an AI agent or engineer runs against production, hoop.dev decides to pass, mask, block, or hold it for human approval.

First, hoop.dev guardrails block banned queries before they run or hold risky ones for review, and hoop.dev data masking rewrites matched sensitive values in responses in memory. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

Can my company still use the tool for free after the terraform license change?

Yes, internal use remains free for most companies. You only need a commercial deal if you build and sell a competing cloud automation product.

Does switching to an open source fork fix state file secret risks?

No, forks use the same state file format and cloud provider plugins. You still need strict access rules and data checks to protect secrets and live databases.

Why do engineers need live target access if we use code for cloud changes?

Automated runs often fail due to data locks, schema drift, or network timeouts. Engineers must run live queries and commands to inspect the state and fix the issue.

Save the open-source gateway.

hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.