Closed c0nfleis closed 12 months ago
Thank you so much @c0nfleis for implementing the fix! We're really grateful for your work. Just a heads up, we've also just finished implementing a fix that rate limits the AWS SSO API call to AWS's max throttle limit and added a progress bar too #463
Closing as we've just merged #463 - we opted for the implementation in that PR because it has a progress bar which should improve UX for large org sizes. This will be included in the next Granted release.
As mentioned though we're hugely grateful for your contribution here @egibs - let us know how the next release works for you and contributions which further improve functionality here are very much welcomed.
What changed?
Implemented backoffs when running listAccountRoles in sso.go
Why?
429's when too many roles are present
How did you test it?
I ran locally using make cli, and tested against real use case that was returning 429 when using main
Potential risks
Possible still not enough attempts, but this number got me through
Is patch release candidate?
No