This loop needs to be implemented as an activity similar to:

https://github.com/axemblr/axemblr-provisionr/blob/master/providers/amazon/src/main/java/com/axemblr/provisionr/amazon/activities/AllInstancesMatchPredicate.java