Control: EC2 launch configuration should not have a metadata response hop limit greater than 1
Description
This control checks whether EC2 launch configurations have a metadata response hop limit less than 1.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.ec2_launch_configuration_metadata_hop_limit_check
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.ec2_launch_configuration_metadata_hop_limit_check --share
SQL
This control uses a named query:
ec2_launch_configuration_metadata_hop_limit_check