drizzle-team / drizzle-team/drizzle-orm

[BUG]: Error: Region is missing - Unable to use aws-data-api wuth drizzle-kit

Open
#3,253 7 comments 3 reactions 0 assignees View on GitHub
bug driver/aws-data-api drizzle/kit priority
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### What version of `drizzle-orm` are you using?

?

### What version of `drizzle-kit` are you using?

?

### Describe the Bug

From drizzle-kit-mirror repo: https://github.com/drizzle-team/drizzle-kit-mirror/issues/535.

> I'm unable to use any of the drizzle commands when using the aws data api as the driver. The error is the same for all commands which is that it cannot find the region and there's no way to specify the region in the drizzle config file. The database connection in the ORM is working thanks to the region specification in the RDSClient.
>
> [Bug Report.zip](https://github.com/user-attachments/files/16551777/Bug.Report.zip)

### Expected behavior

_No response_

### Environment & setup

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with drizzle-kit-mirror issue 535 and the attached Bug Report.zip; compare the AWS Data API connection's RDSClient region handling with the drizzle config used by drizzle commands. Done means the reported commands can obtain a configured region and the existing ORM connection remains working, with a regression check for the missing-region error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cli, cloud, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.