Follow us
Breaking
Tech Services

Terraform myths vs facts for teams choosing Pulumi or OpenTofu

Infrastructure teams face a trade-off between vendor stability and open-source freedom following HashiCorp's move to the BSL 1.1 license. While OpenTofu offers an MPL 2.0 alternative, Pulumi provides programming flexibility through languages like Python and Go.

Share

The licensing split and the rise of OpenTofu

HashiCorp moved Terraform from the Mozilla Public License to the Business Source License 1.1 in August 2023. This license restricts use in competing commercial products and converts to MPL 2.0 after four years. This decision prompted the community to release OpenTofu, an open-source fork under MPL 2.0, which became generally available in 2024. I see the choice between these two as a trade-off between vendor stability and open-source freedom. OpenTofu costs nothing in license fees if you self-host it. You still pay for the engineering labor required to manage state backends, handle upgrades, and manage locking. Because the BSL restricts use in competing commercial products, many teams transitioned to OpenTofu to maintain a truly open-source workflow without the risk of sudden licensing changes from HashiCorp. Terraform works through a three-step workflow where you write configuration, run a plan to see execution steps, and apply changes to the environment. Terraform still supports over 1,700 providers to manage various cloud and SaaS resources.

Programming flexibility and usage-based pricing

Pulumi allows you to use Python, JavaScript, Java, Go, and YAML. You can use Pulumi Cloud or self-managed backends like an S3 bucket. I find Pulumi’s resource-hour metric punishing for teams that lack discipline. If you leave ephemeral environments running overnight or forget to tear down preview stacks, you pay for that forgetfulness directly. Pulumi has raised $57.5M across three rounds since 2018 and employs 123 people as of December 2024.

Tool Primary Pricing Metric Open Source License
Terraform Cloud Per-user and per-managed-resource BSL 1.1
OpenTofu Engineering labor (self-hosted) MPL 2.0
Pulumi Managed Per-user and per-resource-hour Apache 2.0

Pulumi uses usage-based pricing for its Team and Enterprise tiers. You can use programming languages to use if-statements or loops for more flexibility. Pulumi provides resource policies and stack policies to implement access control and governance. While OpenTofu provides a free alternative for teams with strong platform engineering, the operational burden of managing state backends and pipelines often outweighs the initial license savings for smaller organizations. You can organize infrastructure code into projects for system components and stacks for environments. I would skip the managed service if your team already manages complex state locking for other tools. You know the basics, but do you have the headcount to manage a custom state backend without increasing your cloud bill through labor costs?

Security risks and the reality of leaked secrets

Security errors in IaC code replicate at scale. Nightfall AI found that passwords comprise 59% of detected secrets, while API keys make up 39% of detected secrets. In 2023, OpenAI API key occurrences leaked averaged 46,441 per month. I find the risk of malicious providers in the Terraform Registry particularly alarming because a single poisoned provider can execute arbitrary code during a plan or apply phase. A developer can add a malicious provider to a configuration file and trigger remote code execution during a plan.

Terraform state files also create danger. These files contain sensitive metadata and resource attributes. If you store a .tfstate file in a public Git repository, attackers use those details to plan attacks. 14% of organizations reported a cloud data breach in the past 12 months, and 44% of organizations faced a cloud data breach. 99% of organizations that experienced cloud-related breaches blamed insecure identities as the primary cause. I find the lack of automatic secret encryption in some workflows a massive vulnerability. You should use dedicated tools like AWS Secrets Manager or HashiCorp Vault to manage credentials. Identity sprawl, overprivileged service accounts, and unsecure networks like open security groups with 0.0.0.0/0 access also increase breach chances. I find the ability of AI agents to trigger workflows across systems a risk that many CTOs underestimate. Use specialized tools like Checkov or tfsec to scan your code for these errors before deployment.

Share

Technewsdaily

Senior tech writer covering AI, gadgets and cybersecurity. Breaking down the news that matters, every day.