Skip to content

Commit fab93d3

Browse files
authored
Update Lambda deprecated runtimes (#886)
1 parent 117a0b9 commit fab93d3

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

rules/aws_lambda_function_deprecated_runtime.go

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,23 @@ func NewAwsLambdaFunctionDeprecatedRuntimeRule() *AwsLambdaFunctionDeprecatedRun
2727
resourceType: "aws_lambda_function",
2828
attributeName: "runtime",
2929
deprecatedRuntimes: map[string]time.Time{
30-
"nodejs18.x": time.Date(2025, time.July, 31, 0, 0, 0, 0, time.UTC),
30+
"nodejs22.x": time.Date(2027, time.April, 30, 0, 0, 0, 0, time.UTC),
31+
"nodejs20.x": time.Date(2026, time.April, 30, 0, 0, 0, 0, time.UTC),
32+
"nodejs18.x": time.Date(2025, time.September, 1, 0, 0, 0, 0, time.UTC),
33+
"python3.13": time.Date(2029, time.June, 30, 0, 0, 0, 0, time.UTC),
34+
"python3.12": time.Date(2028, time.October, 31, 0, 0, 0, 0, time.UTC),
35+
"python3.11": time.Date(2026, time.June, 30, 0, 0, 0, 0, time.UTC),
36+
"python3.10": time.Date(2026, time.June, 30, 0, 0, 0, 0, time.UTC),
37+
"python3.9": time.Date(2025, time.October, 31, 0, 0, 0, 0, time.UTC),
38+
"java21": time.Date(2029, time.June, 30, 0, 0, 0, 0, time.UTC),
39+
"java17": time.Date(2026, time.June, 30, 0, 0, 0, 0, time.UTC),
40+
"java11": time.Date(2026, time.June, 30, 0, 0, 0, 0, time.UTC),
41+
"java8.al2": time.Date(2026, time.June, 30, 0, 0, 0, 0, time.UTC),
42+
"dotnet8": time.Date(2026, time.November, 10, 0, 0, 0, 0, time.UTC),
43+
"ruby3.3": time.Date(2027, time.March, 31, 0, 0, 0, 0, time.UTC),
44+
"ruby3.2": time.Date(2026, time.March, 31, 0, 0, 0, 0, time.UTC),
45+
"provided.al2023": time.Date(2029, time.June, 30, 0, 0, 0, 0, time.UTC),
46+
"provided.al2": time.Date(2026, time.June, 30, 0, 0, 0, 0, time.UTC),
3147
// Already reached end of support
3248
"nodejs16.x": time.Date(2024, time.June, 12, 0, 0, 0, 0, time.UTC),
3349
"python3.8": time.Date(2024, time.October, 14, 0, 0, 0, 0, time.UTC),

0 commit comments

Comments
 (0)