[WIP]collect aws cloudformation templates and stacks at Amazon refreshing

you can just do `.collect.with_index` instead of `.each_with_index.collect`