|
Author the per-DC MAAS region VM into both substrate roots (D-132 addendum)
vr1-dc0-maas-01 and vr1-dc1-maas-01: 4 vCPU / 8 GiB / 150 GiB, macs = [] for first apply. Additive on a for_each-keyed caller, so each plans 1 add / 0 change / 0 destroy. Sizing is the shape the capacity gate actually modelled (dc-dc-whole-host-budget.py --containment-overhead-mem-gib 32 --containment-overhead-vcpu 12 -> RAM 870/1024 = 85 pct, FIT, 154 GiB headroom). Disk is 150 not 100 because this VM stores the region's PostgreSQL AND its boot-image set. Both entries carry the carve requirement in the comment: metal-admin AND provider-public at enlistment. Carving metal-admin alone is exactly the under-carve that cost three bootstrap attempts on the juju controller VM today -- no default route, no image sync. MACs deliberately empty, to be pinned from measurement immediately after first apply, per the same rule that the 2026-07-20 MAC regeneration established. opentofu-validate: root + 12 modules + both extra roots all PASS. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HvCyrwvYTTcDYnRErfMsNf |
|---|
|
|
| opentofu/vr1-dc0-substrate/main.tf |
|---|
| opentofu/vr1-dc1-substrate/main.tf |
|---|