CrowdStrike / cloud-resource-estimator

Cloud deployment size calculation utilities
The Unlicense
17 stars 19 forks source link

(AWS) Fix issues with suspended accounts + handle assumption errors better #27

Closed carlosmmatos closed 1 year ago

carlosmmatos commented 1 year ago

Fixes #25

This PR introduces the ability to skip non-ACTIVE status accounts in AWS. In addition, it now handles accounts where you may not be able to AssumeRole on - by printing out the acct# and issue, and continuing processing. This way you have an idea of what accounts aren't working based on output. It also allows you to continue processing on the accounts you do have access for.

Future PR: Consider handling non-active and assumption errors in a way that may make sense to show them in the table with the appropriate status.