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
Alisdair McDiarmid d3284bdc4e
Merge pull request #31220 from FooBartn/string-starts-ends-with-funcs
4 years ago
.github build: Accept version numbers with prereleases containing dashes 4 years ago
.release
docs Merge pull request #31364 from timgates42/bugfix_typos 4 years ago
internal Merge pull request #31220 from FooBartn/string-starts-ends-with-funcs 4 years ago
scripts Fix for newer go version (#30889) 4 years ago
tools remove deprecated etcd backend 4 years ago
version Cleanup after v1.3.0-alpha20220706 release 4 years ago
website Merge pull request #31220 from FooBartn/string-starts-ends-with-funcs 4 years ago
.gitignore Fix .gitignore terraform entry to be root-relative 4 years ago
.go-version update go version 4 years ago
.tfdev
BUGPROCESS.md
CHANGELOG.md Changelog for #31070 4 years ago
CODEOWNERS
Dockerfile
LICENSE
Makefile feat: support local preview, post split; add deploy preview (#30814) 4 years ago
README.md Update README.md 4 years ago
checkpoint.go
codecov.yml
commands.go Experiments supported only in alpha/dev builds 4 years ago
experiments.go Experiments supported only in alpha/dev builds 4 years ago
go.mod Use hashicorp/terraform-registry-address as a decoupled library (#28338) 4 years ago
go.sum Use hashicorp/terraform-registry-address as a decoupled library (#28338) 4 years ago
help.go
main.go Experiments supported only in alpha/dev builds 4 years ago
main_test.go
plugins.go
provider_source.go
signal_unix.go
signal_windows.go
tools.go build: GitHub Actions "Quick Checks" workflow 4 years ago
version.go
working_dir.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, refer to the What is Terraform? page on 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.

License

Mozilla Public License v2.0