Policy Packs
Enforce Encryption at Rest Is Enabled for AWS EBS Volumes

Policy Setting: AWS > EC2 > Volume > Approved > Encryption at Rest > Customer Managed Key

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_ec2_volume_approved_encryption_at_rest_customer_managed_key" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-ec2#/policy/types/volumeEncryptionAtRestCustomerManagedKey"
# Enter your CMK id/arn/alias below
value = "alias/turbot/default"
}