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

little-cartoon-10569

08/25/2022, 10:09 PM
When unit testing, is there a way to not fake out some providers? In particular, I don't want to have to write a replacement for
RandomString.result
.
Right now, my
newResource
function has to switch on args.type == "randomindex/randomStringRandomString". I'd like to be able to call out to the real provider if args.type starts with (for example) "random:".