{
 "repos_in_frame": 4470,
 "repos_cached": 4445,
 "repos_with_aws": 2268,
 "near_duplicates_excluded": 22,
 "by_class": {
  "demo": 706,
  "deployment": 757,
  "module": 793
 },
 "parse_errors_files": 747,
 "checks": [
  {
   "id": "N1",
   "title": "NAT gateway with no S3 gateway endpoint",
   "confidence": "M",
   "unit": "repos with a NAT gateway",
   "all": {
    "matches": 512,
    "of": 683,
    "share": 0.75,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 212,
     "of": 280,
     "share": 0.757,
     "via_resolved": 0
    },
    "module": {
     "matches": 74,
     "of": 114,
     "share": 0.649,
     "via_resolved": 0
    },
    "demo": {
     "matches": 226,
     "of": 289,
     "share": 0.782,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "N2",
   "title": "NAT gateway and DynamoDB tables with no DynamoDB gateway endpoint",
   "confidence": "M",
   "unit": "repos with NAT and DynamoDB",
   "all": {
    "matches": 93,
    "of": 140,
    "share": 0.664,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 48,
     "of": 62,
     "share": 0.774,
     "via_resolved": 0
    },
    "module": {
     "matches": 8,
     "of": 20,
     "share": 0.4,
     "via_resolved": 0
    },
    "demo": {
     "matches": 37,
     "of": 58,
     "share": 0.638,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "N3",
   "title": "One NAT gateway per AZ or subnet in a non-production root",
   "confidence": "H",
   "unit": "non-prod roots with NAT",
   "all": {
    "matches": 17,
    "of": 218,
    "share": 0.078,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 5,
     "of": 15,
     "share": 0.333,
     "via_resolved": 0
    },
    "module": {
     "matches": 5,
     "of": 7,
     "share": 0.714,
     "via_resolved": 0
    },
    "demo": {
     "matches": 7,
     "of": 196,
     "share": 0.036,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "N6",
   "title": "Elastic IP not attached to anything in the code",
   "confidence": "L",
   "unit": "Elastic IPs",
   "all": {
    "matches": 45,
    "of": 1725,
    "share": 0.026,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 5,
     "of": 502,
     "share": 0.01,
     "via_resolved": 0
    },
    "module": {
     "matches": 1,
     "of": 260,
     "share": 0.004,
     "via_resolved": 0
    },
    "demo": {
     "matches": 39,
     "of": 963,
     "share": 0.04,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "N9",
   "title": "VPC Flow Logs to CloudWatch Logs instead of S3",
   "confidence": "M",
   "unit": "flow logs",
   "all": {
    "matches": 125,
    "of": 176,
    "share": 0.71,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 46,
     "of": 65,
     "share": 0.708,
     "via_resolved": 0
    },
    "module": {
     "matches": 38,
     "of": 58,
     "share": 0.655,
     "via_resolved": 0
    },
    "demo": {
     "matches": 41,
     "of": 53,
     "share": 0.774,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "C1",
   "title": "Previous-generation instance family",
   "confidence": "H",
   "unit": "instance types with a known value",
   "all": {
    "matches": 42,
    "of": 4066,
    "share": 0.01,
    "via_resolved": 11
   },
   "by_class": {
    "deployment": {
     "matches": 22,
     "of": 1417,
     "share": 0.016,
     "via_resolved": 3
    },
    "module": {
     "matches": 7,
     "of": 538,
     "share": 0.013,
     "via_resolved": 7
    },
    "demo": {
     "matches": 13,
     "of": 2111,
     "share": 0.006,
     "via_resolved": 1
    }
   }
  },
  {
   "id": "C2",
   "title": "Not Graviton (x86 instance type)",
   "confidence": "M",
   "unit": "instance types with a known value",
   "all": {
    "matches": 3778,
    "of": 4066,
    "share": 0.929,
    "via_resolved": 1777
   },
   "by_class": {
    "deployment": {
     "matches": 1295,
     "of": 1417,
     "share": 0.914,
     "via_resolved": 633
    },
    "module": {
     "matches": 489,
     "of": 538,
     "share": 0.909,
     "via_resolved": 371
    },
    "demo": {
     "matches": 1994,
     "of": 2111,
     "share": 0.945,
     "via_resolved": 773
    }
   }
  },
  {
   "id": "C3",
   "title": "Lambda on x86 (the default)",
   "confidence": "M",
   "unit": "Lambda functions",
   "all": {
    "matches": 1151,
    "of": 1485,
    "share": 0.775,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 426,
     "of": 528,
     "share": 0.807,
     "via_resolved": 0
    },
    "module": {
     "matches": 224,
     "of": 294,
     "share": 0.762,
     "via_resolved": 0
    },
    "demo": {
     "matches": 501,
     "of": 663,
     "share": 0.756,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "C5",
   "title": "Non-prod node groups and ASGs with no Spot",
   "confidence": "M",
   "unit": "non-prod node groups and ASGs",
   "all": {
    "matches": 208,
    "of": 211,
    "share": 0.986,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 12,
     "of": 13,
     "share": 0.923,
     "via_resolved": 0
    },
    "module": {
     "matches": 2,
     "of": 2,
     "share": 1.0,
     "via_resolved": 0
    },
    "demo": {
     "matches": 194,
     "of": 196,
     "share": 0.99,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "C8",
   "title": "EKS version past standard support (extended support fees)",
   "confidence": "H",
   "unit": "EKS clusters with a known version",
   "all": {
    "matches": 507,
    "of": 647,
    "share": 0.784,
    "via_resolved": 321
   },
   "by_class": {
    "deployment": {
     "matches": 123,
     "of": 190,
     "share": 0.647,
     "via_resolved": 55
    },
    "module": {
     "matches": 52,
     "of": 65,
     "share": 0.8,
     "via_resolved": 17
    },
    "demo": {
     "matches": 332,
     "of": 392,
     "share": 0.847,
     "via_resolved": 249
    }
   }
  },
  {
   "id": "S1",
   "title": "EBS gp2 volume (explicit)",
   "confidence": "H",
   "unit": "EBS volumes and block devices with an explicit type",
   "all": {
    "matches": 417,
    "of": 1457,
    "share": 0.286,
    "via_resolved": 10
   },
   "by_class": {
    "deployment": {
     "matches": 97,
     "of": 444,
     "share": 0.218,
     "via_resolved": 4
    },
    "module": {
     "matches": 45,
     "of": 195,
     "share": 0.231,
     "via_resolved": 4
    },
    "demo": {
     "matches": 275,
     "of": 818,
     "share": 0.336,
     "via_resolved": 2
    }
   }
  },
  {
   "id": "S1u",
   "title": "EBS volume with no type (API default gp2)",
   "confidence": "M",
   "unit": "aws_ebs_volume resources",
   "all": {
    "matches": 51,
    "of": 359,
    "share": 0.142,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 20,
     "of": 93,
     "share": 0.215,
     "via_resolved": 0
    },
    "module": {
     "matches": 8,
     "of": 37,
     "share": 0.216,
     "via_resolved": 0
    },
    "demo": {
     "matches": 23,
     "of": 229,
     "share": 0.1,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "S2",
   "title": "io1 volume at or below 16,000 IOPS (gp3 range)",
   "confidence": "M",
   "unit": "io1 volumes",
   "all": {
    "matches": 0,
    "of": 0,
    "share": null,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 0,
     "of": 0,
     "share": null,
     "via_resolved": 0
    },
    "module": {
     "matches": 0,
     "of": 0,
     "share": null,
     "via_resolved": 0
    },
    "demo": {
     "matches": 0,
     "of": 0,
     "share": null,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "S4",
   "title": "S3 buckets with no lifecycle rule anywhere in the repo",
   "confidence": "M",
   "unit": "repos with S3 buckets",
   "all": {
    "matches": 598,
    "of": 917,
    "share": 0.652,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 241,
     "of": 370,
     "share": 0.651,
     "via_resolved": 0
    },
    "module": {
     "matches": 106,
     "of": 213,
     "share": 0.498,
     "via_resolved": 0
    },
    "demo": {
     "matches": 251,
     "of": 334,
     "share": 0.751,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "S5",
   "title": "Versioned buckets with no noncurrent version expiration",
   "confidence": "H",
   "unit": "repos with versioned buckets",
   "all": {
    "matches": 349,
    "of": 496,
    "share": 0.704,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 138,
     "of": 207,
     "share": 0.667,
     "via_resolved": 0
    },
    "module": {
     "matches": 68,
     "of": 111,
     "share": 0.613,
     "via_resolved": 0
    },
    "demo": {
     "matches": 143,
     "of": 178,
     "share": 0.803,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "S6",
   "title": "Lifecycle rules with no abort of incomplete multipart uploads",
   "confidence": "M",
   "unit": "repos with lifecycle rules",
   "all": {
    "matches": 168,
    "of": 320,
    "share": 0.525,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 71,
     "of": 130,
     "share": 0.546,
     "via_resolved": 0
    },
    "module": {
     "matches": 51,
     "of": 107,
     "share": 0.477,
     "via_resolved": 0
    },
    "demo": {
     "matches": 46,
     "of": 83,
     "share": 0.554,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "S8",
   "title": "EFS with no lifecycle policy",
   "confidence": "M",
   "unit": "EFS file systems",
   "all": {
    "matches": 135,
    "of": 175,
    "share": 0.771,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 43,
     "of": 64,
     "share": 0.672,
     "via_resolved": 0
    },
    "module": {
     "matches": 36,
     "of": 41,
     "share": 0.878,
     "via_resolved": 0
    },
    "demo": {
     "matches": 56,
     "of": 70,
     "share": 0.8,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "D1",
   "title": "RDS/Aurora engine version in extended support",
   "confidence": "H",
   "unit": "DB instances and clusters with a known version",
   "all": {
    "matches": 163,
    "of": 430,
    "share": 0.379,
    "via_resolved": 40
   },
   "by_class": {
    "deployment": {
     "matches": 75,
     "of": 204,
     "share": 0.368,
     "via_resolved": 14
    },
    "module": {
     "matches": 20,
     "of": 59,
     "share": 0.339,
     "via_resolved": 11
    },
    "demo": {
     "matches": 68,
     "of": 167,
     "share": 0.407,
     "via_resolved": 15
    }
   }
  },
  {
   "id": "D2",
   "title": "RDS Multi-AZ in a non-production root",
   "confidence": "H",
   "unit": "non-prod DB instances",
   "all": {
    "matches": 4,
    "of": 38,
    "share": 0.105,
    "via_resolved": 3
   },
   "by_class": {
    "deployment": {
     "matches": 3,
     "of": 11,
     "share": 0.273,
     "via_resolved": 3
    },
    "module": {
     "matches": 0,
     "of": 2,
     "share": 0.0,
     "via_resolved": 0
    },
    "demo": {
     "matches": 1,
     "of": 25,
     "share": 0.04,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "D3",
   "title": "RDS storage gp2 or io1 (explicit)",
   "confidence": "M",
   "unit": "DB instances with an explicit storage type",
   "all": {
    "matches": 117,
    "of": 290,
    "share": 0.403,
    "via_resolved": 37
   },
   "by_class": {
    "deployment": {
     "matches": 49,
     "of": 121,
     "share": 0.405,
     "via_resolved": 12
    },
    "module": {
     "matches": 25,
     "of": 65,
     "share": 0.385,
     "via_resolved": 16
    },
    "demo": {
     "matches": 43,
     "of": 104,
     "share": 0.413,
     "via_resolved": 9
    }
   }
  },
  {
   "id": "D6",
   "title": "DynamoDB provisioned capacity with no autoscaling",
   "confidence": "M",
   "unit": "provisioned tables",
   "all": {
    "matches": 46,
    "of": 49,
    "share": 0.939,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 17,
     "of": 17,
     "share": 1.0,
     "via_resolved": 0
    },
    "module": {
     "matches": 4,
     "of": 4,
     "share": 1.0,
     "via_resolved": 0
    },
    "demo": {
     "matches": 25,
     "of": 28,
     "share": 0.893,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "D8",
   "title": "ElastiCache Redis OSS 4 or 5 (extended support)",
   "confidence": "H",
   "unit": "ElastiCache with a known Redis version",
   "all": {
    "matches": 24,
    "of": 106,
    "share": 0.226,
    "via_resolved": 12
   },
   "by_class": {
    "deployment": {
     "matches": 6,
     "of": 43,
     "share": 0.14,
     "via_resolved": 1
    },
    "module": {
     "matches": 5,
     "of": 26,
     "share": 0.192,
     "via_resolved": 5
    },
    "demo": {
     "matches": 13,
     "of": 37,
     "share": 0.351,
     "via_resolved": 6
    }
   }
  },
  {
   "id": "O1",
   "title": "CloudWatch log group that never expires",
   "confidence": "H",
   "unit": "log groups",
   "all": {
    "matches": 242,
    "of": 2248,
    "share": 0.108,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 104,
     "of": 848,
     "share": 0.123,
     "via_resolved": 0
    },
    "module": {
     "matches": 74,
     "of": 510,
     "share": 0.145,
     "via_resolved": 0
    },
    "demo": {
     "matches": 64,
     "of": 890,
     "share": 0.072,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "O3",
   "title": "Lambda functions with no explicit log group (logs never expire)",
   "confidence": "M",
   "unit": "Lambda functions",
   "all": {
    "matches": 774,
    "of": 1352,
    "share": 0.572,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 246,
     "of": 472,
     "share": 0.521,
     "via_resolved": 0
    },
    "module": {
     "matches": 125,
     "of": 269,
     "share": 0.465,
     "via_resolved": 0
    },
    "demo": {
     "matches": 403,
     "of": 611,
     "share": 0.66,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "O4",
   "title": "CloudTrail data events on all S3 objects",
   "confidence": "M",
   "unit": "trails",
   "all": {
    "matches": 6,
    "of": 124,
    "share": 0.048,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 5,
     "of": 49,
     "share": 0.102,
     "via_resolved": 0
    },
    "module": {
     "matches": 1,
     "of": 40,
     "share": 0.025,
     "via_resolved": 0
    },
    "demo": {
     "matches": 0,
     "of": 35,
     "share": 0.0,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "O5",
   "title": "More than one multi-region trail (paid second copy)",
   "confidence": "H",
   "unit": "repos with a multi-region trail",
   "all": {
    "matches": 11,
    "of": 68,
    "share": 0.162,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 7,
     "of": 28,
     "share": 0.25,
     "via_resolved": 0
    },
    "module": {
     "matches": 2,
     "of": 27,
     "share": 0.074,
     "via_resolved": 0
    },
    "demo": {
     "matches": 2,
     "of": 13,
     "share": 0.154,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "K3",
   "title": "EKS control-plane logs with no retention set",
   "confidence": "M",
   "unit": "EKS clusters with control-plane logging",
   "all": {
    "matches": 256,
    "of": 315,
    "share": 0.813,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 33,
     "of": 60,
     "share": 0.55,
     "via_resolved": 0
    },
    "module": {
     "matches": 8,
     "of": 30,
     "share": 0.267,
     "via_resolved": 0
    },
    "demo": {
     "matches": 215,
     "of": 225,
     "share": 0.956,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "G1",
   "title": "AWS Budgets budget defined in code",
   "confidence": "L",
   "unit": "repos with AWS resources",
   "all": {
    "matches": 66,
    "of": 2189,
    "share": 0.03,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 38,
     "of": 740,
     "share": 0.051,
     "via_resolved": 0
    },
    "module": {
     "matches": 13,
     "of": 769,
     "share": 0.017,
     "via_resolved": 0
    },
    "demo": {
     "matches": 15,
     "of": 680,
     "share": 0.022,
     "via_resolved": 0
    }
   }
  },
  {
   "id": "G2",
   "title": "Cost Anomaly Detection monitor defined in code",
   "confidence": "L",
   "unit": "repos with AWS resources",
   "all": {
    "matches": 15,
    "of": 2189,
    "share": 0.007,
    "via_resolved": 0
   },
   "by_class": {
    "deployment": {
     "matches": 9,
     "of": 740,
     "share": 0.012,
     "via_resolved": 0
    },
    "module": {
     "matches": 4,
     "of": 769,
     "share": 0.005,
     "via_resolved": 0
    },
    "demo": {
     "matches": 2,
     "of": 680,
     "share": 0.003,
     "via_resolved": 0
    }
   }
  }
 ],
 "title": "Terraform AWS cost scan 2026: aggregate results",
 "license": "CC BY 4.0",
 "url": "https://beamreach.ai/docs/terraform-aws-cost-scan-2026.html",
 "frozen": "2026-11-30",
 "note": "Shares are lower bounds of how often each pattern is written in public Terraform code; see the page for method and limits. No repository is named."
}