Control: Attached EBS volumes should have delete on termination enabled
Description
This rule ensures that AWS Elastic Block Store volumes that are attached to AWS Elastic Compute Cloud (AWS EC2) instances are marked for deletion when an instance is terminated.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.ebs_attached_volume_delete_on_termination_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.ebs_attached_volume_delete_on_termination_enabled --share
SQL
This control uses a named query:
ebs_attached_volume_delete_on_termination_enabled