Back to all tools

Terraform
Write, plan, and apply infrastructure as code across any cloud.
0Free
Infrastructure as Code
Overview
Open-source tool by HashiCorp for building, changing, and versioning infrastructure safely and efficiently.
Key Features
- Declarative HCL configuration language
- State management for tracking real infrastructure
- Plan/apply workflow to preview changes before applying
- Provider ecosystem for AWS, Azure, GCP, and 1000+ services
- Modules for reusable infrastructure components
- Remote backends for team collaboration and state locking
Real-World Workflows
Provision a production VPC on AWS
- 1Write HCL to define VPC, subnets, route tables, and security groups
- 2Run terraform init to download the AWS provider
- 3Run terraform plan to preview all resources to be created
- 4Run terraform apply to provision the infrastructure
- 5Store state in S3 backend with DynamoDB locking for team access
Multi-environment infrastructure with workspaces
- 1Define modules for compute, networking, and storage
- 2Use terraform workspace to create dev, staging, and prod environments
- 3Run plan/apply per environment promoting changes bottom-up
- 4Use Terraform Cloud for remote runs, audit logs, and policy checks
Getting Started
brew install terraform terraform init terraform plan terraform apply
Compare Alternatives
See how Terraform stacks up against similar tools.