Control: EC2 instance IAM role should not allow management level access
Description
This control ensures that EC2 instance IAM role does not allow management level access.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.ec2_instance_no_iam_role_with_management_level_access
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.ec2_instance_no_iam_role_with_management_level_access --share
SQL
This control uses a named query:
ec2_instance_no_iam_role_with_management_level_access