Terraform Infrastructure as Code Tool for Cloud Automation and DevOps
Terraform is an infrastructure as code tool from HashiCorp that automates provisioning and managing cloud infrastructure using declarative configuration files.
- Best for
- Infrastructure Provisioning
- Key capability
- Declarative Configuration Language
Save Terraform, follow its updates and vote on it — everything stays in your account.
Sign in or create a free account
What is Terraform?
Terraform is an infrastructure as code (IaC) tool from HashiCorp that defines, provisions and manages cloud infrastructure using declarative configuration files. Its license changed to BSL in 2023.

Key features of Terraform
Terraform offers declarative configuration language, multi-cloud support, state management, execution plans, resource graphing, and a robust plugin system for providers and provisioners, enabling scalable and repeatable infrastructure automation.
Declarative Configuration Language
Use HCL to describe infrastructure resources in a human-readable and version-controllable format.
Multi-Cloud and Provider Support
Manage infrastructure across various cloud providers and services with a unified workflow.
Execution Plans
Preview changes before applying to understand impact and avoid unintended modifications.
State Management
Track resource states to enable incremental updates and detect configuration drift.
Resource Graphing
Automatically build dependency graphs to optimize resource creation and destruction order.
Extensible Provider Ecosystem
Leverage a wide range of official and community providers to extend Terraform's capabilities.
Pros and cons of Terraform
Pros
- Supports multiple cloud providers with a unified workflow
- Declarative language simplifies infrastructure management
- Strong community and extensive provider ecosystem
- Enables version control and collaboration on infrastructure
- Execution plans help prevent unintended changes
Cons
- Steep learning curve for beginners new to infrastructure as code
- State file management can be complex in large teams
- Limited GUI; primarily CLI-based interaction
Key use cases for Terraform
Infrastructure Provisioning
Automate the provisioning and management of cloud infrastructure resources across multiple providers.
Multi-Cloud Deployment
Deploy and manage infrastructure consistently across various cloud platforms like AWS, Azure, Google Cloud, and others.
Infrastructure as Code (IaC)
Define infrastructure configurations declaratively using HCL to enable version control and reproducibility.
DevOps Automation
Integrate infrastructure automation into CI/CD pipelines to streamline application delivery and environment management.
Resource Orchestration
Manage dependencies and lifecycle of infrastructure components to ensure reliable and predictable deployments.
How Terraform works
- 1
Write Configuration
Define infrastructure resources and their desired state using HashiCorp Configuration Language (HCL) files.
- 2
Initialize Terraform
Run ‘terraform init’ to initialize the working directory and download necessary provider plugins.
- 3
Plan Changes
Execute ‘terraform plan’ to preview the changes Terraform will make to reach the desired state.
- 4
Apply Configuration
Run ‘terraform apply’ to provision or modify infrastructure resources as defined.
- 5
Manage State
Terraform maintains a state file to track resource metadata and dependencies for accurate updates.
Who is using Terraform
Terraform pricing
Terraform Open Source
$0
Free to use with core IaC features and community support.
Terraform Cloud
Free tier available; Paid plans start at $20/user/month
Managed service with collaboration, remote state management, and policy enforcement.
HCP Terraform Standard
From $0.47 per resource per month
Self-hosted instance of HCP Terraform for organizations with strict security and compliance requirements.
Plans and prices are as published by the vendor and can change. Check the official site before you buy. Open the pricing page (opens in a new tab)
Frequently asked questions about Terraform
Terraform is used to define, provision, and manage infrastructure resources across multiple cloud providers using infrastructure as code.
Terraform supports major providers including AWS, Azure, Google Cloud, Oracle Cloud, and many others through its provider ecosystem.
HCP Terraform is priced per managed resource each month: Essentials from $0.10, Standard from $0.47 and Premium from $0.99.
Terraform uses HashiCorp Configuration Language (HCL), a declarative language designed for infrastructure configurations.
It depends on your specific needs and how you plan to use the tool. The official website and documentation are the best sources for the latest details.
It depends on your specific needs and how you plan to use the tool. The official website and documentation are the best sources for the latest details.
It depends on your specific needs and how you plan to use the tool. The official website and documentation are the best sources for the latest details.
Yes, it can help with that use case depending on how you configure it and what features are available. You’ll get the best results with clear inputs and a defined goal.
Conclusion
Resources and their desired state are written in HashiCorp Configuration Language (HCL) files. The command sequence runs init to download provider plugins, plan to preview changes and apply to provision or modify resources. Tracked resource states enable incremental updates and the detection of configuration drift. Official and community providers cover AWS, Azure, Google Cloud, Oracle Cloud and many others.
It serves DevOps engineers, cloud architects and infrastructure engineers. The license changed to BSL in 2023. The managed HCP Terraform service is priced per resource each month, with Essentials from $0.10, Standard from $0.47 and Premium from $0.99.
Sources
Sign in to review this tool.
Sign In to ReviewNo reviews yet
Be the first to share how this tool worked for you.
Ask about pricing, limits, or how it compares — or answer someone else.
Sign In to AskNo questions yet
Have a question about using or paying for this tool? Be the first to ask.
Alternative Tools
Explore similar AI tools that might fit your needs
Pulumi
Pulumi is an infrastructure as code platform that allows developers to define and manage cloud infrastructure using general-purpose programming languages, supporting multi-cloud environments and integrating with DevOps workflows.
Ansible
Ansible is an open-source IT automation tool that uses simple YAML playbooks to automate configuration management, application deployment, and orchestration without requiring agents on managed nodes.