Skip to content

Conversation

@chodono-aws
Copy link
Contributor

…s better

Issue #, if available:

Description of changes:
Modifications to workspace_scan function to handle large workspaces environments.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@chodono-aws chodono-aws requested a review from iakov-aws October 28, 2025 14:30
workspaces_data = []
for page in client.get_paginator('describe_workspaces').paginate():
workspaces_data.extend(page.get('Workspaces', []))
time.sleep(0.2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please refactor this to have exception handling and backoff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants