05/15/2023, 9:06 AM
Hi everyone! I'm trying to deploy an aws policy pack, but if I call some async function like pulumi_aws_pricing.get_product(), it doesn't work... (I've already tried await/async, _sync_await from pulumi, and also to resolve the promise the the .then() but nothing works) Or better, if I don't use anyone of them, it generates this error " There is no current event loop in thread 'ThreadPoolExecutor-0_0'. ", while if I use them and try to print out something, pulumi creates the resoures without appling the validation... Do you have any solution for this problem?