Skip to content

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

@surjithctly

Description

@surjithctly

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWe can reproduce the issue and confirmed it is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions