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