This repository contains the OpenTofu files required to setup the Demo infrastructure for "Infrastructure as Code ... Vegan-style" presentation
- OpenTofu: An open-source Infrastructure as Code tool forked from Terraform, used for provisioning and managing cloud resources.
- Cloudflare: A cloud-based platform that provides a suite of services for security, performance, and reliability of web applications and APIs, including content delivery network (CDN), DNS, and security features.
- Declarative infrastructure definition
- Modular and reusable code structure
- Automated provisioning and management of cloud resources
- Version-controlled infrastructure changes
-
Initialize OpenTofu project
tofu init
-
Copy sample file and set Variables
cp terraform.tfvars.sample terraform.tfvars nano terraform.tfvars
-
Check changes to be applied via OpenTofu
tofu plan
-
Apply changes
tofu apply
-
⚠️ Destroy generated resourcestofu destroy