Original author(s) | Mitchell Hashimoto et al. |
---|---|
Developer(s) | HashiCorp |
Initial release | 28 July 2014 |
Stable release | 1.5.5
/ 9 August 2023[1] |
Written in | Go |
Operating system | Linux, FreeBSD, macOS, OpenBSD, Solaris, and Microsoft Windows |
Available in | English |
Type | Infrastructure as code |
License | Business Source License v1.1[2](source-available) |
Terraform is an infrastructure-as-code software tool created by HashiCorp. Users define and provide data center infrastructure using a declarative configuration language known as HashiCorp Configuration Language (HCL), or optionally JSON.[3]
Terraform manages external resources (such as public cloud infrastructure, private cloud infrastructure, network appliances, software as a service, and platform as a service) with "providers". HashiCorp maintains an extensive list of official providers, and can also integrate with community-developed providers.[4] Users can interact with Terraform providers by declaring resources[5] or by calling data sources.[6] Rather than using imperative commands to provision resources, Terraform uses declarative configuration to describe the desired final state. Once a user invokes Terraform on a given resource, Terraform will perform CRUD actions on the user's behalf to accomplish the desired state.[7] The infrastructure as code can be written as modules, promoting reusability and maintainability.[8]
Terraform supports a number of cloud infrastructure providers such as Amazon Web Services, Cloudflare,[9] Microsoft Azure, IBM Cloud, Serverspace, Selectel[10] Google Cloud Platform,[11] DigitalOcean,[12] Oracle Cloud Infrastructure,Yandex.Cloud,[13] VMware vSphere, and OpenStack.[14][15][16][17][18]
HashiCorp maintains a Terraform Module Registry, launched in 2017.[19] In 2019, Terraform introduced the paid version called Terraform Enterprise for larger organizations.[20]
Terraform was previously open-source and available under version 2.0 of the Mozilla Public License (MPL). HashiCorp on 10 August 2023 adopted the Business Source License v1.1 for many of their products, including Terraform.[21] The Business Source License, unlike the MPL, is not open-source[22] but is instead source-available. In response, a group of users published the OpenTF manifesto on 15 August 2023 asking HashiCorp to continue publishing Terraform under an open-source license.[23] The group subsequently announced on 25 August 2023 that due to the lack of any favorable response from HashiCorp they would then be forking Terraform as OpenTofu based on the last available MPL-licensed version of the software code (v1.5.5) and would be working to have the project be hosted under the Linux Foundation.[24]