Policy Packs
Enforce AWS EBS Volumes Are Attached to EC2 Instances

Policy Setting: AWS > EC2 > Volume > Approved

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_ec2_volume_approved" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-ec2#/policy/types/volumeApproved"
value = "Check: Approved"
# value = "Enforce: Detach unapproved if new"
# value = "Enforce: Detach, snapshot and delete unapproved if new"
}