Commit c93091c
committed
fix: set explicit region on S3 client to fix presigned URL signature mismatch
boto3.client('s3') without a region defaults to us-east-1, so presigned
URLs get signed for us-east-1 while the bucket is in eu-central-1, causing
'signature mismatch' errors. Pass AWS_REGION (auto-set by Lambda runtime).1 parent b74206d commit c93091c
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
0 commit comments