Follow-up to #233. The vendored functions (s-read, s-replay, monitoring-relay, monitoring-watchdog) were copied build-critical files only — scripts/bundle-function.mjs, scripts/build-prisma-layer.mjs, and layers/prisma-runtime/. The deployment infrastructure was intentionally left behind and needs to be set up here.
Work
Depends on the monorepo wire-up issue landing first (functions must build before they can deploy).
Follow-up to #233. The vendored functions (
s-read,s-replay,monitoring-relay,monitoring-watchdog) were copied build-critical files only —scripts/bundle-function.mjs,scripts/build-prisma-layer.mjs, andlayers/prisma-runtime/. The deployment infrastructure was intentionally left behind and needs to be set up here.Work
infra/lambda-packaging.tf.example,scripts/deploy-org.sh, related Terraform).prisma-runtimelayer (version-locked to@prisma/client7.8.0 — bump layer + both generators together).MONITORING_DATABASE_URL, the Shopify ingest DB URL, the SNS topic for the relay, etc. (see each function's.env.example).Depends on the monorepo wire-up issue landing first (functions must build before they can deploy).