turbot/gcp_insights

Query: sql_database_instance_by_replica

Usage

powerpipe query gcp_insights.query.sql_database_instance_by_replica

SQL

select
name,
jsonb_array_length(replica_names) as replica_count
from
gcp_sql_database_instance
where
master_instance_name = '';

Dashboards

The query is used in the dashboards: