This message was deleted.
# azure
s
This message was deleted.
i
Are you on Single or Flexible server?
Pulumi.AzureNative.DBforPostgreSQL.ServerAdministrator
I know there is this one for SingleServer
a
Found it.
Copy code
postgresql.GrantRole("grant role azure_pg_admin",
                     grant_role="azure_pg_admin",
                     role=role.name,
                     opts=ResourceOptions(
                         provider=pg_provider
                     )
                     )
i
If i'm not mistaken, this approach only works if your server is connected to the internet. If your postgres server (flexible in my case) is only accessable within a vpc, then you can't use the pulumi postgresql library.