Skip to content

Commit

Permalink
Update Lambda runtime deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
wata727 committed Dec 30, 2024
1 parent 5924237 commit 7d7cdcc
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions rules/aws_lambda_function_deprecated_runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ func NewAwsLambdaFunctionDeprecatedRuntimeRule() *AwsLambdaFunctionDeprecatedRun
resourceType: "aws_lambda_function",
attributeName: "runtime",
deprecatedRuntimes: map[string]time.Time{
"nodejs16.x": time.Date(2024, time.June, 12, 0, 0, 0, 0, time.UTC),
"python3.8": time.Date(2024, time.October, 14, 0, 0, 0, 0, time.UTC),
"java8": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
"dotnet7": time.Date(2024, time.May, 14, 0, 0, 0, 0, time.UTC),
"dotnet6": time.Date(2024, time.November, 12, 0, 0, 0, 0, time.UTC),
"go1.x": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
"provided": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
"nodejs18.x": time.Date(2025, time.July, 31, 0, 0, 0, 0, time.UTC),
// Already reached end of support
"nodejs16.x": time.Date(2024, time.June, 12, 0, 0, 0, 0, time.UTC),
"python3.8": time.Date(2024, time.October, 14, 0, 0, 0, 0, time.UTC),
"java8": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
"dotnet7": time.Date(2024, time.May, 14, 0, 0, 0, 0, time.UTC),
"dotnet6": time.Date(2024, time.November, 12, 0, 0, 0, 0, time.UTC),
"go1.x": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
"provided": time.Date(2024, time.January, 8, 0, 0, 0, 0, time.UTC),
"nodejs14.x": time.Date(2023, time.December, 4, 0, 0, 0, 0, time.UTC),
"python3.7": time.Date(2023, time.December, 4, 0, 0, 0, 0, time.UTC),
"ruby2.7": time.Date(2023, time.November, 27, 0, 0, 0, 0, time.UTC),
Expand Down

0 comments on commit 7d7cdcc

Please sign in to comment.