https://pulumi.com logo
Title
c

cuddly-pharmacist-11587

05/04/2021, 6:22 PM
Hi all - I'm still new to Pulumi, and probably getting over my head a bit. But, I'm looking for a way to use Pulumi to drive my setup of cloud based software such as FiveTran. My approach was to extend ResourceProvider and implement the create method, calling a REST API using the python "requests" library. However, when I do this, I get an exception:
RuntimeWarning: coroutine 'invoke.<locals>.do_rpc' was never awaited
Here's the question on stackoverflow, in case anyone has an answer or suggestion as to what I'm doing wrong here: https://stackoverflow.com/questions/67335936/how-do-you-write-a-pulumi-provider-that-makes-a-rest-api-request-in-pytyon