iac/nixos/hosts/asxpio-services
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sergei Poljanski 796331815d
All checks were successful
nixos / nixos (push) Successful in 34s
tofu: rename from terraform, state in its own bucket, Loki buckets
The infrastructure is applied with OpenTofu; name it so. terraform/
becomes tofu/, the files end in .tofu (OpenTofu 1.8+ prefers them), the
local variables file is secrets.auto.tfvars, and both servers carry
managed_by=opentofu (an in-place label change).

The state moved to new buckets asxpio-tofu-main/-repl, key
tofu/state/tofu.tfstate, with `tofu init -migrate-state`; a plan against
it shows no changes. The old asxpio-terraform-* buckets stay, renamed
in the config with moved blocks, until the new state has been used for
a while.

asxpio-loki-main, created by hand, is adopted with an import block, and
a new asxpio-loki-repl in fsn1 receives it in the daily replica, which
now also copies the new state bucket instead of the old one.

What keeps the Terraform name is OpenTofu's own: the `terraform {}`
block and .terraform.lock.hcl.

Assisted-by: Claude:opus-5-5
2026-11-17 09:42:53 +04:00
..
acme-forward.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
default.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
minecraft.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
replica.nix tofu: rename from terraform, state in its own bucket, Loki buckets 2026-11-17 09:42:53 +04:00
runner.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
sillytavern.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
sillytavern.yaml nixos: describe both servers as NixOS systems 2026-11-16 22:59:59 +04:00
xmpp-cert-install.nix nixos: drop the access the ops conversion needed 2026-11-17 09:20:57 +04:00
xmpp-cert-install.sh nixos: bucket replica and XMPP certificate sync 2026-11-16 23:27:47 +04:00
xmpp.nix nixos: zsh for every account, security summary on login, XMPP over IPv6 2026-11-17 07:28:36 +04:00
xray.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00