-
Notifications
You must be signed in to change notification settings - Fork 5.7k
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Incorrect error: Invalid stage name v4-stg #5693
Labels
Comments
7 tasks
I didn't use hyphen, even specifying a default stage like this fails as well |
same issue Invalid stage name ${env:STAGE}: it should It seems like serverless dont interpolate stage at all |
closed by #5686 |
@dschep Shouldn't you close this issue? |
pmuens
changed the title
Incorrect error: Invalid stage name v4-stg: it should contains only [a-zA-Z0-9] for AWS provider if http event are present since API Gateway stage name cannot contains hyphens.Invalid stage name v4-stg: it should contains only [a-zA-Z0-9] for AWS provider if http event are present since API Gateway stage name cannot contains hyphens.
Incorrect error: Invalid stage name v4-stg
Jan 15, 2019
Closing since this shoul've been fixed via #5686. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Serverless Framework forbids hyphen but API Gateway can contain hyphen
Description
During
serverless deploy
:Deploy successful because hyphen is supported. Previously I was using ClaudiaJS with
v4-stg
stage name without any problem. Here's additional proof:What stacktrace or error message from your provider did you see?
Invalid stage name v4-stg: it should contains only [a-zA-Z0-9] for AWS provider if http event are present since API Gateway stage name cannot contains hyphens.Invalid stage name v4-stg: it should contains only [a-zA-Z0-9] for AWS provider if http event are present since API Gateway stage name cannot contains hyphens.
Similar or dependent issues:
Additional Data
Serverless Framework Version you're using: 1.36.0
Operating System: Windows 10 64-bit
Stack Trace:
Invalid stage name v4-stg: it should contains only [a-zA-Z0-9] for AWS provider if http event are present since API Gateway stage name cannot contains hyphens.Invalid stage name v4-stg: it should contains only [a-zA-Z0-9] for AWS provider if http event are present since API Gateway stage name cannot contains hyphens.
Provider Error messages:
Invalid stage name v4-stg: it should contains only [a-zA-Z0-9] for AWS provider if http event are present since API Gateway stage name cannot contains hyphens.Invalid stage name v4-stg: it should contains only [a-zA-Z0-9] for AWS provider if http event are present since API Gateway stage name cannot contains hyphens.
The text was updated successfully, but these errors were encountered: