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] 3065fdb14d
Update equivalence test golden files. (#36060)
1 year ago
.github equivalence testing: update git operations (#36056) 1 year ago
.release - Updated schema version to v2 2 years ago
.vscode vscode: Add launch configuration for dlv debugger (#35627) 2 years ago
docs docs: Add notes about debugging (#35714) 1 year ago
internal Merge pull request #36025 from hashicorp/jbardin/undeclared-vars 1 year ago
scripts go.mod: Separate modules at code ownership boundaries 2 years ago
testing/equivalence-tests Update equivalence test golden files. (#36060) 1 year ago
tools Upgrade go-tfe from 1.51.0 to 1.58.0 (#35495) 2 years ago
version clean up after v1.11.0-alpha20241106 release 1 year ago
website backend/s3: upgrade guide notes for Terraform 1.10 (#36037) 1 year ago
.copywrite.hcl
.gitignore
.go-version update go version 1 year ago
.tfdev
BUGPROCESS.md
BUILDING.md
CHANGELOG.md Update CHANGELOG.md 1 year ago
CODEOWNERS github: Update CODEOWNERS (#36000) 1 year ago
Dockerfile
LICENSE
Makefile Add go vet as a check to the Github commit actions (#31461) 1 year ago
README.md logo: update to new design 1 year ago
catalog-info.yaml Add a catalog-info.yaml file for Backstage 1 year ago
checkpoint.go
codecov.yml
commands.go stacks: load credentials from config file on startup (#35952) 1 year ago
experiments.go
go.mod update to hcl v2.23.0 1 year ago
go.sum make syncdeps 1 year ago
help.go
main.go go.mod: go get github.com/mattn/go-shellwords@v1.0.12 2 years ago
main_test.go go.mod: go get github.com/mattn/go-shellwords@v1.0.12 2 years ago
provider_source.go Rebrand Terraform Cloud to HCP Terraform 2 years ago
signal_unix.go
signal_windows.go
staticcheck.conf
telemetry.go
tools.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, see Extending Terraform.

License

Business Source License 1.1