Please provide required params for AWS Data API driver:

This seems to have been asked a few times, but I could not get it to work. I was facing an issue where my PgViews were not getting generated, so after not finding anything, I decided to upgrade my drizzle-orm and drizzle-kit versions. Now, running pnpm drizzle-kit up results in
No config path provided, using default 'drizzle.config.ts'
Reading config file 'C:\Users\..\drizzle.config.ts'
Error Please provide required params for AWS Data API driver:
[x] database: undefined
[✓] secretArn: 'postgresql'
No config path provided, using default 'drizzle.config.ts'
Reading config file 'C:\Users\..\drizzle.config.ts'
Error Please provide required params for AWS Data API driver:
[x] database: undefined
[✓] secretArn: 'postgresql'
this is what my config looks like:
export default defineConfig({
schema: "./drizzle/schemas/pg-*",
dialect: "postgresql",
dbCredentials: {
url: supabaseUrl,
},
driver: "pglite",
});
export default defineConfig({
schema: "./drizzle/schemas/pg-*",
dialect: "postgresql",
dbCredentials: {
url: supabaseUrl,
},
driver: "pglite",
});
I tried setting driver to both pglite and aws-data-api but nothing seems to work. I am not sure which one is the correct option when using supabase. Neither of them worked though
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server