Terraform
Terraform
A tool for writing cloud infrastructure configurations as code and automating their setup.
In Simple Terms
Terraform is a tool that automates the setup of IT infrastructure — like servers and networks — by writing it as code. Instead of manually clicking through screens to configure settings, you prepare a configuration file and run a command, which lets you build the exact same environment accurately, as many times as you need. It works with multiple cloud services and is widely used to automate infrastructure setup work.
Behind the Name
"Terraform" combines two words: "Terra," meaning earth or land, and "Form," meaning to shape. The name is inspired by "terraforming," a concept from science fiction where an environment is transformed to make it habitable — evoking the idea of building an infrastructure environment from nothing in the cloud.
Take a Closer Look!
Terraform is software that lets you write the configuration of cloud servers, networks, and other resources as code, automating how they're built and managed.
This approach — managing infrastructure through code — is known as IaC (Infrastructure as Code).
With traditional infrastructure setup, you'd typically configure things by manually clicking through a management console, which made it easy to introduce mistakes and hard to keep a record of what had been done.
With Terraform, you write out the configuration you need in a text file ahead of time, and then a single command automatically spins up an environment with exactly that configuration.
Because the configuration is saved as code, it also becomes much easier to keep a history of past settings and to share and collaborate on the setup with your team.
Since it lets you work with different cloud services like AWS and Google Cloud using the same writing style, it's widely used across many system development environments.