Ensures Lambda functions are not using out-of-date runtime environments.
Lambda runtimes should be kept current with recent versions of the underlying codebase. Deprecated runtimes should not be used.
Follow the appropriate remediation steps below to resolve the issue.
Log into the AWS Management Console.
Select the “Services” option and search for Lambda.
Scroll down the left navigation panel and choose “Functions”.
Select the Lambda function that needs to be verify from “Functions name”.
On the “Lambda Functions” page scroll down and choose “Configuration”.
Scroll down the “Configuration” tab and check the “Runtime” value and verify the “Runtime” environment using the latest version of the software or not.
Repeat step number 2 - 6 to verify other “Lambda functions” in the selected region.
Navigate to “AWS Lambda” and choose “Lambda function” that needs to modify to use the latest version of the software supported by AWS.
Choose the “Configuration” tab and scroll down and open the “Runtime” environment dropdown menu.
Select the latest version from the “Runtime” environment for the selected “Lambda fucntion” and click on the “Save” button at the top of the dashboard.
Repeat steps number 8 - 10 to modify “Runtime” environment for other “Lambda functions” in the selected region.