MEDIUM
Source
CloudSploit
ID
lambda-old-runtimes

Lambda Old Runtimes

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.

  1. Log into the AWS Management Console.

  2. Select the “Services” option and search for Lambda. Step

  3. Scroll down the left navigation panel and choose “Functions”.Step

  4. Select the Lambda function that needs to be verified from “Functions name”.Step

  5. On the “Lambda Functions” page scroll down and choose “Code” tab.Step

  6. On the “Code” tab scroll down to check for “Runtime settings”.Step

  7. To update the “Runtime settings” click on “Edit”. Step

  8. On the “Edit runtime settings” open the “Runtime” dropdown.Step

  9. From the “Runtime” dropdown verify that the function is using the latest version of runtime environment.Step

  10. If the “Runtime” is not at the latest version then select the latest version from the “Runtime” environment for the selected “Lambda function” and click on the “Save” button at the bottom.Step

  11. Repeat step number 4 - 10 to modify “Runtime” environment for other “Lambda functions” in the selected region.