https://pulumi.com logo
#typescript
Title
# typescript
b

big-nail-28315

09/16/2019, 2:37 PM
Is there a way to convert Output<string>[] to either a single Output<string> or Input<string>?
t

tall-librarian-49374

09/16/2019, 2:44 PM
You can do
pulumi.all
Copy code
const xs: pulumi.Output<string>[] = ...;
const combined = pulumi.all(xs).apply(ys => ys.join(","));
b

big-nail-28315

09/16/2019, 2:52 PM
thx