turbot/aws_insights

Query: dynamodb_table_age_table

Usage

powerpipe query aws_insights.query.dynamodb_table_age_table

SQL

select
d.name as "Name",
now()::date - d.creation_date_time::date as "Age in Days",
d.creation_date_time as "Create Time",
d.table_status as "State",
a.title as "Account",
d.account_id as "Account ID",
d.region as "Region",
d.arn as "ARN"
from
aws_dynamodb_table as d,
aws_account as a
where
d.account_id = a.account_id
order by
d.creation_date_time,
d.name;

Dashboards

The query is used in the dashboards: