Terraform

An infrastructure-as-code tool from HashiCorp that creates and changes cloud resources such as servers, networks and databases from configuration files.

In more detail

Terraform compares the resources described in its files with what exists in your cloud account and makes the changes needed to match. It is the usual tool for provisioning, and configuration tools then set up the machines it created.

Examples

Terraform creates the hosts; Ansible configures them.
In AWS: An infrastructure as code tool that creates, changes and deletes cloud resources from configuration files, showing a plan first.
terraform init && terraform plan && terraform apply
In Terraform: Terraform is one compiled program that understands the HCL language, the dependency graph, state and the plan and apply workflow. Everything it knows about clouds and services comes from separately downloaded provider plugins. The core workflow is write, init, plan, apply and, when you are finished, destroy.

Related terms

Taught in

References

Certification courses