Open stephanpelikan opened 1 month ago
I think that's possibly a mistake, could you try to make the condition such that allowing both to be empty is valid too? Let me know if that actually works (I think it should).
could you try to make the condition such that allowing both to be empty is valid too
Sorry, I'm not sure about what you mean. Do you mean to fork cdk-rds-sql
, remove the test causing the error Specify either database or databaseName
and retrying my stack? You think that this test that is causing the error is something that can be removed without causing further problems.
Yes, you could try that. Or simply change the compiled .js file in your node_modules directory and see if this works for you.
I try to create a database and a dedicated user for it and facing different errors:
Missleading docs: Docs says a parameter
database
ordatabaseName
is necessary. So I guess I have to create the database first. On the other hand one can specifyowner
as a database's property. The javascript docs says I can create a role without database:But doing so gives me the error:
Specify either database or databaseName
.I found only this code working:
I would prefer to create the role first and pass it to the database as an owner.