This commit is contained in:
Steve Pulec 2019-11-21 17:53:58 -05:00
commit 72da9e96c2
13 changed files with 28 additions and 26 deletions

View file

@ -177,7 +177,9 @@ class CloudFormationResponse(BaseResponse):
start = stack_ids.index(token) + 1
else:
start = 0
max_results = 50 # using this to mske testing of paginated stacks more convenient than default 1 MB
max_results = (
50
) # using this to mske testing of paginated stacks more convenient than default 1 MB
stacks_resp = stacks[start : start + max_results]
next_token = None
if len(stacks) > (start + max_results):