You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Bug Report
Error Description
When both provider.apiGateway.restApiId and provider.apiGateway.websocketApiId are set and custom domains are required for both, the plugin maps both rest and websocket domains to the REST API.
There are quite a number of issues with the getApiId function. A band-aid fix for all of them might be to include the ability to set it in the customDomain clause (using refs or functions or strings)
Community Note
Bug Report
Error Description
When both
provider.apiGateway.restApiId
andprovider.apiGateway.websocketApiId
are set and custom domains are required for both, the plugin maps both rest and websocket domains to the REST API.Domain Manager Configuration
Versions
Possible Solution
This line is probably causing the issue:
serverless-domain-manager/src/index.ts
Line 683 in 13649ca
It always returns the REST API ID when it's set and doesn't check if we're actually looking for the WS API ID.
The text was updated successfully, but these errors were encountered: