diff --git a/lib/plugins/aws/provider/awsProvider.js b/lib/plugins/aws/provider/awsProvider.js index 9f1a919c1..9c90355d1 100644 --- a/lib/plugins/aws/provider/awsProvider.js +++ b/lib/plugins/aws/provider/awsProvider.js @@ -253,6 +253,9 @@ class AwsProvider { } const request = this.requestQueue.add(() => persistentRequest(() => { + if (options && options.region !== undefined) { + credentials.region = options.region; + } const awsService = new that.sdk[service](credentials); const req = awsService[method](params);