aws / aws/aws-toolkit-vscode

Lambda Deploy automatically creates a new version and no option to disable that

Open
#8,372 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem

When deploying modified Lambda code, it automatically creates a new version in the console and there is no option to disable that feature. I want the deploy to change $latest only. not create new version each time.

Image

## Steps to reproduce the issue

1. download a lambda fn
2. make some changes
3. click deploy on the auto-prompted dialog
4. visit aws lambda functions -> versions
5. you can see a new version is created

## Expected behavior

1. it should not create new version until I manually specified
2. should only make changes to $latest only.

## System details (run `AWS: About` and/or `Amazon Q: About`)

OS: Darwin arm64 24.6.0
Visual Studio Code extension host: 1.106.1
AWS Toolkit: 3.88.0
node: 22.20.0
electron: 37.7.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the deployment flow in the AWS Toolkit for VS Code using the listed macOS, VS Code, and Toolkit versions: modify a downloaded Lambda function, deploy it, and inspect AWS Lambda versions. Trace the Lambda deploy entry point and confirm that the completed behavior updates $latest without creating a new version unless the user explicitly requests one.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript, vscode
Domain
cloud, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.