Join us for live office hours! Next WednesdayNext Wed
Terraform
← Back to Glossary
Infrastructure as Code

What is Terraform?

Terraform is an open-source infrastructure as code tool by HashiCorp that lets you define and provision cloud infrastructure using a declarative configuration language called HCL.

How Terraform Works

Terraform uses a declarative approach to infrastructure management. You write configuration files in HashiCorp Configuration Language (HCL) that describe the desired end state of your infrastructure. Terraform then determines what actions need to be taken to reach that state.

The core workflow follows three steps: write your configuration, plan the changes to preview what will happen, and apply to execute those changes against your cloud provider.

Key Concepts

  • Providers connect Terraform to cloud platforms like AWS, Azure, and GCP
  • Resources are the fundamental building blocks—each represents an infrastructure object like a VM, database, or network
  • State tracks the mapping between your configuration and real-world resources
  • Modules package reusable sets of resources for consistent provisioning

Why Teams Choose Terraform

Terraform enables teams to version control their infrastructure, review changes through pull requests, and apply consistent patterns across environments. Its provider ecosystem supports hundreds of services, making it a natural choice for multi-cloud strategies.

When combined with tools like Atmos, Terraform scales to manage complex multi-account AWS environments with dozens of components and environments.

Getting Started

Most teams start by defining their core networking and compute resources in Terraform, then gradually expand to cover DNS, monitoring, security, and other infrastructure layers. Cloud Posse maintains a library of production-ready Terraform modules that accelerate this process.

Related Terms

Infrastructure as CodeAtmosGitOpsTerraform ModulesTerraform State

Related Articles

The Role of Open Source Module Libraries in a Post-AI World

Open source Terraform module libraries are infrastructure's equivalent of npm and PyPI—battle-tested foundations that become even more critical when AI enters the picture.

Feb 17 2026

Own Your Infrastructure

AI leveled the playing field. You don't need vendor platforms anymore. Here's what real infrastructure ownership looks like and why it's your strategic advantage.

Feb 15 2026

Why Terraform Is More Relevant Than Ever in the AI Era

Generative AI doesn't replace infrastructure as code—it supercharges it. Here's why IaC is the perfect foundation for agentic development.

Jan 28 2026

Service-Oriented Terraform: Why the Patterns That Work for Software Work for Infrastructure

Infrastructure as Code follows the same architectural principles software engineering established decades ago. Here's why service-oriented patterns aren't workarounds—they're the right way to build.

Nov 30 2025

Building Enterprise-Grade Terraform: A Practical Guide

Ready to build enterprise-grade Terraform? This guide covers the architectural patterns, governance frameworks, and practical implementation steps that successful teams use to balance compliance with team autonomy.

Nov 15 2025

The Production Ready Newsletter

Build Smarter. Avoid Mistakes. Stay Ahead of DevOps Trends That Matter.

The fastest way to achieve SOC 2 on AWS with Terraform and GitHub Actions.

For Developers

  • GitHub
  • Documentation
  • Quickstart Docs
  • Resources
  • Read our Blog

Community

  • Join Office Hours
  • Join the Slack Community
  • DevOps Podcast
  • Try our Newsletter

Company

  • Services & Support
  • AWS Migrations
  • Pricing
  • Book a Meeting

Legal

  • Terms of Use
  • Privacy Policy
  • Disclaimer
  • Cookie Policy
Copyright ©2026 Cloud Posse, LLC. All rights reserved.