Gorgo Tasting OpenTofu and Terraform
A short booklet that teaches infrastructure as code by building a message-of-the-second web server.
It starts with echo hello world, moves to a Go web server in Docker, adds a MySQL database of 3600 sayings, runs the same thing on Kubernetes, and ends on an Oracle Cloud free tier machine with Cloudflare DNS and a Let’s Encrypt certificate.
Every configuration works in both OpenTofu and Terraform.
The tested configurations for every chapter are in the examples directory of the repository.