tofu

Log | Files | Refs | README

README.md (455B)


      1 # learningunix.net Infrastructure
      2 
      3 Infrastructure as code for [learningunix.net](https://learningunix.net). Provisions a Debian server on Hetzner Cloud.
      4 
      5 ## Provisioning with OpenTofu
      6 
      7 Requires a Hetzner API token and an SSH key registered in your Hetzner account. Copy `terraform.tfvars.example` to `terraform.tfvars` and fill in your values. Do not commit `terraform.tfvars`.
      8 
      9 ```
     10 cd infra/tofu
     11 tofu fmt
     12 tofu init
     13 tofu validate
     14 tofu plan
     15 tofu apply
     16 ```