☁️Terraform
Also known as HashiCorp Terraform, terraform plan, terraform apply, HCL
A tool that builds cloud setups from text files. The files say what should exist.
Think of it like
Think of it like a builder with a plan drawing. You change the drawing, and the builder changes the house to match.
Example
Jack adds one server to his Terraform file. The plan says one thing will be added. Two minutes after apply, the server is there.
Why it matters
The plan shows each change first. A typo cannot quietly wipe a database.
Definition
Example code
console
$ terraform plan
...
Plan: 1 to add, 0 to change, 0 to destroy.Common mistake
Key takeaways
- 1Describe the goal. Not the steps.
- 2Plan, then apply. See it before it happens.
- 3Many clouds. One tool for all.