Skip to content

Commit

Permalink
Update EoL Runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
hupe1980 committed Oct 9, 2023
1 parent c1f63a2 commit e6c8226
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/recon/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,11 @@ func (rec *FunctionsRecon) enumerateFunctionsPerRegion(region string) {
func isRuntimeEOL(r lambdaTypes.Runtime) bool {
// nolint exhaustive not relevant
switch r {
case lambdaTypes.RuntimePython27:
case lambdaTypes.RuntimePython27, lambdaTypes.RuntimePython36:
return true
case lambdaTypes.RuntimePython36, lambdaTypes.RuntimeNodejs10x, lambdaTypes.RuntimeNodejs810, lambdaTypes.RuntimeNodejs610, lambdaTypes.RuntimeNodejs43:
case lambdaTypes.RuntimeNodejs12x, lambdaTypes.RuntimeNodejs10x, lambdaTypes.RuntimeNodejs810, lambdaTypes.RuntimeNodejs610, lambdaTypes.RuntimeNodejs43:
return true
case lambdaTypes.RuntimeRuby25:
return true
}

Expand Down

0 comments on commit e6c8226

Please sign in to comment.