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
dependabot[bot] ee6eaaef8a
Bump google.golang.org/grpc in /internal/backend/remote-state/s3
6 days ago
.changes Bump terraform-svchost to 0.2.1 (#38236) 6 days ago
.github Update CONTRIBUTING.md to help agents self-identify 2 weeks ago
.release release: Ignore false positive CVE (#38293) 3 weeks ago
docs add computed_blocks_allowed 2 weeks ago
internal Bump google.golang.org/grpc in /internal/backend/remote-state/s3 6 days ago
scripts make copyrightfix 2 months ago
testing/equivalence-tests make copyrightfix 2 months ago
tools make copyrightfix 2 months ago
version Prepare main branch for post-v1.15 development (#38287) 3 weeks ago
website website: (Re)Move markdown documentation (#37417) 8 months ago
.changie.yaml Prepare main branch for post-v1.15 development (#38287) 3 weeks ago
.copywrite.hcl copywrite: Set copyright_year to 2014 2 months ago
.git-blame-ignore-revs Add .git-blame-ignore-revs with copyright header commits 2 months ago
.gitignore test: create all edges to leaf cleanup nodes (#37564) 7 months ago
.go-version chore: Update go version from 1.25 to 1.25.7 (#38185) 2 months ago
.tfdev Remove revision from version command 5 years ago
BUGPROCESS.md Update BUGPROCESS.md 3 years ago
BUILDING.md elaborate further on experiments and cgo 3 years ago
CHANGELOG.md Prepare main branch for post-v1.15 development (#38287) 3 weeks ago
CODEOWNERS Update CODEOWNERS for action invocation paths 4 weeks ago
Dockerfile make copyrightfix 2 months ago
LICENSE Update LICENSE punctuation and wording 3 weeks ago
Makefile website: (Re)Move markdown documentation (#37417) 8 months ago
README.md website: (Re)Move markdown documentation (#37417) 8 months ago
build.Dockerfile make copyrightfix 2 months ago
catalog-info.yaml make copyrightfix 2 months ago
checkpoint.go make copyrightfix 2 months ago
commands.go make copyrightfix 2 months ago
experiments.go make copyrightfix 2 months ago
go.mod Bump terraform-svchost to 0.2.1 (#38236) 6 days ago
go.sum Bump terraform-svchost to 0.2.1 (#38236) 6 days ago
help.go make copyrightfix 2 months ago
main.go make copyrightfix 2 months ago
main_test.go make copyrightfix 2 months ago
provider_source.go make copyrightfix 2 months ago
signal_unix.go make copyrightfix 2 months ago
signal_windows.go make copyrightfix 2 months ago
staticcheck.conf chore: Bump golang.org/x/crypto dependency, ignore SA4003 linting errors globally (#37901) 5 months ago
telemetry.go make copyrightfix 2 months ago
version.go make copyrightfix 2 months ago
working_dir.go make copyrightfix 2 months 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