Metadata-Version: 2.1
Name: aws-list-all
Version: 0.5.0
Summary: List all your AWS resources, all regions, all services.
Home-page: https://github.com/JohannesEbke/aws_list_all
Author: Johannes Ebke
Author-email: johannes@ebke.org
License: UNKNOWN
Keywords: aws boto3 listings resources region services
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: boto3 (>=1.9.116)
Requires-Dist: app-json-file-cache (>=0.2.2)

aws\_list\_all
==============

List all resources in an AWS account, all regions, all services(*).

(*) No guarantees for completeness. Use billing alerts if you are worried about costs.

.. image:: https://travis-ci.org/JohannesEbke/aws_list_all.svg?branch=master
   :target: https://travis-ci.org/JohannesEbke/aws_list_all

Usage
-----

You need to have python (both 2 or 3 work) with boto3 installed,
as well as AWS credentials which can be picked up by boto3.

To list resources for a given service and region, do::

  python -m aws_list_all query --service ec2 --region eu-west-1

Example output::

  --> ec2 eu-west-1 DescribeVolumeStatus VolumeStatuses
  --- ec2 eu-west-1 DescribeVpcPeeringConnections VpcPeeringConnections
  --- ec2 eu-west-1 DescribeExportTasks ExportTasks
  --- ec2 eu-west-1 DescribePlacementGroups PlacementGroups
  --- ec2 eu-west-1 DescribeSnapshots Snapshots
  --- ec2 eu-west-1 DescribeConversionTasks ConversionTasks
  --> ec2 eu-west-1 DescribeInternetGateways InternetGateways
  --- ec2 eu-west-1 DescribeBundleTasks BundleTasks
  --> ec2 eu-west-1 DescribeNetworkAcls NetworkAcls
  ....

Lines start with "``---``" if no resources of this type have been found, and
start with "``-->``" if at least one resource has been found.

Currently, some default resources are still considered "user-created", this may
change in the future.

Details about found resources are saved in json files named after the service,
region, and operation used to find them. They can be dumped with::

  python -m aws_list_all ec2_DescribeSecurityGroups_eu-west-1.json

Enough of this, how do I really list everything?
------------------------------------------------

Restricting the region and service is optional, a simple ``query`` lists everything.
It uses a thread pool to parallelize queries and randomizes the order to avoid
hitting one endpoint in close succession. One run takes around two minutes for me.


