Notes to Self

Alex Sokolsky's Notes on Computers and Programming

# AWS Resource Explorer CLI

total count of untagged objects:

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

count of objects with any tag

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