Control: AWS EC2 instances should have termination protection enabled
Description
This control checks whether termination protection is enabled for EC2 instances. The control fails if termination protection is not enabled for an EC2 instance.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.ec2_instance_termination_protection_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.ec2_instance_termination_protection_enabled --share
SQL
This control uses a named query:
ec2_instance_termination_protection_enabled