`make([]foo, N)` creates a slice with N zero-initialized `foo`. You probably need `make([]foo, 0, N)...
b
make([]foo, N)
creates a slice with N zero-initialized
foo
. You probably need
make([]foo, 0, N)
to create an empty slice with pre-reserved memory, or don't bother pre-reserving and just say
var workerPrivateIps []pulumi.StringOutput
, the difference in a few nanoseconds won't matter.