Skip to content

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

Description

@SandeepThakare

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions