Closed tgmedia-nz closed 7 months ago
in a nutshell the lag here is due to creating numerous unique AWS boto3 sdk objects upon calling awsume many times. we will adjust awsume/awsumepy/awsume.py to account for this scenario.
Can confirm this fixed it - legends! thanks heaps
Hi guys,
I've been using awsume daily, such a great tool, thanks heaps!
I'm facing a problem and I can't determine what it is, been trying to search the internet but no results, unfortunately. Tried to strace the process and enabling some other debugging but just can't pin-point it.
Running v4.5.0, Mac, bash, python 3.9.1
Issue: When writing a python script using awsumepy and looping over a few accounts, say 20, the process is slowing to a near halt and eating up all CPU resources. The output also is about to stop :)
Simple example:
Ideas? or ideas on how to debug?
Cheers, Thomas