All Projects → FidelLimited → Serverless Plugin Select

FidelLimited / Serverless Plugin Select

Licence: mit
Select which functions are to be deployed based on region and stage.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Serverless Plugin Select

Awesome Layers
λ A curated list of awesome AWS Lambda Layers. Sponsored by https://cloudash.dev
Stars: ✭ 1,655 (+6520%)
Mutual labels:  serverless, aws-lambda, serverless-functions
Epsagon Go
Automated tracing library for Go 1.x ⚡️
Stars: ✭ 24 (-4%)
Mutual labels:  serverless, aws-lambda, serverless-functions
Lambda Cost Calculator
Forecast Lambda functions costs 💰
Stars: ✭ 91 (+264%)
Mutual labels:  serverless, aws-lambda, serverless-functions
Aws Node Elasticache Vpc
Serverless function using elasticache (redis) within VPC
Stars: ✭ 22 (-12%)
Mutual labels:  serverless, aws-lambda, serverless-functions
Serverless Plugin Optimize
Bundle with Browserify, transpile and minify with Babel automatically to your NodeJS runtime compatible JavaScript
Stars: ✭ 122 (+388%)
Mutual labels:  serverless, aws-lambda, serverless-functions
Retinal
🏙 Retinal is a Serverless AWS Lambda service for resizing images on-demand or event-triggered
Stars: ✭ 208 (+732%)
Mutual labels:  serverless, aws-lambda, serverless-functions
List Lambdas
Enumerate Lambda functions across all regions with useful metadata 💡💵⚙
Stars: ✭ 156 (+524%)
Mutual labels:  serverless, aws-lambda, serverless-functions
Serverless Chrome
🌐 Run headless Chrome/Chromium on AWS Lambda
Stars: ✭ 2,625 (+10400%)
Mutual labels:  serverless, aws-lambda, serverless-functions
Sparta
go microservices, powered by AWS Lambda
Stars: ✭ 687 (+2648%)
Mutual labels:  serverless, aws-lambda
Archive aws Lambda Go
A fast and clean way to execute Go on AWS Lambda.
Stars: ✭ 710 (+2740%)
Mutual labels:  serverless, aws-lambda
Lambdalogs
A CLI tool to trace AWS Lambda calls over multiple CloudWatch log groups.
Stars: ✭ 18 (-28%)
Mutual labels:  serverless, aws-lambda
Sls Dev Tools
Dev Tools for the Serverless World - Issues, PRs and ⭐️welcome!
Stars: ✭ 662 (+2548%)
Mutual labels:  serverless, aws-lambda
Aws Serverless Auth Reference App
Serverless reference app and backend API, showcasing authentication and authorization patterns using Amazon Cognito, Amazon API Gateway, AWS Lambda, and AWS IAM.
Stars: ✭ 724 (+2796%)
Mutual labels:  serverless, aws-lambda
Aws Lambda Workshop
Some incremental examples suitable to host an AWS Lambda Functions workshop
Stars: ✭ 18 (-28%)
Mutual labels:  serverless, aws-lambda
Corral
🐎 A serverless MapReduce framework written for AWS Lambda
Stars: ✭ 648 (+2492%)
Mutual labels:  serverless, aws-lambda
Fission
Fast and Simple Serverless Functions for Kubernetes
Stars: ✭ 6,646 (+26484%)
Mutual labels:  serverless, serverless-functions
Aws Lambda Zombie Workshop
Code and walkthrough labs to set up a serverless chat application for the Zombie Apocalypse Workshop
Stars: ✭ 622 (+2388%)
Mutual labels:  serverless, aws-lambda
Lambda Packages
Various popular python libraries, pre-compiled to be compatible with AWS Lambda
Stars: ✭ 713 (+2752%)
Mutual labels:  serverless, aws-lambda
Lambda Api
Lightweight web framework for your serverless applications
Stars: ✭ 929 (+3616%)
Mutual labels:  serverless, aws-lambda
Archive aws Lambda Go Shim
Author your AWS Lambda functions in Go, effectively.
Stars: ✭ 799 (+3096%)
Mutual labels:  serverless, aws-lambda

Serverless Select Plugin

serverless npm version npm downloads license

Select which functions are to be deployed based on region and stage.

Note: Requires Serverless v1.12.x or higher.

Setup

Install via npm in the root of your Serverless service:

npm install serverless-plugin-select --save-dev
  • Add the plugin to the plugins array in your Serverless serverless.yml, you should place it at the top of the list:
plugins:
  - serverless-plugin-select
  - ...
  • Add regions or stages in your functions to select for deployment

  • Run deploy command sls deploy --stage [STAGE NAME] --region [REGION NAME] or sls deploy function --stage [STAGE NAME] --region [REGION NAME] --function [FUNCTION NAME]

  • Functions will be deployed based on your selection

  • All done!

Function

  • How it works? When deployment region or stage don't match function regions or stages, that function will be deleted from deployment.

  • regions - Function accepted deployment regions.

functions:
  hello:
    regions:
      - eu-west-1
      - ...
  • stages - Function accepted deployment stages.
functions:
  hello:
    stages:
      - dev
      - ...

Contribute

Help us making this plugin better and future proof.

  • Clone the code
  • Install the dependencies with npm install
  • Create a feature branch git checkout -b new_feature
  • Lint with standard npm run lint

License

This software is released under the MIT license. See the license file for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].