Hashicorp Terraform License Change

Published
Length
3 min read

Luis Felipe Dias

All posts

The hashicorp terraform license change moved the tool from Mozilla Public License to Business Source License. Most teams can still run the tool to manage cloud apps for internal work. Teams often set up cloud roles and database keys inside these code files. When engineers need to fix a live bug, they often share these broad keys. Broad roles give users too much power over live systems and data. How the hashicorp terraform license change affects cloud setups Under the new license, companies ca

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 hashicorp terraform license change moved the tool from Mozilla Public License to Business Source License. Most teams can still run the tool to manage cloud apps for internal work. Teams often set up cloud roles and database keys inside these code files. When engineers need to fix a live bug, they often share these broad keys. Broad roles give users too much power over live systems and data.

How the hashicorp terraform license change affects cloud setups

Under the new license, companies can build and run their own cloud stacks. The limit only applies to vendors that sell competing cloud management products. For daily operations, the way teams write and run code stays the same. A team writes declarative files to set up servers, databases, and user roles. The tool reads these files and talks to cloud APIs to create resources. It stores the current state of all cloud resources in a central file. When a team updates a role, the tool compares the code to the state file. Then it sends API calls to update the cloud setup to match the code. Many teams also look at open source forks to keep using an open license. Both the main tool and its forks handle cloud roles in the exact same way. They set up static roles, network rules, and secret keys before anyone logs in.

What static code setups solve and what they miss

Managing cloud roles in code keeps your setup clean and easy to repeat. You can review changes in git before the tool creates a new database role. This stops teams from clicking around in cloud consoles and making manual mistakes. It also creates a clear history of who added a role and when. Still, code setups only control how a resource looks when it is created. They decide who can log in, not what a user does after logging in. Once an engineer logs into a database or server, the code tool steps back. It cannot check individual SQL queries or shell commands as they run in flight. If a role allows read permissions, the user can read every row in a table by default. Static roles cannot rewrite emails, phone numbers, or card numbers in query results. Teams also struggle when someone needs temporary permissions to fix a broken production app. Updating code, getting reviews, and running a pipeline takes too long during an outage. As a result, teams hand out permanent admin keys just in case of an emergency.

How to tighten live session controls alongside code tools

To keep systems safe, teams must separate resource creation from live human sessions. Keep using your code files to build databases, clusters, and base service roles. Do not use those same static files to hand out daily keys to engineers. Instead, link live database and server sessions to your company identity provider. Require team leads to approve risky commands or sessions right when the engineer needs them. Inspect queries and commands in flight rather than trusting a broad cloud role. Mask sensitive fields like national IDs and card numbers before results reach the user screen. This approach keeps your code setup simple regardless of which license your tool uses.

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

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

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

Yes, you can use it for free if you manage your own internal systems. The license only restricts companies that build and sell competing commercial products using the code.

Do open source forks change how database roles and keys work?

No, the open source forks use the same provider plugins and state file logic. They still set up static cloud roles and cannot inspect live queries in flight.

Why should teams avoid putting human database keys in code files?

Code files store state in plain text, which can expose long-lived keys to anyone reading state. It also leaves users with standing permissions when they are not actively fixing an 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.