skip to Main Content

In VSCode I have installed the AWS Toolkit 1.62.0. I’m on Windows 11, and I do CNTL-SHIFT-P and type "deploy" or "sam app", no matches are found:
enter image description here

I was able to run "AWS: Create Lambda SAM Application" with no issues.

Is "deploy sam app" not included in AWS Toolkit? I have closed and re-opened VSCode and same issue.

2

Answers


  1. AWS Deploy SAM is legacy functionality, I guess.
    Use AWS Sync instead

    VS code config
    enter image description here

    Login or Signup to reply.
  2. I too faced this issue.
    Problem: Option "AWS: Deploy SAM application" is missing in VS Code command palette despite of AWS Toolkit installation.

    Solution:
    In VS Code AWS toolkit explorer, I see directory structure (e.g., API Gateway, IOT, Lambda, S3 etc), right click and and pick ‘Sync SAM application’, ignore message ‘The SAM CLI will use the AWS Lambda….’, just click on Ok and follow instructions in VS Code command palette.

    Note- You should have a S3 bucket created yourself before performing above action as you will be prompted to select a s3 bucket in command instructions.

    Also wait for 1 minute to get the sync process completed.

    It worked for me.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search