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

Thoughts on using a ternary here instead of if/else?