turbot/alicloud_insights

Query: rds_backups_for_rds_instance

Usage

powerpipe query alicloud_insights.query.rds_backups_for_rds_instance

SQL

select
b.backup_id as backup_id
from
alicloud_rds_instance as i,
alicloud_rds_backup as b
where
i.arn = $1
and i.account_id = split_part($1,':',5)
and i.region = split_part($1,':',4)
and b.db_instance_id = i.db_instance_id;