Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws lambda wizard new-function presents outdated list of runtimes #9372

Open
1 task
allanlewis opened this issue Mar 17, 2025 · 0 comments
Open
1 task

aws lambda wizard new-function presents outdated list of runtimes #9372

allanlewis opened this issue Mar 17, 2025 · 0 comments
Assignees
Labels
bug This issue is a bug. investigating This issue is being investigated and/or work is in progress to resolve the issue. lambda p3 This is a minor priority issue

Comments

@allanlewis
Copy link

Describe the bug

The command aws lambda wizard new-function initially asks for a function name and then a runtime. The latter is presented as a combo box with a several options, many of which are obsolete.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

The list of runtimes should be the list of currently-supported runtimes.

Current Behavior

The list of runtimes appears to be hard-coded here:

runtime:
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

Reproduction Steps

Run aws lambda wizard new-function and open the list of runtimes.

Possible Solution

Update awscli/customizations/wizard/wizards/lambda/new-function.yml dynamically such that it's consistent with the current list of runtimes.

Additional Information/Context

No response

CLI version used

aws-cli/2.24.24 Python/3.12.9 Darwin/24.3.0 source/x86_64

Environment details (OS name and version, etc.)

MacOS 15.3.1 (24D70)

@allanlewis allanlewis added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Mar 17, 2025
@RyanFitzSimmonsAK RyanFitzSimmonsAK self-assigned this Mar 17, 2025
@RyanFitzSimmonsAK RyanFitzSimmonsAK added investigating This issue is being investigated and/or work is in progress to resolve the issue. lambda p3 This is a minor priority issue needs-review This issue or pull request needs review from a core team member. and removed needs-triage This issue or PR still needs to be triaged. investigating This issue is being investigated and/or work is in progress to resolve the issue. needs-review This issue or pull request needs review from a core team member. labels Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. investigating This issue is being investigated and/or work is in progress to resolve the issue. lambda p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

2 participants