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

cf-stack and api-gateway resources be called ${stage}-${serviceName} when deploy a sls-service #1907

Closed
rogemita opened this issue Aug 19, 2016 · 1 comment

Comments

@rogemita
Copy link

when I deploy a sls-service then the CloudFormation stack prefixes the stage into the resource name, the same applies to the api-gateway which it creates, for example in serverless.yml says "service: hello" then when the cf-stack created it is called dev-hello and if you set up some endpoint also the api-gateway is called dev-hello, I think it is a redundancy because api-gateway has stage behaviours inside. Should it be called "hello" without the "${stage}-" prefix?

Serverless Framework Version: v1-beta2
Operating System: irrelevant
Expected Behavior: cf-stack and api-gateway resources be called like service name without stage prefix

Actual Behavior: cf-stack and api-gateway resources be called ${stage}-${serviceName}
@flomotlik
Copy link
Contributor

Thanks @rogemita for reporting. This is something we're going to address with #1834 and #1869 in the near future. As we already got issues around it I'm going to close this one but its referenced in the other issues.

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