turbot/aws_perimeter
GitHub
Loading controls...

Control: RDS DB instances should be deployed in a VPC

Description

This control checks whether RDS DB instances are deployed in a VPC.

Usage

Run the control in your terminal:

steampipe check aws_perimeter.control.rds_db_instance_in_vpc

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share aws_perimeter.control.rds_db_instance_in_vpc

Plugins & Tables

SQL

select
arn as resource,
case
when vpc_id is null then 'alarm'
else 'ok'
end as status,
case
when vpc_id is null then title || ' not in VPC.'
else title || ' in VPC ' || vpc_id || '.'
end as reason,
region,
account_id
from
aws_rds_db_instance;

Tags