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 Antworten
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
EXPERTE
Matt-B
beantwortet vor einem Jahr
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.

EXPERTE
beantwortet vor einem Jahr
  • Thank you let me run this.

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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen