bored-table-20691
01/12/2022, 9:34 PM[]string
, in the importing stack it will be a StringArrayOutput.
Two questions:
1. What’s the right way to import this, given the stackRef.GetOutput(...)
returns an AnyOutput
? What’s the best way to make it a StringArrayOutput
?
2. Is there any way to iterate over the values in there as StringOutput
? e.g. say I want to make a new StringArrayOutput
that is the result of running pulumi.Sprintf
on the individual items in the array, can I do that? I really hope I don’t have to do this in an ApplyT
, because it’s going to be very painful.pulumi.Sprintf
), and I don’t believe I can run an export from within an ApplyT
busy-island-31180
02/08/2022, 3:44 AMbored-table-20691
02/08/2022, 3:46 AM