turbot/aws_compliance

Query: autoscaling_group_uses_ec2_launch_template

Usage

powerpipe query aws_compliance.query.autoscaling_group_uses_ec2_launch_template

SQL

select
autoscaling_group_arn as resource,
case
when launch_template_id is not null then 'ok'
else 'alarm'
end as status,
case
when launch_template_id is not null then title || ' using an EC2 launch template.'
else title || ' not using an EC2 launch template.'
end as reason,
region,
account_id
from
aws_ec2_autoscaling_group;

Controls

The query is being used by the following controls: