diff --git a/lib/plugins/aws/provider/awsProvider.js b/lib/plugins/aws/provider/awsProvider.js index 1b4cc8655..cb68ddcd8 100644 --- a/lib/plugins/aws/provider/awsProvider.js +++ b/lib/plugins/aws/provider/awsProvider.js @@ -226,7 +226,7 @@ class AwsProvider { */ request(service, method, params, options) { const that = this; - const credentials = that.getCredentials(); + const credentials = _.cloneDeep(that.getCredentials()); // Make sure options is an object (honors wrong calls of request) const requestOptions = _.isObject(options) ? options : {}; const shouldCache = _.get(requestOptions, 'useCache', false);