Lambda Old Runtimes

This plugin ensures that Lambda functions don't use outdated runtime environments.

Description:

This plugin ensures that Lambda functions don't use outdated runtime environments. Lambda runtimes should always be up to date with the latest version of the underlying source. Runtimes that have been deprecated should not be used.AWS Lambda supports various runtime environments such as Node js, Edge node js, Java, Python, and .NET Core.

About the Service:

AWS Lambda is a serverless compute service that allows you to run code without having to provision or manage servers, create workload-aware cluster scaling logic, keep event integrations up to date, or manage runtimes. You can use Lambda to run code for almost any form of application or backend service, and you don't have to worry about managing it. Simply upload your code as a ZIP file or container image, and Lambda will automatically and precisely assign compute execution power and run your code in response to incoming requests or events, at any scale.

Impact:

Running old runtime execution environments may cause hindrance in performance and optimization in running your code as you won’t have the latest features, security patches, no bug fixes, and your work may lag behind usual.

Steps to reproduce :

  1. Sign in to your AWS console.
  2. Navigate to the Lambda dashboard at:  https://console.aws.amazon.com/lambda/
  3. Select the Function you want to examine and visit its configuration page.
  4. Select the Configuration tab to view its setting panel.
  5. Check the Runtime attribute value and its associated dropdown list to verify if the runtime environment is using the latest version of the software that AWS supports.

Steps for remediation :

Upgrade the Lambda function runtime to use a more current version.

  1. Sign in to your AWS console.
  2. Navigate to the Lambda dashboard at:  https://console.aws.amazon.com/lambda/
  3. Select the Function you want to examine and visit its configuration page.
  4. Select the Configuration tab to view its setting panel.
  5. From the Runtime dropdown list that appears, select the latest version of the execution environment available for the selected Lambda function.
  6. Apply the changes by clicking on Save and Test.






References: