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
James Bardin 2b5effc739
Merge pull request #28555 from hashicorp/backport/jbardin/un-code-cov/really-intent-marlin
5 years ago
.circleci backport of commit 43af00262e 5 years ago
.github Provisioner contribution guide updates (#26538) 6 years ago
addrs remove LegacyProvider (#26433) 6 years ago
backend backport of commit 4b159416ff 5 years ago
builtin backport of commit 107dc0c34f 6 years ago
command backport of commit 786d99207e 5 years ago
communicator communicator/ssh: Add support for Windows targets (#26865) 5 years ago
configs backport of commit 7cae76383a 5 years ago
contrib contrib: Remove api-coverage tool 7 years ago
dag quote dot node names 6 years ago
digraph
docs Update links to CLI docs in code comments, messages, and readme 5 years ago
e2e command/cliconfig: Allow development overrides for providers 6 years ago
experiments Add provider sensitivity propagation experiment 6 years ago
flatmap prune references to config/module 7 years ago
helper don't check outputs for legacy tests 6 years ago
httpclient Merge pull request #22272 from hashicorp/f-httpclient-ua 7 years ago
instances Expander.ExpandResource cannot expand all modules 6 years ago
internal update getproviders tests for new key 5 years ago
lang backport of commit f27dae2ab7 6 years ago
moduledeps remove LegacyProvider (#26433) 6 years ago
plans reverse call to TestConformance in objchange 5 years ago
plugin Test empty diagnostics. 5 years ago
providers remove LegacyProvider (#26433) 6 years ago
provisioners provisioners: Add Factory type and FactoryFixed helper 8 years ago
registry remove unused code (#26503) 6 years ago
repl backport of commit d763e4f73e 5 years ago
scripts build: remove unused scripts (#26484) 6 years ago
states states: Disable Terraform version check 6 years ago
terraform core: Unmark provisioner config before validation 5 years ago
tfdiags tfdiags: Diagnostics.ToHCL 6 years ago
tools backport of commit da0d8802ed (#28161) 5 years ago
version Cleanup after v0.14.11 release 5 years ago
website backport of commit 3442873cdb 5 years ago
.gitignore Coverage 6 years ago
.go-version update go version for release 5 years ago
.hashibot.hcl Restore issue migrator 6 years ago
.tfdev .tfdev: remove platform build constraint 7 years ago
BUGPROCESS.md Fix formatting in BUGPROCESS.md 6 years ago
CHANGELOG.md Cleanup after v0.14.11 release 5 years ago
CODEOWNERS Updating codeowners with our deprecated status for tool-specific provisioners 6 years ago
Dockerfile this is still used, let's leave it in place for now 6 years ago
LICENSE
Makefile backport of commit bf5522aaec 5 years ago
README.md Update links to CLI docs in code comments, messages, and readme 5 years ago
checkpoint.go Remove config.go and update things using its aliases 6 years ago
codecov.yml Only run codecov on master 6 years ago
commands.go Update links to CLI docs in code comments, messages, and readme 5 years ago
go.mod update hcl and cty 5 years ago
go.sum update hcl and cty 5 years ago
help.go Update links to CLI docs in code comments, messages, and readme 5 years ago
main.go command/cliconfig: Allow development overrides for providers 6 years ago
main_test.go main: make configuration available when initializing commands 9 years ago
panic.go main: Warn about potential sensitive information in logs when panicking 7 years ago
plugins.go Remove config.go and update things using its aliases 6 years ago
provider_source.go command/cliconfig: Allow development overrides for providers 6 years ago
signal_unix.go
signal_windows.go
synchronized_writers.go main: synchronize writes to VT100-faker on Windows 9 years ago
version.go states/statemgr: Fix the Filesystem state manager tests 8 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, 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