turbot/aws_perimeter

Control: Auto Scaling launch configs should not associate public IP addresses to instances

Description

Ensure that EC2 Auto Scaling launch configurations do not associate public IP addresses to Auto Scaling group instances.

Usage

Run the control in your terminal:

powerpipe control run aws_perimeter.control.autoscaling_launch_config_public_ip_disabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_perimeter.control.autoscaling_launch_config_public_ip_disabled --share

Steampipe Tables

SQL

select
launch_configuration_arn as resource,
case
when associate_public_ip_address then 'alarm'
else 'ok'
end as status,
case
when associate_public_ip_address then title || ' associate public IP addresses.'
else title || ' do not associate public IP addresses.'
end as reason
, region, account_id
from
aws_ec2_launch_configuration;

Tags