flat-advantage-89110
03/12/2020, 7:46 PMdevRole = pulumi_postgresql.role.Role(f'developers-{i}',
connection_limit=100,
create_database=True,
login=True,
name=userlist[i],
password='password',
skip_reassign_owned=True,
opts=ResourceOptions(provider=postgresProvider, depends_on=[postgresProvider]))
running results in a PostgreSQL version: dial tcp :5432: connect: connection refused
So I assumed it was because tf2pulumi
didn’t handle provider "postgresql"
, so I added that and set the provider but I’m still getting the same error. is there somewhere I can find a python example of how to use postgres with pulumi?