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 réponses
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
répondu il y a un an
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
répondu il y a un an
  • 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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions