aws-inventory icon indicating copy to clipboard operation
aws-inventory copied to clipboard

Multiple profiles

Open t-rojan opened this issue 7 years ago • 9 comments

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.

t-rojan avatar Oct 21 '18 11:10 t-rojan

Interested :)

haidaraM avatar Oct 23 '18 08:10 haidaraM

Looks good, interested.

GitRobGit avatar Oct 23 '18 18:10 GitRobGit

Looks good, interested.

GitRobGit avatar Oct 23 '18 18:10 GitRobGit

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

bitsandsalsa avatar Oct 24 '18 18:10 bitsandsalsa

Sounds much better!

n1t1nv3rma avatar Nov 22 '18 03:11 n1t1nv3rma

@t-rojan Please create a pull request!

shantanuo avatar Apr 29 '20 10:04 shantanuo

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

ncc-erik-steringer avatar Sep 07 '20 05:09 ncc-erik-steringer

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

manumagalhaes avatar May 26 '21 21:05 manumagalhaes

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

ncc-erik-steringer avatar May 26 '21 22:05 ncc-erik-steringer