turbot/tailpipe-mod-aws-cost-usage-report-insights

Query: overview_dashboard_total_accounts

Usage

powerpipe query aws_cost_and_usage_insights.query.overview_dashboard_total_accounts

SQL

select
'Accounts' as label,
count(distinct line_item_usage_account_id) as value
from
aws_cost_and_usage_report
where
('all' in ($1) or line_item_usage_account_id in $1);

Params

ArgsNameDefaultDescriptionVariable
$1account_ids

    Dashboards

    The query is used in the dashboards: