turbot/terraform_aws_compliance

GitHub
Loading controls...

Control: Ensure EC2 instances do not use default VPC

Description

One of the best practices when using EC2s in AWS is not to deploy any resources to the default VPC.

Usage

Run the control in your terminal:

steampipe check terraform_aws_compliance.control.ec2_instance_not_use_default_vpc

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share terraform_aws_compliance.control.ec2_instance_not_use_default_vpc

SQL

This control uses a named query:

ec2_instance_not_use_default_vpc

Tags