-
Notifications
You must be signed in to change notification settings - Fork 227
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple api mappings on same domain name do not work (takes latest) #522
Comments
I ran into exactly the same issue. Although I fixed it temporarily on a local branch by changing the logic in Instead I propose that custom:
customDomains:
- rest:
domainName: test.mydomain.com
basePaths:
- v1
- v2
stage: dev
createRoute53Record: true
securityPolicy: tls_1_2
endpointType: regional
certificateName: '*.mydomain.com' Now that I know the code a little bit better I am happy to work on a fix for it. |
Hi there Hope you are doing well and the issue is solved, but ... Do you @evdh @j1-uli-holtel still see this issue with the v7.3.5 version? If it is still a case, could you please provide more info?
|
Community Note
Bug Report
Error Description
I want to have multiple api mappings on the same domain name pointing to the same API stage. Although no errors are shown, only the last of the 2 entries is actually applied and not the first one. If I switch around the 2 configurations in the array, the last one again is chosen.
Command Run
'sls deploy'
Console Output
Domain Manager Configuration
Replace this with your own
serverless.yml
file (anonymized, of course) to help us better resolve your issue.Versions
Possible Solution
Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
The text was updated successfully, but these errors were encountered: