i suppose you need to do roughly the same, define a async function and call your
inside of it with
02/18/2019, 7:03 AM
Thanks man, this worked. Clumsy though. And it seems to only work inside another pulumi call, I assume because the other pulumi calls are also deferred/async as part of the engine.
For example, calling that additional wrapper outside of a pulumi API still results in a coroutine object being returned. Which means that any decision making on the result of the call has to also be encapsulated in an async def.
02/18/2019, 7:48 AM
sorry, I'm not much of a python developer, I can barely navigate my way through. but I suppose you are correct