sorry for x-post, but have got zero traction in th...
# general
b
sorry for x-post, but have got zero traction in the python channel, and hoping there are some more eyes here: https://pulumi-community.slack.com/archives/CDE799L1M/p1549924371007800
i
I recommend passing the result of an
async
function as an input to a resource, like this: https://github.com/pulumi/pulumi/blob/c720d1329fcfdf486cbb4a395e8fcef7580c4d9a/sdk/python/lib/test/langhost/invoke/__main__.py#L34-L38 Python doesn't allow you to do anything useful with top-level async code, so Pulumi allows you to pass
Future
instances as resource inputs and the Pulumi runtime will wait for them to resolve
b
Thank you! That's exactly what I was after