View all resources on Account Level using cli or any terraform script

0

how can i see all my resources using cli from all regions. I want them in a single pane at Account level. ex if my account contains numerous resources in different location and region. how can i know about them using cli with using management console. I know that using management console it is possible but is there any other way like CLI or similar to that

3 回答
2

Hi There

There are a few ways to to this:

  1. Use Tag Editor
  2. Use AWS Config
  3. Use a third party tool like aws-inventory
profile pictureAWS
专家
Matt-B
已回答 1 年前
1

You could try using https://pypi.org/project/aws-list-all/. I had a quick look at it some time back and found it's Unix-only but ran under WSL with some success. It handles multi-region but only a single account.

You need to run "query" mode outputting to a data directory, then "show" mode on that data.

Can run "aws-list-all introspect list-services" to check if a service is supported or not.

专家
已回答 1 年前
0

I'd consider looking into the recently released AWS Resource Explorer and CLI prior to filling gaps with any third-party tools. https://aws.amazon.com/resourceexplorer/ https://docs.aws.amazon.com/pdfs/resource-explorer/latest/apireference/resource-explorer-api-ref.pdf

profile picture
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则