turbot/alicloud_insights

Query: vpc_vswitches_for_ecs_instance

Usage

powerpipe query alicloud_insights.query.vpc_vswitches_for_ecs_instance

Steampipe Tables

SQL

select
vpc_attributes ->> 'VSwitchId' as vpc_vswitch_id
from
alicloud_ecs_instance i
where
i.arn = $1
and i.account_id = split_part($1, ':', 5)
and i.region = split_part($1, ':', 4);