Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way that we can seperate the stage name and alias name. #194

Open
SandeepThakare opened this issue Jul 2, 2020 · 1 comment

Comments

@SandeepThakare
Copy link

SandeepThakare commented Jul 2, 2020

Problem Statement:

I want my API to point a specific version of lambda when deploying with serverless command. When I deploy with stage name v1 and alias name dev the serverless create a new stage with name dev.

Example: When I run the command sls deploy --stage v1 --alias dev
This will create a new stage dev when v1 is already exist

stage

I want like when I deploy with the stage v1 and alias with dev it should not create a new stage with name as an alias name and deploy API gateway stage v1 with lambda alias dev without creating a new stage.

Is there any way to do like this with serverless-aws-alias plugin in serverless.
Or is there any way that we can change the SERVERLESS_ALIAS environment variable value as it is read-only.

@AshKemp23
Copy link

Hi @SandeepThakare did you find any solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants