Skip to content

Commit

Permalink
Merge pull request #2 from k1LoW/fix-s3-option-region
Browse files Browse the repository at this point in the history
Fix the problem where setting `stage` when setting `s3Option.region`
  • Loading branch information
sbstjn committed Jul 31, 2017
2 parents 17f2e11 + f1cd2a5 commit b104263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Plugin {
multipartUploadThreshold: 20971520,
multipartUploadSize: 15728640,
s3Options: {
region: this.serverless.getProvider('aws').getStage()
region: this.serverless.getProvider('aws').getRegion()
}
}
}
Expand Down

0 comments on commit b104263

Please sign in to comment.