
Selects the next array item in round robin fashion using the Step Functions execution count modulo of the array length.
SDK:ListExecutions task retrieves the total number of successful executions, and passes this onto a Lambda function that finds the remainder when divided by an array length (the modulo).git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/stateless-roundrobin/cd step-functions-workflows-collection/stateless-roundrobin/
sam deploy --guided
sam delete --stack-name STACK_NAME.aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus"