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 Answers
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
EXPERT
Matt-B
answered a year ago
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.

EXPERT
answered a year ago
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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions