You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings ! I've been unable to open a connection to an RDS Aurora database, and I'm no expert on AWS API, so I might've been missing something obvious...
But it seems to me like Aws::RDSDataService::Client requires a credentials parameter. The readme doesn't specify how these credentials are supposed to be given. I'm not sure it can be done through the config file.
I've been able to solve the issue by patching this gem, by editing lib/active_record/connection_adapters/aurora_serverless/client.rb and adding the following line just before the instantiation of the Aws::RDSDataService::Client:
Greetings ! I've been unable to open a connection to an RDS Aurora database, and I'm no expert on AWS API, so I might've been missing something obvious...
But it seems to me like
Aws::RDSDataService::Clientrequires acredentialsparameter. The readme doesn't specify how these credentials are supposed to be given. I'm not sure it can be done through the config file.I've been able to solve the issue by patching this gem, by editing
lib/active_record/connection_adapters/aurora_serverless/client.rband adding the following line just before the instantiation of theAws::RDSDataService::Client:I am then able to add my credentials to my config file as such:
And it seems to work (I don't have access to any aws resource yet, but it seems to work).
I'm wondering: