Policy Packs
Enforce AWS EBS Volumes Are Not Older Than 90 Days

Policy Setting: AWS > EC2 > Volume > Active

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_ec2_volume_active" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-ec2#/policy/types/volumeActive"
value = "Check: Active"
# value = "Enforce: Detach, snapshot and delete inactive with 7 days warning"
}