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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
github-actions[bot] f44c8af702
backport of commit 6d448fae2b (#36871)
1 year ago
.changes Backport of write-only attributes: internal providers should set write-only attributes to null into v1.12 (#36827) 1 year ago
.github Update URLs from `www.terraform.io` to `developer.hashicorp.com` (#36792) 1 year ago
.release
docs Update URLs from `www.terraform.io` to `developer.hashicorp.com` (#36792) 1 year ago
internal backport of commit 6d448fae2b (#36871) 1 year ago
scripts clean up old changeloge entries 1 year ago
testing/equivalence-tests Update equivalence testing framework to resolve flaky tests (#36179) 2 years ago
tools Update URLs from `www.terraform.io` to `developer.hashicorp.com` (#36792) 1 year ago
version Cleanup after 1.12.0-beta1 release (#36823) 1 year ago
website backport of commit 61ab3a1cdd 1 year ago
.changie.yaml make changes dirs reflect the version 1 year ago
.copywrite.hcl make changie dirs excempt from copyright headers 1 year ago
.gitignore Add .vscode/ to .gitignore, add launch configuration samples elsewhere in repo, update debugging docs (#36527) 1 year ago
.go-version backport of commit 6d448fae2b (#36871) 1 year ago
.tfdev
BUGPROCESS.md
BUILDING.md
CHANGELOG.md Cleanup after 1.12.0-beta1 release (#36823) 1 year ago
CODEOWNERS Make backend maintainers co-owners of their docs pages (#36494) 1 year ago
Dockerfile Dockerfile: Install `ca-certificates` (#36471) 1 year ago
LICENSE
Makefile Add go vet as a check to the Github commit actions (#31461) 2 years ago
README.md Update URLs from `www.terraform.io` to `developer.hashicorp.com` (#36792) 1 year ago
build.Dockerfile build.Dockerfile: Install `ca-certificates` (#36486) 1 year ago
catalog-info.yaml
checkpoint.go
codecov.yml
commands.go CLI command for listing state identities (#36705) 1 year ago
experiments.go
go.mod backport of commit 6d448fae2b (#36871) 1 year ago
go.sum Bump golang.org/x/net from 0.37.0 to 0.38.0 (fixes CVE-2025-22872) (#36800) 1 year ago
help.go
main.go
main_test.go
provider_source.go
signal_unix.go
signal_windows.go
staticcheck.conf
telemetry.go
version.go
working_dir.go

README.md

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