turbot/oci_insights

Query: compute_instance_1_year

Usage

powerpipe query oci_insights.query.compute_instance_1_year

Steampipe Tables

SQL

select
count(*) as value,
'> 1 Year' as label
from
oci_core_instance
where
lifecycle_state <> 'TERMINATED' and time_created <= now() - '1 year' :: interval;

Dashboards

The query is used in the dashboards: