janiko71 / aws-inventory

Python script for AWS resources inventory (cheaper than AWS Config)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can i use it for multiple aws accounts

jashankochar opened this issue · comments

how can i pass multiple aws account keys to it and excute the same.

Generally, in an AWS context, you should use IAM and maybe the organization feature to run a service on multiple accounts. Using roles between accounts is a better way to do so. Using directly multiples keys is not the most efficient way. I will try to adapt my script in the near future.