How can I feed in a `Promise<string>` , like...
# general
r
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
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