sparse-intern-71089
12/01/2020, 2:09 PMbrave-planet-10645
12/01/2020, 2:35 PMbrave-planet-10645
12/01/2020, 2:36 PMbrave-planet-10645
12/01/2020, 2:36 PMred-lighter-44012
12/01/2020, 2:40 PMRole
resource takes care of the DB user creation.
(PostgreS btw)brave-planet-10645
12/01/2020, 2:47 PMred-lighter-44012
12/01/2020, 2:55 PMbrave-planet-10645
12/01/2020, 2:57 PMred-lighter-44012
12/01/2020, 4:32 PMvar server = new Azure.PostgreSql.Server...;
var pgDatabase = new Database(...);
Here I need to switch to the Pulumi.PostgreSql package
// but how do I configure the lib? I cannot bridge the gap between the Azure DB server resource and the types of Pulumi.PostgreSql
. It seems that explicit configuration is required.
The best I came up with is Pulumi.PostgreSql.Config.Host = "hostname"
but this seems to be ignored and a connection attempt against localhost is being made.brave-planet-10645
12/01/2020, 4:36 PMProvider
docs: https://www.pulumi.com/docs/reference/pkg/postgresql/provider/ I think that's how you connectred-lighter-44012
12/01/2020, 5:17 PMred-lighter-44012
12/01/2020, 5:18 PMAzure.Postgres
Outputs for the Pulumi.Postgres
Inputs (transforms with Apply result in no meaningful values etc). Will keep fighting, but the user is created /flexbrave-planet-10645
12/01/2020, 5:18 PMred-lighter-44012
12/01/2020, 5:21 PMbrave-planet-10645
12/01/2020, 5:31 PMred-lighter-44012
12/01/2020, 5:41 PMbrave-planet-10645
12/01/2020, 5:43 PM