green-daybreak-91402
01/17/2023, 7:28 PMbillowy-army-68599
01/17/2023, 7:29 PMgreen-daybreak-91402
01/17/2023, 7:31 PMbillowy-army-68599
01/17/2023, 7:33 PMgreen-daybreak-91402
01/17/2023, 7:34 PMerror detecting capabilities: error PostgreSQL version: pq: SSL is not enabled on the server
const pgsqlProvider = new postgresql.Provider(
`${parentId}-db-pgsql-provider`,
{
host: db.instance.endpoint,
password: this.password,
sslmode: 'disable',
username: this.username,
},
);
billowy-army-68599
01/17/2023, 11:14 PMsslMode
note the capsgreen-daybreak-91402
01/18/2023, 12:48 AMdependsOn
to ensure they run in a specific order?dial tcp 10.0.253.222:5432: connect: operation timed out
not sure if its networking related or permissionsbillowy-army-68599
01/18/2023, 4:37 AMdo commands wiht the postgresql provider run in sequential order as they are defined? or is it necesary to use dependsOn to ensure they run in a specific order?you can use dependsOn, but if you pass an output from one resource (ie, the db address or username) as an input to another resource (ie: the provider) the engine figures out the correct order
hmm does the provider run inside the VPC?no it runs from the machine you’re running Pulumi on
green-daybreak-91402
01/18/2023, 6:04 AM