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 07f6975ff2
command: Minimal "terraform init" for workspaces2 prototype
6 years ago
.github Version tools per Go convention under tools.go 6 years ago
addrs addrs: Compact addresses for local project workspaces 6 years ago
backend command: Minimal "terraform init" for workspaces2 prototype 6 years ago
builtin Messy initial plumbing of workspaces into the command package 6 years ago
command command: Minimal "terraform init" for workspaces2 prototype 6 years ago
communicator Update communicator/ssh/communicator.go 6 years ago
config config: Remove legacy interpolation function implementations 6 years ago
configs Merge pull request #22946 from hashicorp/kmoe/copy_dir_dotfiles 6 years ago
contrib contrib: Remove api-coverage tool 6 years ago
dag terraform: ugly huge change to weave in new HCL2-oriented types 7 years ago
digraph
docs vendor: switch to HCL 2.0 in the HCL repository 6 years ago
e2e Standardise directory name for test data 7 years ago
examples Fix Google Cloud Platform name across docs. 7 years ago
flatmap prune references to config/module 7 years ago
helper Version tools per Go convention under tools.go 6 years ago
httpclient Merge pull request #22272 from hashicorp/f-httpclient-ua 7 years ago
internal backend/remote-state: etcdv3, oss, and manta acc tests should fail 6 years ago
lang projects: Find all the workspaces for a project 6 years ago
moduledeps plugin/discovery: PluginRequirements can specify SHA256 digests 9 years ago
plans Version tools per Go convention under tools.go 6 years ago
plugin Version tools per Go convention under tools.go 6 years ago
projects command: Minimal "terraform init" for workspaces2 prototype 6 years ago
providers send and receive Private through ReadResource 7 years ago
provisioners provisioners: Add Factory type and FactoryFixed helper 7 years ago
registry Replace import paths & set UA string where necessary 6 years ago
repl vendor: switch to HCL 2.0 in the HCL repository 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 Version tools per Go convention under tools.go 6 years ago
terraform backend: Minimal support for workspaces2-style operations 6 years ago
tfdiags Version tools per Go convention under tools.go 6 years ago
tools Version tools per Go convention under tools.go 6 years ago
vendor Version tools per Go convention under tools.go 6 years ago
version Cleanup after v0.12.12 release 6 years ago
website [Website] CherryServer doc links 6 years ago
.gitignore Standardise directory name for test data 7 years ago
.go-version build: Use Go 1.12.9 7 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: Use the official Go module proxy for Travis-CI runs (#22711) 7 years ago
BUILDING.md Revise our contributing/development documentation 6 years ago
CHANGELOG.md update CHANGELOG.md 6 years ago
CODEOWNERS First pass at adding CODEOWNERS to link remote-state backends with maintainers of the associated providers. 7 years ago
Dockerfile build: Stop using deprecated MAINTAINER in Dockerfile 8 years ago
LICENSE
Makefile Version tools per Go convention under tools.go 6 years ago
README.md Revise our contributing/development documentation 6 years ago
checkpoint.go
commands.go Replace import paths & set UA string where necessary 6 years ago
config.go command/cliconfig: Factor out CLI config handling 7 years ago
go.mod go.mod: We only expect Go 1.12 6 years ago
go.sum Version tools per Go convention under tools.go 6 years ago
help.go help: Make version and help flags consistent 8 years ago
main.go Replace import paths & set UA string where necessary 6 years ago
main_test.go main: make configuration available when initializing commands 9 years ago
panic.go
plugins.go keep .terraform.d/plugins for discovery 9 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

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