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

brief-car-60542

06/27/2023, 9:25 PM
How do you wait for a resource to be returned when it is in a array?
a

acceptable-intern-25844

06/28/2023, 9:45 AM
wrap the array into
pulumi.output
, then use
Output.apply
as usual
or just
array.map(item => item.apply(readyItem) => readyItem.prop))
b

brief-car-60542

06/29/2023, 8:45 PM
How does pulumi find out if there are 3 elements or 2 elements in the array, and it will make sure all the elements are returned?