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 Risposte
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
ESPERTO
Matt-B
con risposta un anno fa
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.

ESPERTO
con risposta un anno fa
  • 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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande