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