This message was deleted.
# general
s
This message was deleted.
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