Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Serverless Lambda ScaffoldNew to Visual Studio Code? Get it now.
Serverless Lambda Scaffold

Serverless Lambda Scaffold

Debarshi Mondal

| (0) | Free
Scaffold a simple Node.js AWS Lambda project with serverless.yml
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Serverless Lambda Scaffold

A personal VS Code extension that scaffolds a minimal Node.js AWS Lambda project with Serverless Framework (serverless.yml).

Features

  • One command to generate a ready-to-deploy Lambda project
  • Prompts for service name and AWS region
  • Creates serverless.yml, handler.js, package.json, and .gitignore

Usage

  1. Open a folder in VS Code (or Cursor).
  2. Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P).
  3. Run Serverless: Create Node.js Lambda (serverless.yml).
  4. Enter a service name and AWS region.
  5. A new project folder is created in your workspace.

Generated structure

my-lambda-service/
├── serverless.yml
├── handler.js
├── package.json
└── .gitignore

Deploy (after generation)

cd my-lambda-service
npm install
npx serverless deploy

Configure AWS credentials before deploying (aws configure or environment variables).

Development

Prerequisites

  • Node.js 18+
  • VS Code or Cursor

Run locally

npm install

Open this folder in VS Code, press F5, and use the Extension Development Host window to test the command.

Package

npm run package

Install the generated .vsix from the Extensions view → ... → Install from VSIX.

Publish to the Marketplace

  1. Create a publisher on the Visual Studio Marketplace.

  2. Set your publisher ID in package.json:

    "publisher": "your-publisher-id"
    
  3. Create an Azure DevOps PAT with Marketplace → Manage scope.

  4. Login and publish:

    npx vsce login your-publisher-id
    npm run publish
    

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft