You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
Hi @allanlewis, thanks for reaching out. I've cut a PR (#9489) to update the runtimes in the wizard. I'll leave this open for tracking until it is merged. Thanks for bringing this to our attention!
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
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:
aws-cli/awscli/customizations/wizard/wizards/lambda/new-function.yml
Lines 12 to 37 in fed31fc
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)
The text was updated successfully, but these errors were encountered: