Infrastructure as code, topic 48 of 78
Terraform and OpenTofu
Terraform describes resources in HCL for nearly any provider: clouds, DNS, monitoring, Kubernetes. terraform plan shows what would change and apply makes it so. OpenTofu is the open-source fork, made after Terraform's licence changed in 2023, and reads the same files.
Learn providers, resources, variables and outputs, and read every plan before you apply it: a plan that says destroy deserves a second look.
On Opsfolk
Nothing of ours for this topic yet: an article is on its way.
Elsewhere
- Terraform documentationOfficial
- OpenTofu documentationOfficial