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
Radek Simko 63e43187f5
WIP - crash repro
5 years ago
.circleci update to match new default branch name (#27909) 5 years ago
.github update to match new default branch name (#27909) 5 years ago
addrs core: Reduce string allocations for addrs Equal 5 years ago
backend Enable --auto-approve for Policy checks on Remote Backend (Terraform Cloud) (#27804) 5 years ago
builtin WIP - crash repro 5 years ago
command add support for attributes with nested types in providers schema (#28055) 5 years ago
communicator Grammar nit: "setup" as a verb should be spelled "set up" 5 years ago
configs validate provider_meta contains no interpolations 5 years ago
dag Grammar nit: "setup" as a verb should be spelled "set up" 5 years ago
docs update arch docs; remove old EvalNode references (#27900) 5 years ago
e2e
experiments
httpclient
instances
internal Give suggestions & remind users to use required_providers when provider not in registry (#28014) 5 years ago
lang functions: Fix defaults mismatched types fallback 5 years ago
moduledeps
plans core: Reduce string allocations for addrs Equal 5 years ago
plugin providers.Interface: rename ValidateDataSourceConfig to ValidateDataResourceConfig (#27874) 5 years ago
plugin6 providers.Interface: rename ValidateDataSourceConfig to ValidateDataResourceConfig (#27874) 5 years ago
providers providers.Interface: rename ValidateDataSourceConfig to ValidateDataResourceConfig (#27874) 5 years ago
provisioners
registry
repl Mildwonkey/providers interface renaming (#27805) 5 years ago
scripts
states Correct the spelling of heirarchy/hierarchy throughout 5 years ago
terraform do not panic if there is no deposed state 5 years ago
tfdiags
tools Correct the spelling of heirarchy/hierarchy throughout 5 years ago
version Cleanup after v0.15.0-alpha20210210 release 5 years ago
website website: docs for the terraform validate JSON output 5 years ago
.gitignore
.go-version Revert "match terraform-releases expectations" 5 years ago
.hashibot.hcl
.tfdev
BUGPROCESS.md
CHANGELOG.md Update CHANGELOG.md 5 years ago
CODEOWNERS
Dockerfile
LICENSE
Makefile
README.md update to match new default branch name (#27909) 5 years ago
checkpoint.go
codecov.yml update to match new default branch name (#27909) 5 years ago
commands.go command: Experimental "terraform test" command 5 years ago
go.mod config: Use Unicode 13 rules for string manipulation 5 years ago
go.sum config: Use Unicode 13 rules for string manipulation 5 years ago
help.go
main.go Grammar nit: "setup" as a verb should be spelled "set up" 5 years ago
main_test.go Grammar nit: "setup" as a verb should be spelled "set up" 5 years ago
plugins.go
provider_source.go Correct the spelling of heirarchy/hierarchy throughout 5 years ago
signal_unix.go
signal_windows.go
version.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, see the introduction section of 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.

To learn more about compiling Terraform and contributing suggested changes, please refer to the contributing guide.

To learn more about how we handle bug reports, please read the bug triage guide.

License

Mozilla Public License v2.0