Control: VPC internet gateways should be attached to authorized vpc
Manage access to resources in the AWS Cloud by ensuring that internet gateways are only attached to authorized Amazon Virtual Private Cloud (Amazon VPC).
Run the control in your terminal:
steampipe check terraform_aws_compliance.control.vpc_igw_attached_to_authorized_vpc
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share terraform_aws_compliance.control.vpc_igw_attached_to_authorized_vpc
This control uses a named query:vpc_igw_attached_to_authorized_vpc