
Terraform
CLIHashiCorp's infrastructure-as-code tool: manage multi-cloud and SaaS resources with declarative config, previewing changes with plan before running apply. Providers cover all major clouds. Licensed under BSL 1.1.
Terraform
- Website: https://developer.hashicorp.com/terraform
- Forums: HashiCorp Discuss
- Documentation: https://developer.hashicorp.com/terraform/docs
- Tutorials: HashiCorp's Learn Platform
- Certification Exam: HashiCorp Certified: Terraform Associate
Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions.
The key features of Terraform are:
-
Infrastructure as Code: Infrastructure is described using a high-level configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure can be shared and re-used.
-
Execution Plans: Terraform has a "planning" step where it generates an execution plan. The execution plan shows what Terraform will do when you call apply. This lets you avoid any surprises when Terraform manipulates infrastructure.
-
Resource Graph: Terraform builds a graph of all your resources, and parallelizes the creation and modification of any non-dependent resources. Because of this, Terraform builds infrastructure as efficiently as possible, and operators get insight into dependencies in their infrastructure.
-
Change Automation: Complex changesets can be applied to your infrastructure with minimal human interaction. With the previously mentioned execution plan and resource graph, you know exactly what Terraform will change and in what order, avoiding many possible human errors.
For more information, refer to the What is Terraform? page on the Terraform website.
Getting Started & Documentation
Documentation is available on the Terraform website:
If you're new to Terraform and want to get started creating infrastructure, please check out our Getting Started guides on HashiCorp's learning platform. There are also additional guides to continue your learning.
Show off your Terraform knowledge by passing a certification exam. Visit the certification page for information about exams and find study materials on HashiCorp's learning platform.
Developing Terraform
This repository contains only Terraform core, which includes the command line interface and the main graph engine. Providers are implemented as plugins, and Terraform can automatically download providers that are published on the Terraform Registry. HashiCorp develops some providers, and others are developed by other organizations. For more information, refer to Plugin development.
-
To learn more about compiling Terraform and contributing suggested changes, refer to the contributing guide.
-
To learn more about how we handle bug reports, refer to the bug triage guide.
-
To learn how to contribute to the Terraform documentation, refer to the Web Unified Docs repository.
License
Related resources

Terraform
PluginHashiCorp's official Terraform plugin: runs the Terraform MCP Server in Docker against the Terraform Registry and HCP Terraform API to look up provider and module docs and help write IaC. Needs Docker; TFE_TOKEN is optional.
anthropics/claude-plugins-official40.1k
Terraform MCP Server
MCPHashiCorp's official server: looks up provider, module and policy docs in the Terraform Registry to help write IaC; with an HCP Terraform token it can also manage workspaces, variables and runs. Runs in Docker by default.
hashicorp/terraform-mcp-server1.6k
HashiCorp Agent Skills
SkillHashiCorp's official Terraform and Packer skills: write HCL in the official style, refactor modules, terraform test, provider development, Stacks and policy, plus AWS and Azure image builds.
hashicorp/agent-skills898
HashiCorp Agent Skills
PluginHashiCorp's official plugin marketplace: the terraform plugin has 16 skills (configuration, modules, provider development, testing, import, Stacks and policy), and the packer plugin has 4 image-build and HCP Packer skills.
hashicorp/agent-skills898
OpenTofu
CLIOpen-source infrastructure-as-code tool and community fork of Terraform: describe cloud resources declaratively, run plan to generate an execution plan, then apply changes, creating resources in parallel by dependency graph. Community-governed, MPL-2.0.
opentofu/opentofu30.5k
Infracost
CLIEstimates cloud costs of Terraform, Terragrunt, CloudFormation and AWS CDK changes before deployment and checks them against FinOps policies, in the terminal, editor, AI agents or CI. Requires an Infracost account; a free tier is available.
infracost/infracost12.6k