serverless-heaven / serverless-aws-alias

Alias support for Serverless 1.x
MIT License
189 stars 68 forks source link

Update endpoint links to point to alias when used with stage #123

Open dariuscox opened 6 years ago

dariuscox commented 6 years ago

It would be extremely helpful for the output from the deploy command to show the link for the alias endpoint instead of the stage. For Example when using the command sls deploy -s dev --alias pipeline : The output is: dev

  GET - https://....execute-api.us-west-2.amazonaws.com/dev/hello

When the actual updated endpoint is: pipeline

GET - https://....execute-api.us-west-2.amazonaws.com/pipeline/hello
HyperBrain commented 6 years ago

Hi @dariuscox , nice catch! I fully agree that showing the real endpoint for the alias would make things much easier 😄