Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
de17486
amended all lambda runtime deprecations thru Jun 30 2026
RoryKiefer Aug 25, 2025
efca9f4
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
RoryKiefer Aug 27, 2025
515171c
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
RoryKiefer Sep 3, 2025
1f28989
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
RoryKiefer Sep 12, 2025
95b3769
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
maxamel Sep 21, 2025
2d0714e
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
RoryKiefer Oct 22, 2025
76fc6e3
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
RoryKiefer Oct 23, 2025
61d4852
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
maxamel Oct 31, 2025
0899d99
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
RoryKiefer Nov 8, 2025
ae2e75b
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
maxamel Nov 9, 2025
1a80e2a
appeasing linter
RoryKiefer Nov 12, 2025
49013e2
Merge branch 'deprecated-lambdas-thru-06-30-26' of github.com:RoryKie…
RoryKiefer Nov 12, 2025
94307b2
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
RoryKiefer Nov 12, 2025
a0f615f
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
maxamel Nov 13, 2025
8892e19
fixing unit tests
RoryKiefer Nov 17, 2025
f823ac0
fixing cfn-lint
RoryKiefer Nov 19, 2025
bed8ccc
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
RoryKiefer Nov 19, 2025
54b88ea
reverting python to nodejs for test check
RoryKiefer Nov 21, 2025
a4ad40b
Merge branch 'main' into deprecated-lambdas-thru-06-30-26
RoryKiefer Dec 3, 2025
bcdb18a
Delete 20251117-111144_container_images.csv
RoryKiefer Dec 3, 2025
267eb0d
Delete 20251117-111144_iac.csv
RoryKiefer Dec 3, 2025
d2c7eb1
Delete console
RoryKiefer Dec 3, 2025
8ce4d70
Delete 20251117-111144_oss_packages.csv
RoryKiefer Dec 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ 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
# , "provided.al2" # Uncomment on Jun 30, 2026
# , "python3.9" # Uncomment on Nov 3, 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.10" # Uncomment on Jun 30, 2026
# , "python3.11" # Uncomment on Jun 30, 2026


check = DeprecatedLambdaRuntime()
12 changes: 7 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,13 @@ 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
# , "provided.al2" # Uncomment on Jun 30, 2026
# , "python3.9" # Uncomment on Nov 3, 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.10" # Uncomment on Jun 30, 2026
# , "python3.11" # Uncomment on Jun 30, 2026


check = DeprecatedLambdaRuntime()
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Resources:
Properties:
Handler: 'index.handler'
Role: 'arn:aws:iam::123456789012:role/execution_role'
FunctionName: 'MyFunction'
FunctionName: 'MyFunctionPass'
Code:
S3Bucket: 'myBucket'
S3Key: 'code/myLambda.zip'
Runtime: 'nodejs18.x'
Runtime: 'python3.13'
Fail:
Type: 'AWS::Lambda::Function'
Metadata:
Expand All @@ -20,7 +20,7 @@ Resources:
Properties:
Handler: 'index.handler'
Role: 'arn:aws:iam::123456789012:role/execution_role'
FunctionName: 'MyFunction'
FunctionName: 'MyFunctionFailure'
Code:
S3Bucket: 'myBucket'
S3Key: 'code/myLambda.zip'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
Handler: 'index.handler'
Runtime: 'python3.11'
Runtime: 'python3.14'
CodeUri: './code/' # This should be the directory path where your Lambda code is.
Events:
MyApi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "aws_lambda_function" "pass" {
function_name = "lambda_function_name"
role = aws_iam_role.iam_for_lambda.arn
handler = "index.test"
runtime = "nodejs18.x"
runtime = "nodejs22.x"

ephemeral_storage {
size = 10240 # Min 512 MB and the Max 10240 MB
Expand Down