d9ac977fef7e3c2d0d7e93f4c5d1b51a1f3fd7c4
- stripe-billing.tf: Secret Manager resources for all billing IDs: meters (input/output), plan prices (free/professional/founding), overage prices per plan per token type - cloud-run-soma.tf: inject all 13 Stripe env vars into the Soma service via Secret Manager secret_key_ref; add billing secrets to depends_on
infrastructure
Personal infrastructure-as-code for Legion (k3s home server) and supporting tooling.
| Doc | What it covers |
|---|---|
AGENTS.md |
Full reference: machines, secrets, services, domains, namespaces, common operations |
servers/legion/README.md |
What's running on Legion and how deployment works |
servers/legion/RUNBOOK.md |
Disaster recovery — full restore from scratch |
Quick start
cd servers/legion
direnv allow
terraform plan
terraform apply
Push to servers/ to deploy app changes via Argo CD.
Languages
HCL
78.4%
Shell
17.5%
Python
2.6%
Dockerfile
1.5%