a continue statement will make this run faster for regions without classic
jthomasser opened this issue · 1 comments
jthomasser commented
thanks for this script. good stuff. just wanted to add that by adding a continue statement after line 59 will avoid running unnecessary code so will go alot faster by restarting at the for loop.
as follows:
59 else printf "$region, Disabled\n" >> Classic_Platform_Status.csv ## If supported platforms is only VPC and does not include EC2, output the region and Disabled to a CSV
60 printf "$region, Classic disabled, skipping checks.\n"
61 continue
TheScottMo commented
I have released version 2 today, which runs with a high degree of parallelization and I am seeing a lot of improvement in speed now. Thank you for the feedback.