https://pulumi.com logo
#typescript
Title
# typescript
b

better-vegetable-87807

01/01/2024, 5:34 AM
Hi. I'm trying to utilize
.getProvider
method to get the provider of the resource. I'd like to write a helper function that works over multiple region. That function needs to investigate the provider of the passed resource. I tried something like
.getProvider("aws")
, but it always returns
undefined
. What did I do wrong? Do we have any docs about
getProvider
method?