From 189399945c8082eb882a30456d44148a6b3b2ff4 Mon Sep 17 00:00:00 2001 From: "Ryan F." <77812147+RyanFitzSimmonsAK@users.noreply.github.com> Date: Mon, 12 May 2025 14:40:43 -0700 Subject: [PATCH] Update new-function.yml with current runtimes Updated the runtimes in the new-function wizard to match the supported runtimes from https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html --- .../wizard/wizards/lambda/new-function.yml | 58 ++++++++++++------- 1 file changed, 36 insertions(+), 22 deletions(-) diff --git a/awscli/customizations/wizard/wizards/lambda/new-function.yml b/awscli/customizations/wizard/wizards/lambda/new-function.yml index 7f755e3d54b3..5c1518a84bbe 100644 --- a/awscli/customizations/wizard/wizards/lambda/new-function.yml +++ b/awscli/customizations/wizard/wizards/lambda/new-function.yml @@ -13,28 +13,42 @@ plan: type: prompt description: Select the Lambda runtime choices: - - actual_value: python2.7 - display: Python 2.7 - - actual_value: python3.6 - display: Python 3.6 - - actual_value: python3.7 - display: Python 3.7 - - actual_value: nodejs4.3 - display: Node.js 4.3 - - actual_value: nodejs6.10 - display: Node.js 6.10 - - actual_value: nodejs8.10 - display: Node.js 8.10 - - actual_value: java8 - display: Java 8 - - actual_value: dotnetcore1.0 - display: .NET Core 1.0 (C#) - - actual_value: dotnetcore2.0 - display: .NET Core 2.0 (C#) - - actual_value: dotnetcore2.1 - display: .NET Core 2.1 (C#) - - actual_value: go1. - display: Go 1.x + - actual_value: nodejs22.x + display: Node.js 22 + - actual_value: nodejs20.x + display: Node.js 20 + - actual_value: nodejs18.x + display: Node.js 18 + - actual_value: python3.13 + display: Python 3.13 + - actual_value: python3.12 + display: Python 3.12 + - actual_value: python3.11 + display: Python 3.11 + - actual_value: python3.10 + display: Python 3.10 + - actual_value: python3.9 + display: Python 3.9 + - actual_value: java21 + display: Java 21 + - actual_value: java17 + display: Java 17 + - actual_value: java11 + display: Java 11 + - actual_value: java8.al2 + display: Java 8 + - actual_value: dotnet8 + display: .NET 8 + - actual_value: ruby3.4 + display: Ruby 3.4 + - actual_value: ruby3.3 + display: Ruby 3.3 + - actual_value: ruby3.2 + display: Ruby 3.2 + - actual_value: provided.al2023 + display: OS-only Runtime (Amazon Linux 2023) + - actual_value: provided.al2 + display: OS-only Runtime (Amazon Linux 2) role: shortname: Permissions description: Provide Role to be used by Lmanbda function