serverless-aws-alias icon indicating copy to clipboard operation
serverless-aws-alias copied to clipboard

Share API Gateway does not work

Open anrocox opened this issue 6 years ago • 1 comments

Hi, I was trying to use an shared API with alias plugin, during the deployment there are no errors, the problem is that it does not create the stage variables SERVERLESS_STAGE and SERVERLESS_ALIAS. Thanks for any help.

anrocox avatar Mar 29 '18 03:03 anrocox

Hi @anrocox , there is a general design problem of using aliases (the alias plugin) with shared API gateways. I elaborated on the topic in #79 and pointed out, why it is not a trivial problem to solve (if it can be solved at all). Although there might be workarounds that somehow lead to a working system, I believe it to be not very stable in regards of stage and stack isolation. Any thoughts welcome in the referenced task 😄

HyperBrain avatar Mar 29 '18 08:03 HyperBrain