Cloud

Infrastructure as code: Terraform or OpenTofu

Clicking through cloud consoles doesn’t scale or audit well. Infrastructure as code with Terraform or OpenTofu, and what the licence change means.

GloryTekSystems team30 Jan 2026 2 min read

Colorful code on a monitor

Infrastructure as code (IaC) describes servers, networks, databases and permissions in version-controlled files and applies them automatically. Every environment becomes reproducible, every change is reviewed like code, and a misconfigured setting can be traced to a specific commit.

Terraform and OpenTofu

Terraform is the most widely used IaC tool across clouds. In August 2023, HashiCorp moved Terraform from an open-source licence to the Business Source License. In response, the community created OpenTofu, an open-source fork hosted by the Linux Foundation that remains largely compatible with Terraform configurations. Both are sound choices for most companies; check the licence terms against your use, especially if you build products on top of the tool.

Practices that matter

  • Store state remotely, with locking and encryption, never on a laptop
  • Split configuration into small modules with clear inputs and outputs
  • Run a plan on every pull request, and apply only from the pipeline
  • Detect drift: changes made by hand in the console

Other options

Cloud-specific tools such as AWS CloudFormation and Azure Bicep integrate tightly with their platforms, and Pulumi lets you write infrastructure in general-purpose languages. The most important decision is to pick one approach and use it consistently.

Written by the GloryTekSystems team

Our engineers and consultants write about what they see in real projects. Have a question about your own systems?

Ask us
GloryTek assistantQuick answers · automated

Hi, I’m the GloryTek assistant. Ask me about our services, pricing, timelines or industries.

Popular pages

↑↓ to move to open Esc to close