Policy Packs
Enforce Termination Protection Is Enabled for AWS EC2 Instances

Policy Setting: AWS > EC2 > Instance > Termination Protection

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_ec2_instance_termination_protection" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-ec2#/policy/types/instanceTerminationProtection"
value = "Check: Enabled"
# value = "Enforce: Enabled"
}