https://pulumi.com logo
d

damp-accountant-65956

10/04/2021, 4:39 PM
hmmm... okay so if I use the
ApplyT
and return an error, things still seem to continue on... If i try and use the
pulumi.Output
object returned by calling
ApplyT
I don't see how to convert that back to an Input object?
b

bored-oyster-3147

10/04/2021, 6:40 PM
Output<T>
can be implicitly cast to
Input<T>
Your error thrown inside an apply won't be thrown until that promise is eventually evaluated
Which means it might not throw in preview, because output promises aren't always evaluated in preview