github.com/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.

Open this visualization on its own page →

Contributors

1729

Lines of Code

119,202

From

2014-05-21

To

2020-12-18

About hashicorp/terraform

Terraform is an infrastructure-as-code tool built in Go that enables teams to define, provision, and manage cloud infrastructure through declarative configuration files. It works with multiple cloud providers and services, automatically downloading provider plugins from the Terraform Registry to support platforms ranging from major cloud vendors to custom in-house solutions. The tool treats infrastructure definitions like source code, allowing teams to version control, review, and collaborate on infrastructure changes just as they would with application code.

The core strengths of Terraform include its execution planning feature, which previews all changes before applying them to prevent unexpected modifications, and its resource graph engine that automatically determines dependencies between infrastructure components. This graph enables Terraform to parallelize the creation and modification of independent resources, optimizing infrastructure provisioning speed while making dependency relationships transparent to operators. Complex infrastructure changes can be automated with minimal manual intervention, reducing the risk of human error during deployments.

This repository contains only Terraform's core components, including the command-line interface and the graph engine that orchestrates infrastructure changes. Providers that connect Terraform to specific services are implemented as separate plugins, maintaining a modular architecture. The project is source-available under a Business Source License and is widely used by infrastructure and operations teams, with HashiCorp offering formal certification exams and comprehensive documentation through their learning platform.

Share this video