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 cdf5f0e6ef
lang/langserver: Initial "Go to Definition" implementation
6 years ago
.github spelling fix 6 years ago
addrs moduledeps: replace ProviderInstance with addrs.Provider (#24017) 6 years ago
backend Improve remote backend missing token error 6 years ago
builtin providers: use addrs.Provider as map keys for provider.Factory (#23548) 6 years ago
command lang/langserver: A do-nothing stubbed out language server 6 years ago
communicator ssh: Fix deadlock on agent forwarding error 6 years ago
config config: Remove legacy interpolation function implementations 6 years ago
configs configs: added map to configs.Module for provider local name lookup (#24039) 6 years ago
contrib contrib: Remove api-coverage tool 6 years ago
dag Correct simple typo in `walk.go`. 6 years ago
digraph
docs vendor: switch to HCL 2.0 in the HCL repository 6 years ago
e2e
examples
experiments config: Allow module authors to specify validation rules for variables 6 years ago
flatmap prune references to config/module 7 years ago
helper Initial steps towards AbsProviderConfig/LocalProviderConfig separation (#23978) 6 years ago
httpclient Merge pull request #22272 from hashicorp/f-httpclient-ua 7 years ago
internal internal/lsp: Import langserver protocol stubs from the Go tools project 6 years ago
lang lang/langserver: Initial "Go to Definition" implementation 6 years ago
moduledeps moduledeps: replace ProviderInstance with addrs.Provider (#24017) 6 years ago
plans Initial steps towards AbsProviderConfig/LocalProviderConfig separation (#23978) 6 years ago
plugin Mildwonkey/tfconfig upgrade (#23670) 6 years ago
providers Initial steps towards AbsProviderConfig/LocalProviderConfig separation (#23978) 6 years ago
provisioners
registry Replace import paths & set UA string where necessary 6 years ago
repl Initial steps towards AbsProviderConfig/LocalProviderConfig separation (#23978) 6 years ago
scripts make: Add check for protobuf dependencies 7 years ago
state Merge pull request #20571 from sergkondr/fix_misspelling 7 years ago
states Initial steps towards AbsProviderConfig/LocalProviderConfig separation (#23978) 6 years ago
terraform command/import: attach references before validating provider (#22862) 6 years ago
tfdiags command: New -compact-warnings option 6 years ago
tools terraform-bundle: fix panic with addrs.Provider 6 years ago
vendor lang: "try" and "can" functions 6 years ago
version Cleanup after v0.12.20 release 6 years ago
website Merge pull request #24032 from hashicorp/jbardin/map-funcs 6 years ago
.gitignore
.go-version Build with Go 1.12.13 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
.travis.yml Build with Go 1.12.13 6 years ago
BUILDING.md Edit BUILDING.md 6 years ago
CHANGELOG.md Update CHANGELOG.md 6 years ago
CODEOWNERS Remove core ownership, because don't want to default request review on all PRs 6 years ago
Dockerfile build: Don't create apk cache in "full" docker image 6 years ago
LICENSE
Makefile build: add terraform-bundle e2etests 6 years ago
README.md Revise our contributing/development documentation 6 years ago
checkpoint.go Remove config.go and update things using its aliases 6 years ago
commands.go lang/langserver: A do-nothing stubbed out language server 6 years ago
go.mod lang/langserver: Helpers for converting source positions 6 years ago
go.sum vendor: go get github.com/hashicorp/hcl/v2@v2.3.0 6 years ago
help.go
main.go command: Accept a "provider source" from the main package 6 years ago
main_test.go
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
signal_windows.go
synchronized_writers.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

If you're new to Terraform and want to get started creating infrastructure, please checkout our Getting Started guide, available on the Terraform website.

All documentation is available on the Terraform website:

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