clean-eve-27532
04/01/2020, 8:15 AMstocky-island-3676
04/01/2020, 8:19 AM.apply()
(see doc). Then I think it’s obvious, or?clean-eve-27532
04/01/2020, 8:21 AMType 'Output<string[]>' must have a '[Symbol.iterator]()' method that returns an iterator
stocky-island-3676
04/01/2020, 8:27 AMI thought creating resources in .apply() was a bad practiceGood point. I think it should work to just return the string-array inside the
apply()
and save it in a variable. Then you could iterate on this afterwards. Hmm, but then it doesn’t work on preview-time, AFAIU.clean-eve-27532
04/01/2020, 8:30 AMstocky-island-3676
04/01/2020, 8:34 AM