Skip to content

Commit b6741c9

Browse files
authored
Update Lambda runtime deprecations (#803)
1 parent 5924237 commit b6741c9

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

rules/aws_lambda_function_deprecated_runtime.go

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ func NewAwsLambdaFunctionDeprecatedRuntimeRule() *AwsLambdaFunctionDeprecatedRun
2727
resourceType: "aws_lambda_function",
2828
attributeName: "runtime",
2929
deprecatedRuntimes: map[string]time.Time{
30-
"nodejs16.x": time.Date(2024, time.June, 12, 0, 0, 0, 0, time.UTC),
31-
"python3.8": time.Date(2024, time.October, 14, 0, 0, 0, 0, time.UTC),
32-
"java8": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
33-
"dotnet7": time.Date(2024, time.May, 14, 0, 0, 0, 0, time.UTC),
34-
"dotnet6": time.Date(2024, time.November, 12, 0, 0, 0, 0, time.UTC),
35-
"go1.x": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
36-
"provided": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
30+
"nodejs18.x": time.Date(2025, time.July, 31, 0, 0, 0, 0, time.UTC),
3731
// Already reached end of support
32+
"nodejs16.x": time.Date(2024, time.June, 12, 0, 0, 0, 0, time.UTC),
33+
"python3.8": time.Date(2024, time.October, 14, 0, 0, 0, 0, time.UTC),
34+
"java8": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
35+
"dotnet7": time.Date(2024, time.May, 14, 0, 0, 0, 0, time.UTC),
36+
"dotnet6": time.Date(2024, time.November, 12, 0, 0, 0, 0, time.UTC),
37+
"go1.x": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
38+
"provided": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
3839
"nodejs14.x": time.Date(2023, time.December, 4, 0, 0, 0, 0, time.UTC),
3940
"python3.7": time.Date(2023, time.December, 4, 0, 0, 0, 0, time.UTC),
4041
"ruby2.7": time.Date(2023, time.November, 27, 0, 0, 0, 0, time.UTC),

0 commit comments

Comments
 (0)