Add optional Dynu DNS inventory to architecture doc generator

This commit is contained in:
beatz174-bit
2026-05-13 07:31:20 +10:00
parent 9f98101c5d
commit 5f10d0366e
2 changed files with 190 additions and 9 deletions
+15
View File
@@ -120,6 +120,21 @@ flowchart TB
For request-flow and network detail, see [docs/architecture.md](docs/architecture.md).
### Regenerating architecture docs (Prometheus + Dynu DNS)
```bash
# Refresh Dynu live inventory and generated resources/import helpers
cd infrastructure/terraform/dynu
terraform apply -refresh-only
python3 scripts/generate-brownfield-records.py --overwrite
# Regenerate architecture docs from Prometheus + Dynu inventory
cd ../../..
python3 scripts/render_prometheus_docs.py \
--inventory-file docs/runtime/prometheus-inventory.json \
--dynu-dns-inventory-file infrastructure/terraform/dynu/generated/dynu_dns_records_inventory.json
```
---
## Codex setup and maintenance scripts