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.
Steps to reproduce the issue
- download a lambda fn
- make some changes
- click deploy on the auto-prompted dialog
- visit aws lambda functions -> versions
- you can see a new version is created
Expected behavior
- it should not create new version until I manually specified
- 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