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
Alvin Huang 682440766f
Merge pull request #25456 from hashicorp/use-alpine-latest
6 years ago
.circleci add test for 'full' docker image build 6 years ago
.github Merge pull request #25292 from mschuchard/patch-1 6 years ago
addrs unkeyed target ModulesInstance can be Modules 6 years ago
backend Revert "backend/local: release lock if there is an error in Context() (#25427)" 6 years ago
builtin always return original workspace, even when null 6 years ago
command Revert "backend/local: release lock if there is an error in Context() (#25427)" 6 years ago
communicator communicator/winrm: include configured timeout in winrm server 6 years ago
config Move the commit along with 6 years ago
configs configs: Fail early for invalid resource provider 6 years ago
contrib contrib: Remove api-coverage tool 6 years ago
dag quote dot node names 6 years ago
digraph
docs add lists of operations 6 years ago
e2e tools/terraform-bundle: refactor to use new provider installer and provider directory layouts (#24629) 6 years ago
examples Fix Google Cloud Platform name across docs. 7 years ago
experiments configs: Custom variable validation is no longer experimental 6 years ago
flatmap prune references to config/module 7 years ago
helper remove depends_on from helper test shims 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/getproviders: decode and return any registry warnings (#25337) 6 years ago
lang lang/funcs: Filesystem functions hint about dynamically-generated files 6 years ago
moduledeps rename provider-specific functions (#24417) 6 years ago
plans plans: Update error message for apply validation (#21312) 6 years ago
plugin plugin/discovery: Remove dead code 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 fix error output in repl test 6 years ago
scripts use alpine:latest as the base image for terraform docker containers 6 years ago
state Add support for force pushing with the remote backend 6 years ago
states addrs: detect builtin provider when parsing legacy provider string (#25154) 6 years ago
terraform terraform console: enable use of impure functions (#25442) 6 years ago
tfdiags tfdiags: Diagnostics.ToHCL 6 years ago
tools gofmt tools/tools.go 6 years ago
vendor go get github.com/zclconf/go-cty@v1.5.1 6 years ago
version version: Fix version number for 0.13.0-dev 6 years ago
website website: Fix broken link to /docs/registry/providers/docs.html 6 years ago
.gitignore Coverage 6 years ago
.go-version Update azure backend storage sdk (#24669) 6 years ago
.hashibot.hcl Remove hashibot panic issue labeler 6 years ago
.tfdev .tfdev: remove platform build constraint 7 years ago
CHANGELOG.md Cleanup after v0.13.0-beta3 release 6 years ago
CODEOWNERS Add kubernetes backend 6 years ago
Dockerfile build: Don't create apk cache in "full" docker image 6 years ago
LICENSE
Makefile Makefile: remove unused targets 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: terraform providers mirror 6 years ago
go.mod go get github.com/zclconf/go-cty@v1.5.1 6 years ago
go.sum go get github.com/zclconf/go-cty@v1.5.1 6 years ago
help.go help: Make version and help flags consistent 8 years ago
main.go main: Pass untyped nil for missing creds source 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
provider_source.go init: fix issue loading local plugin directory 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