Commit 8b85a3d
committed
fix: drop the rds_iam grant from 005 (it forces IAM-only auth on RDS)
Live prod verification caught this: granting rds_iam to a role makes
IAM authentication MANDATORY on RDS (password auth fails with PAM
authentication failed), and the Vercel runtime has no AWS credentials to
mint IAM tokens. bench_read authenticates with a static password, so 005
now creates the role with no rds_iam grant (a future IAM switch re-adds
it in a follow-up migration, atomically disabling the password). Prod
state matches: the grant was revoked as master immediately after the
2026-06-10 bootstrap apply of 004+005, and SELECT-as-bench_read +
INSERT-denied were verified live. 51 runner tests + 204 web tests green.
Signed-off-by: "Connor Tsui" <connor@spiraldb.com>1 parent 6523399 commit 8b85a3d
2 files changed
Lines changed: 13 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1204 | 1204 | | |
1205 | 1205 | | |
1206 | 1206 | | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
1211 | 1210 | | |
1212 | 1211 | | |
1213 | 1212 | | |
| |||
0 commit comments