turbot/digitalocean_insights

Query: source_droplet_droplets_for_snapshot

Usage

powerpipe query digitalocean_insights.query.source_droplet_droplets_for_snapshot

SQL

select
d.urn as source_droplet_urn
from
digitalocean_droplet as d,
jsonb_array_elements(snapshot_ids) as sid,
digitalocean_snapshot as s
where
s.id = sid::text
and s.id = $1;