little-cartoon-10569
08/18/2025, 10:15 PM@pulumiverse/mssql
provider or recommend any other provider for managing logins and users in SQL server (specifically, RDS)? We're having a fair few issues getting it to work long-term. Right now, we're having problems refresh and/or updating old projects. This is the error message:
error: Failed to retrieve SQL login settings: sql: no rows in result setWe can access the server and view the login using the same DB credentials as Pulumi is using, so we're confused by this.
little-cartoon-10569
08/18/2025, 10:28 PMpulumi destroy
fails with
error: Failed to resolve user name: sql: Scan error on column index 0, name "": converting NULL to string is unsupportedWhich means right now we have to recover from all this manually. Delete the stack and resources by hand.
little-cartoon-10569
08/18/2025, 10:42 PMmammoth-restaurant-4670
08/19/2025, 12:00 AMsys.sql_logins
and sys.databases
tables. I suggest you verify that the credentials have the correct permissions set up.
If you're still having issues, perhaps you can share a code snippet of how you are using the provider.little-cartoon-10569
08/19/2025, 12:14 AMlittle-cartoon-10569
08/19/2025, 12:14 AMlittle-cartoon-10569
08/19/2025, 12:15 AMlittle-cartoon-10569
08/19/2025, 12:39 AMlittle-cartoon-10569
08/19/2025, 12:42 AMmammoth-restaurant-4670
08/19/2025, 1:42 AMexport const loginInfo = mssql.getSqlLogin({name: userName}, {provider: mssqlProvider});
Is it able to read the existing login info like this? Or does that have a similar error?little-cartoon-10569
08/19/2025, 1:44 AMlittle-cartoon-10569
08/19/2025, 3:32 AM