11/28/2020, 2:32 PM
I am provisioning an Azure Postgres DB and im having trouble outputting the admin username and password. The console output includes the FQDN, but neither the username nor the password are available.
PostgresAdminLogin = dbServer.AdministratorLogin;
PostgresAdminPassword = dbServer.AdministratorLoginPassword;
PostgresFqdn = dbServer.Fqdn;
Edit: I fell in my own trap, the output properties were static 😄 the method creating the DB is static so people return the new resource and not assign Output<> in the methods all over the place but only in the constructor. So yeah, I just shot myself in the foot. "senior dev" haha