https://pulumi.com logo
#general
Title
# general
r

rapid-raincoat-36492

10/19/2021, 3:21 AM
How can I feed in a
Promise<string>
, like the output from
vault.generic.getSecret
, into a provider input, like
datadog.Provider
, which only takes
string
?
r

red-match-15116

10/19/2021, 3:25 AM
Hmm… datadog.Provider doesn’t take
Input<string>
?
Looks like it does… you should just be able to pass
Promise<string>
directly into it then.
Input<T>
is actually
T | Output<T> | Promise<T>
so it should “just work”
🙌 1