https://pulumi.com logo
f

full-dress-10026

03/11/2019, 11:10 PM
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

microscopic-florist-22719

03/11/2019, 11:10 PM
cc @lemon-spoon-91807
l

lemon-spoon-91807

03/11/2019, 11:10 PM
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

full-dress-10026

03/11/2019, 11:11 PM
Oh ok. I guess I'll do the grouping for now.
l

lemon-spoon-91807

03/11/2019, 11:11 PM
2 Views