Control: EC2 instances should not contain secrets in user data
Description
To help protect sensitive information, ensure that Amazon Elastic Compute Cloud (Amazon EC2) instances do not contain secrets in user data.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.ec2_instance_user_data_no_secrets
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.ec2_instance_user_data_no_secrets --share
SQL
This control uses a named query:
ec2_instance_user_data_no_secrets