Skip to content

Commit b104263

Browse files
authored
Merge pull request #2 from k1LoW/fix-s3-option-region
Fix the problem where setting `stage` when setting `s3Option.region`
2 parents 17f2e11 + f1cd2a5 commit b104263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Plugin {
2323
multipartUploadThreshold: 20971520,
2424
multipartUploadSize: 15728640,
2525
s3Options: {
26-
region: this.serverless.getProvider('aws').getStage()
26+
region: this.serverless.getProvider('aws').getRegion()
2727
}
2828
}
2929
}

0 commit comments

Comments
 (0)