Skip to content

Template for working with serverless, aws, sns with seperated environment config

Notifications You must be signed in to change notification settings

minhphong306/serverless-aws-lambda-sns-template

Repository files navigation

AWS Lambda serverless sns template


A template for develop lambda project integrate with SNS (Simple Notification Service) with divided environment variable

🧐 About

This repo contains template for lambda serverless with Simple Notification Service

Overview

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

💻 Prerequisites

📦 Installing

Run following command in your terminal (you are in lambda-serverless-template folder):

  • Install dependency
yarn
  • Test application at local
sls invoke local -f sendEmail --path src/functions/send-email/mock.json --stage local

🚀 Deployment

Deploy all functions

sls deploy --stage ${stageName}
  • Example: sls deploy --stage dev

Deploy single function

sls deploy --stage production -f syncnft

🐛 Common error

Error How to fix

About

Template for working with serverless, aws, sns with seperated environment config

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published