serverless-aws-alias | Alias support for Serverless | Serverless library
kandi X-RAY | serverless-aws-alias Summary
kandi X-RAY | serverless-aws-alias Summary
This plugin enables use of AWS aliases on Lambda functions. The term alias must not be mistaken as the stage. Aliases can be deployed to stages, e.g. if you work on different VCS branches in the same service, you can deploy your branch to a new alias. The alias deployment can contain a different set of functions (newly added ones or removed ones) and does not impact any other deployed alias. Aliases also can be used to provide a 'real' version promotion. As soon as the service is deployed with the plugin activated, it will create a default alias that is named equally to the stage. This is the master alias for the stage. Each alias creates a CloudFormation stack that is dependent on the stage stack. This approach has multiple advantages including easy removal of any alias deployment, protecting the aliased function versions, and many more.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of serverless-aws-alias
serverless-aws-alias Key Features
serverless-aws-alias Examples and Code Snippets
Community Discussions
Trending Discussions on serverless-aws-alias
QUESTION
In my project, I'm using serverless-aws-alias
alongside serverless
to deploy my code and everything to AWS. I have lambda functions which are aliased for dev
and prod
versions. Each time I make a change, I would first use the serverless command prompt tool to deploy a dev
version and make sure that everything is fine before I use the same tool to deploy the prod
version.
This works all fine (more or less) but when I tried to include a step function definition in my serverless.yml
file, I faced a limitation. While lambda functions can have versions and aliases in AWS, step functions do not have such functionality. So far, I've tested this (which is a fail):
ANSWER
Answered 2018-Dec-06 at 00:47Instead of using aliases like this, I would suggest taking advantage of the "stages" in Serverless.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install serverless-aws-alias
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page