terraform: auto-generate backup password instead of manual
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m19s

Remove backup_helper_secret variable and switch shared/backup/password
to auto_generate. New password will be added alongside existing restic
repository key.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-05 18:58:39 +01:00
parent 0700033c0a
commit ccb1c3fe2e
2 changed files with 3 additions and 9 deletions

View File

@@ -51,10 +51,10 @@ locals {
password_length = 32
}
# Shared backup password
# Shared backup password (auto-generated, add alongside existing restic key)
"shared/backup/password" = {
auto_generate = false
data = { password = var.backup_helper_secret }
auto_generate = true
password_length = 32
}
# NATS NKey for alerttonotify