I need to `pulumi.all` several different items. Wh...
# general
f
I need to
pulumi.all
several different items. When I add more than 8 items to my
pulumi.all
, I get a Typescript error about numbers not being assignable to strings. Looking at the source for
pulumi.all
, I see signatures for calls with up to 8 types. I tried switching to a map format as well but it has the same problem. How can you create a single Output object from more than 8 Input objects given Input Objects having varying types?
m
cc @lemon-spoon-91807
l
you could do it in two phases
pulumi.all like two groups of 4
then do a pulumi.all on each of those outputs.
note: i have a PR to allow .all to extend to any number of arguments, but it's blocked on a TypeScript bug
f
Oh ok. I guess I'll do the grouping for now.
l