Terraform (software)
Terraform is an software tool. Users define and provide data center infrastructure using a declarative configuration language known as HashiCorp.
Design
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.[1] Users can interact with Terraform providers by declaring resources[2] or by calling data sources.[3] 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.[4] The infrastructure as code can be written as modules, promoting reusability and maintainability.[5]
Terraform supports a number of cloud infrastructure providers such as Amazon Web Services, Cloudflare,[6] Microsoft Azure, IBM Cloud, Serverspace, Selectel[7] Google Cloud Platform,[8] DigitalOcean,[9] Oracle Cloud Infrastructure, Yandex.Cloud,[10] VMware vSphere, and OpenStack.[11][12][13][14][15]
HashiCorp maintains a Terraform Module Registry, launched in 2017.[16] In 2019, Terraform introduced the paid version called Terraform Enterprise for larger organizations.[17]
License change
Terraform was previously free software available under version 2.0 of the Mozilla Public License (MPL). On August 10, 2023, HashiCorp announced that all products produced by the company would be relicensed under the Business Source License (BSL), with HashiCorp prohibiting commercial use of the community edition by those who offer "competitive services".[18]
The last MPL-licensed version of Terraform was forked as "OpenTofu", which is backed by the Linux Foundation. In April 2024, HashiCorp sent a cease and desist notice to the OpenTofu project, stating that it had incorporated code from a BSL-licensed version of Terraform without permission and "incorrectly re-labeled HashiCorp's code to make it appear as if it was made available by HashiCorp originally under a different license." OpenTofu denied the allegation, stating that the code cited had originated from an MPL-licensed version of Terraform.[19][20]
References
- ^ "Providers".
- ^ "Resources".
- ^ "Data Sources".
- ^ "Configuration".
- ^ "Modules".
- ^ "Cloudflare Provider". Retrieved 2022-11-23.
- ^ "Selectel Provider". 2023-04-12.
- ^ "Google Cloud Platform Provider for Terraform". Retrieved 2017-02-05.
- ^ Starr-Bochicchio, Andrew (2018-10-22). "Introducing the DigitalOcean Terraform Provider". DigitalOcean Blog. Retrieved 2020-12-17.
- ^ "Yandex Cloud Provider". 2021-05-31.
- ^ "Terraform vs. Chef, Puppet, etc. - Terraform by HashiCorp". Terraform by HashiCorp. Retrieved 2018-03-14.
- ^ Bryant, Daniel (2017-03-26). "HashiCorp Terraform 0.9. Released with State Locking, State Environments, and Destroy Provisioners". InfoQ. Retrieved 2017-05-23.
- ^ Yevgeniy., Brikman (2017). Terraform Writing Infrastructure as Configuration. O'Reilly Media. ISBN 9781491977057. OCLC 978667796.
- ^ Somwanshi, Sneha (2015-03-01). "Choosing the Right Tool to Provision AWS Infrastructure". ThoughtWorks Blog.
- ^ Turnbull, James (2016). The Terraform Book. James Turnbull. ISBN 9780988820258.
- ^ Atkins, Martin (2017-11-16). "HashiCorp Terraform 0.11". HashiCorp Blog. Retrieved 2020-12-17.
- ^ HashiCorp. "HashiCorp Terraform - Provision & Manage any Infrastructure". HashiCorp: Infrastructure enables innovation. Retrieved 2020-04-15.
- ^ "HashiCorp Adopts Business Source License for All Products". InfoQ. Retrieved 2023-10-20.
- ^ Vaughan-Nichols, Steven J. (2024-04-11). "OpenTofu Denies Hashicorp's Code-Stealing Accusations". DevOps.com. Retrieved 2024-04-13.
- ^ Jackson, Joab (2024-04-12). "OpenTofu Project Denies HashiCorp's Allegations of Code Theft". The New Stack. Retrieved 2024-04-13.