serverless-heaven / serverless-aws-alias

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

Conditionally running master alias if it has not been run #78

Closed justinffs closed 7 years ago

justinffs commented 7 years ago

Awesome plugin and thank you for all the work. I just have a question if there is a way to check if the initial master alias exists already and if it doesn't then run it. The reason I am asking is we are planning on setting up a 'stage' per developer then each feature branch the make as an alias.

Running it once manually for each developer isn't a big deal but it would be nice if it was automated in some way.

justinffs commented 7 years ago

aws apigateway get-rest-apis will return a list of the APIG deployed so we will use that. Thanks.

HyperBrain commented 7 years ago

@justinffs Thanks for the feedback. If there is anything else that could be improved in the plugin, just let me know.