I have a list of items. The length of this list is unknown. I would like to use a loop to perform some fairly heavy processing on each item. I am wondering if it is possible to do this using a state machine. More specifically, can I have one step of the machine perform the loop and start an instance of the next step per item? If not what would you suggest? The goal is to keep this as serverless as possible.
P.S. I know that I can iterate with step functions, but the state machine will time out after a few minutes, and I am afraid that wouldn't be enough time to process all the items, if the processing is done serially.