Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ def get_forbidden_values(self) -> List[Any]:
return ["dotnetcore3.1", "nodejs12.x", "python3.6", "python2.7", "dotnet5.0", "dotnetcore2.1", "ruby2.5",
"nodejs10.x", "nodejs8.10", "nodejs4.3", "nodejs6.10", "dotnetcore1.0", "dotnetcore2.0",
"nodejs4.3-edge", "nodejs", "java8", "python3.7", "go1.x", "provided", "ruby2.7", "nodejs14.x",
"nodejs16.x", "python3.9", "dotnet7", "dotnet6"
# , "nodejs18.x" # Uncomment on Sept 1, 2025
"nodejs16.x", "python3.8", "dotnet7", "dotnet6", "nodejs18.x"]
# , "python3.9" # Uncomment on Dec 15, 2025
# , "ruby3.2" # Uncomment on Mar 31, 2026
# , "nodejs20.x" # Uncomment on Apr 30, 2026
# , "provided.al2" # Uncomment on Jun 30, 2026
# , "python3.9" # Uncomment on Nov 3, 2025
]


# , "python3.10" # Uncomment on Jun 30, 2026
# , "python3.11" # Uncomment on Jun 30, 2026
check = DeprecatedLambdaRuntime()
11 changes: 6 additions & 5 deletions checkov/terraform/checks/resource/aws/DeprecatedLambdaRuntime.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ def get_forbidden_values(self) -> List[Any]:
return ["dotnetcore3.1", "nodejs12.x", "python3.6", "python2.7", "dotnet5.0", "dotnetcore2.1", "ruby2.5",
"nodejs10.x", "nodejs8.10", "nodejs4.3", "nodejs6.10", "dotnetcore1.0", "dotnetcore2.0",
"nodejs4.3-edge", "nodejs", "java8", "python3.7", "go1.x", "provided", "ruby2.7", "nodejs14.x",
"nodejs16.x", "python3.9", "dotnet7", "dotnet6"
# , "nodejs18.x" # Uncomment on Sept 1, 2025
"nodejs16.x", "python3.8", "dotnet7", "dotnet6", "nodejs18.x"]
# , "python3.9" # Uncomment on Dec 15, 2025
# , "ruby3.2" # Uncomment on Mar 31, 2026
# , "nodejs20.x" # Uncomment on Apr 30, 2026
# , "provided.al2" # Uncomment on Jun 30, 2026
# , "python3.9" # Uncomment on Nov 3, 2025
]

# , "python3.10" # Uncomment on Jun 30, 2026
# , "python3.11" # Uncomment on Jun 30, 2026

check = DeprecatedLambdaRuntime()
Loading