List Your AWS Resources

How you can use a CLI command to list all your resources.

AWSAWS CLI

Losing track of your AWS resources is a great way to get billed. Fortunately, you can list everything using the command line interface:

bash
aws resourcegroupstaggingapi get-resources --profile <your-profile-here>

This returns all tagged or previously tagged resources. Giving you something like this:

As long as you tag your resources, you can track everything you’ve provisioned. Do this before and after changes to ensure your account is clean.

Read More

get-resources - AWS CLI 2.17.5 Command Reference