Back to directory
hashicorp avatar

terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/hashicorp/terraform.git

49,505

Stars

10,610

Forks

1,181

Watchers

NOASSERTION

License

Terraform

Terraform

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.

License

Business Source License 1.1

Releases

1.15.9 (August 19, 2026) BUG FIXES:

validate: Child module validation has been fixed and will now raise errors or warning diagnostics for invalid blocks. (list, import, backend, and cloud) (#38994)...

v1.16.0-rc2

Pre-release

Aug 19, 2026

Download .zip

1.16.0-rc2 (August 19, 2026) NEW FEATURES:

Terraform now stores planned private data for providers, allowing provider-specific state to be preserved across plan and apply. (#37986)

terraform_data:...

v1.16.0-rc1

Pre-release

Aug 12, 2026

Download .zip

1.16.0-rc1 (August 12, 2026) NEW FEATURES:

Terraform now stores planned private data for providers, allowing provider-specific state to be preserved across plan and apply. (#37986)

terraform_data:...

v1.17.0-alpha20260812

Pre-release

Aug 12, 2026

Download .zip

1.17.0-alpha20260812 (August 12, 2026) ENHANCEMENTS:

command/init: Enrich log messages with provider versions (#38918)

BUG FIXES:

funcs: pow and log no longer panic when result is not a number (#3...

v1.16.0-beta2

Pre-release

Aug 5, 2026

Download .zip

1.16.0-beta2 (August 05, 2026) NEW FEATURES:

Terraform now stores planned private data for providers, allowing provider-specific state to be preserved across plan and apply. (#37986)

terraform_dat...