Before - This makes three describeStacks calls, getting (likely) identical data each time for the two Stack1 calls.
After - This makes two describeStacks cals, caching the result of the Stack1 lookup.
@b3ross I'd add you as a reviewer but I think you control that. However, would love if you could take a quick look over this and see if you could accept this caching change. Thank you 🙇
…le times
I've tested and verified against CloudTrail calls to see that only one call per-stack is called, even if multiple outputs are requested.
Sample:
Before - This makes three
describeStacks
calls, getting (likely) identical data each time for the twoStack1
calls. After - This makes twodescribeStacks
cals, caching the result of theStack1
lookup.