1
0
Fork 0

add budget alert and nightly OS-update reboot

- $10/month project budget via google_billing_budget, alerts to admin_email
- forgejo-reboot.timer at 04:30 UTC applies staged COS updates
- relocate cloud-init scripts to /var/lib/google/forgejo (COS noexec on /var)
- runbook: updated zone, script paths, added "How updates work" section

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jason Hall 2026-05-07 20:35:58 -04:00
parent 4dc1b58f2f
commit 15ea287728
5 changed files with 115 additions and 5 deletions

View file

@ -10,7 +10,9 @@ terraform {
}
provider "google" {
project = var.project_id
region = var.region
zone = var.zone
project = var.project_id
region = var.region
zone = var.zone
user_project_override = true
billing_project = var.project_id
}