Control: EC2 instances termination protection should be enabled
Description
To prevent your instance from being accidentally terminated using Amazon EC2, you can enable termination protection for the instance.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.ec2_instance_termination_protection_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.ec2_instance_termination_protection_enabled --share
SQL
This control uses a named query:
ec2_instance_termination_protection_enabled