Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# learningunix.net Infrastructure
|
||||
|
||||
Infrastructure as code for [learningunix.net](https://learningunix.net). Provisions a Debian server on Hetzner Cloud.
|
||||
|
||||
## Provisioning with OpenTofu
|
||||
|
||||
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`.
|
||||
|
||||
```
|
||||
cd infra/tofu
|
||||
tofu fmt
|
||||
tofu init
|
||||
tofu validate
|
||||
tofu plan
|
||||
tofu apply
|
||||
```
|
||||
Reference in New Issue
Block a user