Repository navigation
Closed
Labels
docs-backlogverified-open work found in docs/mvpRequired for the usable configurable deduplication API product
Description
Found by reading plan-to-aws.md §3 against the tree on 2026-11-08, while scoping #553–#556. All four of those tickets assume a prod substrate that does not exist, so none of them can be finished first.
envs/prod/ declares the network, EKS, Aurora, EFS and the lake. It declares none of the identity and secret plumbing envs/dev/ has, so a prod pod cannot start and cannot reach AWS if it did:
- No ESO stack.
envs/dev/secrets.tfhas the External Secrets Operator role and its Pod Identity association; prod has no equivalent, so the chart's twoExternalSecrethooks resolve against nothing and the release fails at its first pre-install hook. - No Pod Identity roles.
envs/prod/lake.tfsays prod "reaches S3 via EKS Pod Identity (an IAM role), wired with the app deploy" — that wiring was never written, and neither was thelake_accesspolicy document the sentence refers to. There is no node-credential fallback here by design, so this is a hard failure rather than a degraded one. - No §9 secret entries. Dev's
er/dev/<ns>/{erserver,erweb}are written byscripts/dev_env.sh up, which is right for a per-developer namespace and has no prod counterpart. Nothing writeser/prod/<ns>/*.
Scope
secrets.tf— the ESO role (scoped toer/prod/*, narrower than dev'ser/*) and its association, plus the two Secrets Manager entries, generated in Terraform.pod_identity.tf—er-prod-api-podander-prod-runner-pod, the lake policy on the runner, associations for the one fixed prod namespace.lake.tf— thelake_accessdocument.
Deliberately not in scope
- The
appNodePool. The eks module enables only Auto Mode'ssystempool (node_pools = ["system"]), so prod needs anapppool before app pods can place — on-demand, perinfrastructure.md§5, against dev's spot. That is a cluster-object change (infra/k8s/nodepools/plus amake cluster-objectsthat is currently hardcoded toER_DEV_CONTEXT), not Terraform, and the non-recursive apply that keepsmeasure/out of the cluster makes the per-environment layout its own decision. Separate ticket. sslmode=verify-full. The DSNs written here carrysslmode=require, matching whatrds.tfalready wrote intoer/prod/shared/postgres. Moving toverify-fullneeds the RDS CA bundle in the images first, which is an image change — Prod environment — network, EKS, Aurora #553 owns it.- A dedicated non-master Postgres role. Prod uses the Aurora master
errole against the oneerdatabase. Dev gives each developer its own role, bootstrapped by an in-cluster Job; prod has one application and tenant separation is DuckLake catalogs (§7.3), not Postgres roles, so the extra role would need that Job to exist here for no isolation gain.
Metadata
Metadata
Assignees
Labels
docs-backlogverified-open work found in docs/mvpRequired for the usable configurable deduplication API product
Activity
feat(infra): prod Pod Identity, ESO and the §9 secrets envs/prod neve…