Activates the sandbox environment for the ERP on the Postgres side (ADR-0002 Phase D). `erp` gains `envs = ["prod", "sandbox"]`, so the elision flatten now materialises a second instance `erp-sandbox`: - database `erp-sandbox` - owner role `erp_sandbox_role` (snake-case per the convention) - pgbouncer user_lookup function + grants for the new DB The prod `erp` instance is unchanged (db `erp`, role `erp_role`) — the apply is purely additive (~6 resources for erp-sandbox, 0 changed, 0 destroyed on everything else). Verified the flatten output with a standalone tofu apply before pushing. This is D1 of the Phase D activation. D2 (tools Vault policies), D3 (erp iac creds + KV), D4 (ArgoCD Application) follow in order. Refs ADR-0002 (factory#15), Phase B (factory#16). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
177 B
177 B