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
When I perform sls deploy or via Codebuild I get the following error
Unsupported apiGateway.restApiId object
at ServerlessCustomDomain.<anonymous> (/codebuild/output/src937094620/src/bitbucket.org/docspacecrew/ease-leads-backend/node_modules/serverless-domain-manager/dist/src/index.js:294:27)
at Generator.throw (<anonymous>)
at rejected (/codebuild/output/src937094620/src/bitbucket.org/docspacecrew/ease-leads-backend/node_modules/serverless-domain-manager/dist/src/index.js:6:65)
I don't know what I am doing wrong.
The text was updated successfully, but these errors were encountered:
The restApiId is not required to be defined for this plugin, unless the REST API is created in another project. If the project that this yaml is from creates it, then it should be picked up automatically.
Could you please try removing the restApiId definition?
The error I am getting is: Expected params.restApiId to be a string.
Since this is the only way to have multiple serverless configuration files to be deployed under the same rest API, I see no way to use this plugin without fixing this.
My objective is to add throttling to one of the public facing apis using APIGateway (rest api). I am using Lambda functions with Serverless framework.
My serverless.yml file looks like this
When I perform sls deploy or via Codebuild I get the following error
I don't know what I am doing wrong.
The text was updated successfully, but these errors were encountered: