document how to use terraform/update machine

This commit is contained in:
Jörg Thalheim 2025-03-22 08:34:37 +01:00
parent 8c4ffcc13b
commit 1196fb970d

View File

@ -36,6 +36,26 @@ $ ls -la /tmp/restore/var/lib/mediawiki-uploads/
$ umount /tmp/restore/ $ umount /tmp/restore/
``` ```
## Applying terraform
Updating hetzner ssh keys:
```
$ ./targets/admins/tf.sh apply
```
Deploying hetzner machine:
```
$ ./targets/nixos-wiki.nixos.org/tf.sh apply
```
## Updating NixOS server
```
$ ./targets/nixos-wiki.nixos.org/deploy.sh
```
## FAQ: ## FAQ:
### When logging in with "GitHub auth", the app shows "Act on your behalf" as a permission. ### When logging in with "GitHub auth", the app shows "Act on your behalf" as a permission.