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
Daniel Banck 4da132e639
Add `const` attribute to variable blocks
7 days ago
.changes Move changelog file to avoid duplicate entry 2 weeks ago
.github build(deps): bump the github-actions-backward-compatible group with 3 updates (#38113) 2 weeks ago
.release PSP-3163: update scan config to enable osv (#37817) 4 months ago
docs PSS: Adjust `StateRange.End` logic in `ReadStateBytes` and `WriteStateBytes` (#38127) 2 weeks ago
internal Add `const` attribute to variable blocks 7 days ago
scripts add date 7 months ago
testing/equivalence-tests Update equivalence test golden files. 3 months ago
tools Upgrade protoc and protoc-gen-go-grpc versions to matching terraform-plugin-go (#37647) 4 months ago
version Cleanup after 1.15.0-alpha20260204 release 2 weeks ago
website website: (Re)Move markdown documentation (#37417) 6 months ago
.changie.yaml Prepare main branch for post-v1.14 development (#37621) 5 months ago
.copywrite.hcl make changie dirs excempt from copyright headers 1 year ago
.gitignore test: create all edges to leaf cleanup nodes (#37564) 5 months ago
.go-version go: bump version to 1.25 (#37436) 6 months ago
.tfdev
BUGPROCESS.md Update BUGPROCESS.md 3 years ago
BUILDING.md elaborate further on experiments and cgo 3 years ago
CHANGELOG.md Cleanup after 1.15.0-alpha20260204 release 2 weeks ago
CODEOWNERS Revert "temporarily require manager approval for go.mod changes" (#37694) 5 months ago
Dockerfile Dockerfile: Install `ca-certificates` (#36471) 1 year ago
LICENSE update year in license files 2 years ago
Makefile website: (Re)Move markdown documentation (#37417) 6 months ago
README.md website: (Re)Move markdown documentation (#37417) 6 months ago
build.Dockerfile build.Dockerfile: Install `ca-certificates` (#36486) 1 year ago
catalog-info.yaml Update owner field in catalog-info.yaml (#36963) 10 months ago
checkpoint.go Update copyright file headers to BUSL-1.1 3 years ago
commands.go tf query: ready list blocks for beta (#37619) 5 months ago
experiments.go Update copyright file headers to BUSL-1.1 3 years ago
go.mod bump terraform-svchost to v0.2.0 2 weeks ago
go.sum bump terraform-svchost to v0.2.0 2 weeks ago
help.go website: (Re)Move markdown documentation (#37417) 6 months ago
main.go First step to enable use of TF_REATTACH_PROVIDERS with PSS (#37634) 5 months ago
main_test.go Update test for autocompletion of top-level commands (#37853) 3 months ago
provider_source.go Rebrand Terraform Cloud to HCP Terraform 2 years ago
signal_unix.go Update copyright file headers to BUSL-1.1 3 years ago
signal_windows.go Update copyright file headers to BUSL-1.1 3 years ago
staticcheck.conf chore: Bump golang.org/x/crypto dependency, ignore SA4003 linting errors globally (#37901) 3 months ago
telemetry.go add missing copyright headers 3 years ago
version.go Update copyright file headers to BUSL-1.1 3 years ago
working_dir.go Update copyright file headers to BUSL-1.1 3 years ago

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