Skip to content

Commit

Permalink
Merge branch 'master' into feature/support-nested-stacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Katafalkas committed Feb 15, 2020
2 parents 73dad3b + 633a506 commit def630b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .sonarcloud.properties
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions index.ts
Expand Up @@ -176,6 +176,7 @@ class ServerlessCustomDomain {
this.enabled = this.evaluateEnabled();
if (this.enabled) {
const credentials = this.serverless.providers.aws.getCredentials();
credentials.region = this.serverless.providers.aws.getRegion();

this.serverless.providers.aws.sdk.config.update({maxRetries: 20});
this.apigateway = new this.serverless.providers.aws.sdk.APIGateway(credentials);
Expand Down

0 comments on commit def630b

Please sign in to comment.