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
Martin Atkins c945ef129a
vendor: go get github.com/apparentlymart/go-userdirs
6 years ago
.circleci add better error message when 'make fmtcheck generate' fails 6 years ago
.github docs/contributing: add note about codecov (#24434) 6 years ago
addrs addrs: ImpliedProviderForUnqualifiedType function 6 years ago
backend backend/local: refactor tests with modern state and default providers (#24524) 6 years ago
builtin Merge pull request #24321 from davidMcneil/master 6 years ago
command command/jsonconfig: Use correct provider address to access schema 6 years ago
communicator ssh: Fix deadlock on agent forwarding error 6 years ago
config Move the commit along with 6 years ago
configs addrs: ImpliedProviderForUnqualifiedType function 6 years ago
contrib contrib: Remove api-coverage tool 6 years ago
dag dag benchmark 6 years ago
digraph
docs Add support for provider metadata to modules. (#22583) 6 years ago
e2e Standardise directory name for test data 7 years ago
examples Fix Google Cloud Platform name across docs. 7 years ago
experiments config: Allow module authors to specify validation rules for variables 6 years ago
flatmap prune references to config/module 7 years ago
helper Remove terraform.ResourceProvider, use providercache.Installer instead 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 internal/providercache: Handle built-in providers 6 years ago
lang Create non-specific ModuleCallOutput 6 years ago
moduledeps rename provider-specific functions (#24417) 6 years ago
plans finish provider ModuleInstance replacement 6 years ago
plugin Add support for provider metadata to modules. (#22583) 6 years ago
providers Remove terraform.ResourceProvider, use providercache.Installer instead 6 years ago
provisioners provisioners: Add Factory type and FactoryFixed helper 7 years ago
registry registry: Fix panic when server is unreachable 6 years ago
repl finish provider ModuleInstance replacement 6 years ago
scripts remove travis script file 6 years ago
state state: update local unlock err (#24320) 6 years ago
states states/version3 upgrade: revert provider FQN changes (#24504) 6 years ago
terraform addrs: ImpliedProviderForUnqualifiedType function 6 years ago
tfdiags tfdiags: Diagnostics.ToHCL 6 years ago
tools terraform-bundle: fix panic with addrs.Provider 6 years ago
vendor vendor: go get github.com/apparentlymart/go-userdirs 6 years ago
version Update version.go 6 years ago
website Merge pull request #24404 from hashicorp/cgriggs01-remove-listing 6 years ago
.gitignore Coverage 6 years ago
.go-version build: Use Go 1.14 6 years ago
.hashibot.hcl apply special label for PRs affecting sdk paths 7 years ago
.tfdev .tfdev: remove platform build constraint 7 years ago
BUILDING.md Edit BUILDING.md 6 years ago
CHANGELOG.md update CHANGELOG.md 6 years ago
CODEOWNERS Update CODEOWNERS 6 years ago
Dockerfile build: Don't create apk cache in "full" docker image 6 years ago
LICENSE
Makefile Coverage updates, roll back makefile change, use travis specific script 6 years ago
README.md Added links to Learn and certification exams to the README 6 years ago
checkpoint.go Remove config.go and update things using its aliases 6 years ago
codecov.yml Set Codecov threshold to 0.05% to avoid flicker 6 years ago
commands.go command: Add state replace-provider subcommand 6 years ago
go.mod vendor: go get github.com/apparentlymart/go-userdirs 6 years ago
go.sum vendor: go get github.com/apparentlymart/go-userdirs 6 years ago
help.go help: Make version and help flags consistent 8 years ago
main.go command: Accept a "provider source" from the main package 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 6 years ago
plugins.go Remove config.go and update things using its aliases 6 years ago
signal_unix.go Forward SIGTERM and handle that as an interrupt 9 years ago
signal_windows.go Forward SIGTERM and handle that as an interrupt 9 years ago
synchronized_writers.go main: synchronize writes to VT100-faker on Windows 9 years ago
version.go states/statemgr: Fix the Filesystem state manager tests 7 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 that each have their own repository in the terraform-providers organization on GitHub. Instructions for developing each provider are in the associated README file. For more information, see the provider development overview.

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

License

Mozilla Public License v2.0