Control: Auto Scaling launch config public IP should be disabled
Description
Ensure if Amazon EC2 Auto Scaling groups have public IP addresses enabled through Launch Configurations. This rule is non complaint if the Launch Configuration for an Auto Scaling group has AssociatePublicIpAddress set to 'true'.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.autoscaling_launch_config_public_ip_disabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.autoscaling_launch_config_public_ip_disabled --share
SQL
This control uses a named query:
autoscaling_launch_config_public_ip_disabled