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