turbot/aws_insights

Query: opensearch_domain_subnet

Usage

powerpipe query aws_insights.query.opensearch_domain_subnet

Steampipe Tables

SQL

select
SubnetID AS "Subnet ID"
from (
select jsonb_array_elements_text(vpc_options -> 'SubnetIds') AS SubnetID
from aws_opensearch_domain
where arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4)
) AS subquery;

Dashboards

The query is used in the dashboards: