https://pulumi.com logo
Title
f

future-eve-16214

02/16/2023, 10:48 PM
How can I run an async function in my pulumi script? I have an async function that gets secret values from Azure Key Vault. I tried using
asyncio.run
but I get
RuntimeError: asyncio.run() cannot be called from a running event loop
Using
from pulumi.runtime.sync_await import _sync_await
function works