diff --git a/checks/check_extra762 b/checks/check_extra762 index dfa414383d..efe60a2fe5 100644 --- a/checks/check_extra762 +++ b/checks/check_extra762 @@ -27,7 +27,7 @@ extra762(){ # regex to match OBSOLETE runtimes in string functionName%runtime # https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html - OBSOLETE='%(nodejs4.3|nodejs4.3-edge|nodejs6.10|nodejs8.10|dotnetcore1.0|dotnetcore2.0)' + OBSOLETE='%(nodejs4.3|nodejs4.3-edge|nodejs6.10|nodejs8.10|dotnetcore1.0|dotnetcore2.0|dotnetcore2.1|python3.6|python2.7|ruby2.5|nodejs10.x|nodejs)' for regx in $REGIONS; do LIST_OF_FUNCTIONS=$($AWSCLI lambda list-functions $PROFILE_OPT --region $regx --output text --query 'Functions[*].{R:Runtime,N:FunctionName}' 2>&1| tr "\t" "%" )