Can you make all your postgresql reasouces depend on a local.command resource that starts the proxy?
f
flaky-twilight-44520
02/07/2023, 10:58 AM
That unfortunately doesn't work for destroy. I worked around that with putting all logic into bash script with psql and creating a local command. Probably this use case would possible to fix only when https://github.com/pulumi/pulumi/issues/1691 is solved
b
best-summer-38252
02/14/2023, 12:16 AM
Thanks for sharing 1691 with me and glad you were able to create a workaround.