Terraform - Infrastructure as Code
Find a file
github-actions[bot] adece20a48
Some checks failed
build / Determine intended Terraform version (push) Has been cancelled
build / Determine Go toolchain version (push) Has been cancelled
Quick Checks / Unit Tests (push) Has been cancelled
Quick Checks / Race Tests (push) Has been cancelled
Quick Checks / End-to-end Tests (push) Has been cancelled
Quick Checks / Code Consistency Checks (push) Has been cancelled
build / Generate release metadata (push) Has been cancelled
build / Build for freebsd_386 (push) Has been cancelled
build / Build for linux_386 (push) Has been cancelled
build / Build for openbsd_386 (push) Has been cancelled
build / Build for windows_386 (push) Has been cancelled
build / Build for darwin_amd64 (push) Has been cancelled
build / Build for freebsd_amd64 (push) Has been cancelled
build / Build for linux_amd64 (push) Has been cancelled
build / Build for openbsd_amd64 (push) Has been cancelled
build / Build for solaris_amd64 (push) Has been cancelled
build / Build for windows_amd64 (push) Has been cancelled
build / Build for freebsd_arm (push) Has been cancelled
build / Build for linux_arm (push) Has been cancelled
build / Build for darwin_arm64 (push) Has been cancelled
build / Build for linux_arm64 (push) Has been cancelled
build / Build Docker image for linux_386 (push) Has been cancelled
build / Build Docker image for linux_amd64 (push) Has been cancelled
build / Build Docker image for linux_arm (push) Has been cancelled
build / Build Docker image for linux_arm64 (push) Has been cancelled
build / Build e2etest for linux_386 (push) Has been cancelled
build / Build e2etest for windows_386 (push) Has been cancelled
build / Build e2etest for darwin_amd64 (push) Has been cancelled
build / Build e2etest for linux_amd64 (push) Has been cancelled
build / Build e2etest for windows_amd64 (push) Has been cancelled
build / Build e2etest for linux_arm (push) Has been cancelled
build / Build e2etest for darwin_arm64 (push) Has been cancelled
build / Build e2etest for linux_arm64 (push) Has been cancelled
build / Run e2e test for linux_386 (push) Has been cancelled
build / Run e2e test for windows_386 (push) Has been cancelled
build / Run e2e test for darwin_amd64 (push) Has been cancelled
build / Run e2e test for linux_amd64 (push) Has been cancelled
build / Run e2e test for windows_amd64 (push) Has been cancelled
build / Run e2e test for linux_arm (push) Has been cancelled
build / Run e2e test for linux_arm64 (push) Has been cancelled
build / Run terraform-exec test for linux amd64 (push) Has been cancelled
backport of commit 2dbaa9a58b (#38099)
Co-authored-by: Radek Simko <radek.simko@gmail.com>
2026-01-26 16:03:39 +00:00
.changes Prepare before 1.12.2 release (#37228) 2025-06-11 11:22:08 +01:00
.github backport of commit 2dbaa9a58b (#38099) 2026-01-26 16:03:39 +00:00
.release - Updated schema version to v2 2024-03-07 09:20:02 -08:00
docs Update URLs from www.terraform.io to developer.hashicorp.com (#36792) 2025-04-01 09:37:12 +01:00
internal Backport of allow output values without top-level ephemeral marks into v1.12 (#37213) 2025-06-05 09:55:21 +01:00
scripts clean up old changeloge entries 2025-02-18 13:51:23 +01:00
testing/equivalence-tests Update equivalence testing framework to resolve flaky tests (#36179) 2024-12-12 15:54:26 +01:00
tools Update URLs from www.terraform.io to developer.hashicorp.com (#36792) 2025-04-01 09:37:12 +01:00
version Cleanup after 1.12.2 release (#37232) 2025-06-11 15:24:14 +00:00
website Backport of Add resource identity documentation into v1.12 (#37140) 2025-05-20 16:07:18 +00:00
.changie.yaml make changes dirs reflect the version 2025-02-18 13:51:23 +01:00
.copywrite.hcl make changie dirs excempt from copyright headers 2025-02-18 13:51:23 +01:00
.gitignore Add .vscode/ to .gitignore, add launch configuration samples elsewhere in repo, update debugging docs (#36527) 2025-02-19 10:04:33 +00:00
.go-version backport of commit 6d448fae2b (#36871) 2025-04-10 12:04:54 +02:00
.tfdev Remove revision from version command 2021-01-12 16:35:30 -05:00
BUGPROCESS.md Update BUGPROCESS.md 2023-03-18 17:14:20 -04:00
build.Dockerfile build.Dockerfile: Install ca-certificates (#36486) 2025-02-12 18:11:50 +00:00
BUILDING.md elaborate further on experiments and cgo 2023-07-17 11:56:13 -07:00
catalog-info.yaml Add a catalog-info.yaml file for Backstage 2024-09-10 12:22:05 -07:00
CHANGELOG.md Cleanup after 1.12.2 release (#37232) 2025-06-11 15:24:14 +00:00
checkpoint.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
codecov.yml Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
CODEOWNERS Backport of Added Terraform backend implementation for OCI Object Storage into v1.12 (#36912) 2025-04-22 16:59:30 +01:00
commands.go CLI command for listing state identities (#36705) 2025-03-18 18:13:06 +01:00
Dockerfile Dockerfile: Install ca-certificates (#36471) 2025-02-12 10:11:19 +00:00
experiments.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
go.mod Backport of Added Terraform backend implementation for OCI Object Storage into v1.12 (#36912) 2025-04-22 16:59:30 +01:00
go.sum Backport of Added Terraform backend implementation for OCI Object Storage into v1.12 (#36912) 2025-04-22 16:59:30 +01:00
help.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
LICENSE update year in license files 2023-12-06 11:58:53 -08:00
main.go go.mod: go get github.com/mattn/go-shellwords@v1.0.12 2024-03-13 12:41:47 -07:00
main_test.go go.mod: go get github.com/mattn/go-shellwords@v1.0.12 2024-03-13 12:41:47 -07:00
Makefile Add go vet as a check to the Github commit actions (#31461) 2024-11-07 17:29:58 +01:00
provider_source.go Rebrand Terraform Cloud to HCP Terraform 2024-04-23 16:12:59 -04:00
README.md Update URLs from www.terraform.io to developer.hashicorp.com (#36792) 2025-04-01 09:37:12 +01:00
signal_unix.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
signal_windows.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
staticcheck.conf Add staticcheck.conf to reduce unactionable noise in IDEs (#34036) 2023-10-12 11:01:12 -07:00
telemetry.go add missing copyright headers 2023-08-16 11:21:49 -07:00
version.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
working_dir.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00

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, refer to Plugin development.

License

Business Source License 1.1