turbot/alicloud_insights

Query: vpc_vpcs_for_ecs_instance

Usage

powerpipe query alicloud_insights.query.vpc_vpcs_for_ecs_instance

Steampipe Tables

SQL

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