Skip to content

Commit

Permalink
Merge pull request #29 from sakai-y/enable-custom-apigw-restapi
Browse files Browse the repository at this point in the history
enables using custom restapi resource
  • Loading branch information
svdgraaf committed Jul 20, 2020
2 parents 2ec3da5 + 6149267 commit 9da937c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = Class.extend({
Properties: {
StageName: stage,
Description: stage,
RestApiId: {"Ref": "ApiGatewayRestApi"},
RestApiId: this._serverless.service.provider.apiGateway.restApiId || {"Ref": "ApiGatewayRestApi"},
DeploymentId: {"Ref": "TestDeployment"},
Variables: variables,
}
Expand Down

0 comments on commit 9da937c

Please sign in to comment.