This message was deleted.
s
This message was deleted.
b
Can you provide more context? Is this an issue because you are deriving from Pulumi.Stack and can't access the information you need inside the constructor?
b
It’s not available in the credentials. I don’t see them here. So the only way is through config or env var? So must be fed from outside the program ?
b
ah ok I think I misunderstood the original question. It looks like the database resource takes in a
owner
input, which can be set to a role. So maybe they want you to set up a role? https://www.pulumi.com/docs/reference/pkg/postgresql/role/ It looks like the role resource allows credential configuration
Also the provider takes in credentials as inputs: https://www.pulumi.com/docs/reference/pkg/postgresql/provider/ I might still be misunderstanding the question
b
ok cool thanks, it answers my question 🙂
🙌 1