|
||
---|---|---|
.gitignore | ||
README.md | ||
flake.lock | ||
flake.nix | ||
main.tf | ||
secret.tfvars.example |
README.md
OpenTofu server configuration
This is an experimental configuration for my Hetzner VPS using OpenTofu and Nix.
How to use
Copy secret.tfvars.example
to secret.tfvars
and fill in the values.
To generate a token with Hetzner, go to the project and click Security -> API Tokens
.
Run nix develop
to access a shell where OpenTofu is accessible.
Aliases
The following aliases in the development shell include the secrets file automatically.
tofu-plan
tofu-apply