hashicorp /terraform
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.
★ 50,188⑂ 10,596👁 1,156⑃ 17,153● 21,839▤ 452◈ 0
50,188
stars
+14+-161+361
10,596
forks
1,156
watchers
17,153
prs
21,839
issues
452
releases
0
discussions
README
Terraform - Website: https://developer.hashicorp.com/terraform - Forums: HashiCorp Discuss - Documentation: https://developer.hashicorp.com/terraform/docs - Tutorials: HashiCorp's Learn Platform - Certification Exam: HashiCorp Certified: Terraform Associate 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: - Introduction - Documentation 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. - To learn more about compiling Terraform and contributing suggested changes, refer to the contributing guide. - To learn more about how we handle bug reports, refer to the bug triage guide. - To learn how to contribute to the Terraform documentation, refer to the Web Unified Docs repository. License Business Source License 1.1
Top issues
#13022Using variables in terraform backend config block315 comments · 2017-03-23#24476Ability to pass providers to modules in for_each190 comments · 2020-03-26#2253feature request: inverse targeting / exclude169 comments · 2015-06-06#3874prevent_destroy should let you succeed165 comments · 2015-11-12#21953`enabled` parameter to avoid logical statements in `count`153 comments · 2019-07-02#19932Instantiating Multiple Providers with a loop128 comments · 2019-01-07#15966Feature: Conditionally load tfvars/tf file based on Workspace103 comments · 2017-08-30#27360A method to override configuration and meta arguments within a module86 comments · 2020-12-24
Latest release
v1.17.1 v1.17.1 2026-10-281.17.1 (October 28, 2026) BUG FIXES: fmt: The original content of a file is now preserved if Terraform experiences an error writing to the original file. (39303) Always evaluate module policies during destroy plan (39455) stacks: report every policy result for a replaced resource instead of only one of them (39453)