NealWalters
NealWalters

Reputation: 18227

"AWS: Deploy SAM application" not appearing in available commands

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.

Upvotes: 1

Views: 650

Answers (2)

Mridul Singh Rathore
Mridul Singh Rathore

Reputation: 21

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.

Upvotes: 2

Peter Iglaev
Peter Iglaev

Reputation: 21

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

VS code config enter image description here

Upvotes: 2

Related Questions