Commit e79235f
committed
fix: restore APP_ACCESS_KEY_ID/SECRET to env: block — DynamoDB/Bedrock broken
Amplify WEB_COMPUTE does NOT reliably inject env vars into Lambda runtime.
Removing APP_* credentials from the env: block in Phase 1 caused:
- DynamoDB: all operations fail (auth sessions, feed, sync)
- Bedrock: chat falls back to offline mode
- Auth: sessions lost on refresh (DynamoDB lookup fails → memory fallback)
These are server-only vars (no NEXT_PUBLIC_ prefix) — baked into the server
bundle only, never sent to the browser. Same pattern as GOOGLE_CLIENT_SECRET.1 parent 1adfbc5 commit e79235f
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
0 commit comments