turbot/terraform_aws_compliance

GitHub
Loading controls...

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:

steampipe check terraform_aws_compliance.control.ec2_instance_termination_protection_enabled

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share terraform_aws_compliance.control.ec2_instance_termination_protection_enabled

SQL

This control uses a named query:

ec2_instance_termination_protection_enabled

Tags