Policy Packs
Enforce AWS IAM Access Keys Are Not Older Than 90 Days

Policy Setting: AWS > IAM > Access Key > Active

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_iam_access_key_active" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-iam#/policy/types/accessKeyActive"
value = "Check: Active"
# value = "Enforce: Deactivate inactive with 90 days warning"
# value = "Enforce: Delete inactive with 90 days warning"
}