Policy Packs
Enforce Tags on AMIs if They Are Older Than 14 Days

Policy Setting: AWS > EC2 > AMI > Tags

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_ec2_ami_tags" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-ec2#/policy/types/amiTags"
value = "Check: Tags are correct"
# value = "Enforce: Set tags"
}