Notes to Self

Alex Sokolsky's Notes on Computers and Programming

AWS Resource Explorer CLI

Get the total count of untagged objects:

aws resource-explorer-2 search --query-string="tag:none" --no-paginate | jq ".Count.TotalResources"

Get the count of objects with any tag

aws resource-explorer-2 search --query-string="tag:all" --no-paginate | jq ".Count.TotalResources"