diff --git a/lib/plugins/aws/provider.js b/lib/plugins/aws/provider.js index 526557ea0..bad1a05e0 100644 --- a/lib/plugins/aws/provider.js +++ b/lib/plugins/aws/provider.js @@ -208,6 +208,9 @@ class AwsProvider { this.options = options; this.provider = this; // only load plugin in an AWS service context this.serverless = serverless; + // Notice: provider.sdk is used by plugins. Do not remove without deprecating first and + // offering a reliable alternative + this.sdk = AWS; this.serverless.setProvider(constants.providerName, this); this.hooks = { initialize: () => {