nccgroup / aws-inventory

Discover resources created in an AWS account.
Apache License 2.0
707 stars 128 forks source link

Multiple profiles #14

Open t-rojan opened 6 years ago

t-rojan commented 6 years ago

I work in an organisation with MANY (100+) accounts. aws-inventory is awesome but it's too tedious to collect data from so many accounts because it has to be invoked multiple times and requires user interaction to start.

I've posted a fork that has the following changes;

  1. Inventory Multiple Profiles - Supports a "--regex" option that causes the "--profile" parameter to be treated as a regular expression. All profiles that match the regex will be collected.
  2. Removed Tk - Removed dependencies on Tk. Replaced the progress functionality with a simpler text progress bar. This also means there's no prompt to "start", which makes multiple-profiles more efficient.
  3. Python 3

It's here https://github.com/t-rojan/aws-inventory

If there is any interest in the above let me know, I'll create a pull.

haidaraM commented 6 years ago

Interested :)

GitRobGit commented 6 years ago

Looks good, interested.

GitRobGit commented 6 years ago

Looks good, interested.

bitsandsalsa commented 6 years ago

@t-rojan those sound like awesome improvements! Create a pull request if you are still interested.

n1t1nv3rma commented 5 years ago

Sounds much better!

shantanuo commented 4 years ago

@t-rojan Please create a pull request!

ncc-erik-steringer commented 4 years ago

Cleaning out issues. Python 3 compat + non-GUI is complete, still need to add multi-profile support.

manumagalhaes commented 3 years ago

Hi, has this improvement been implemented yet? Happy to help if needed. Thanks :)

ncc-erik-steringer commented 3 years ago

The argument is available from the code in the develop branch.