mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
fix: Bring back "provider.sdk" property, to not break plugins
This commit is contained in:
parent
010a356d2f
commit
3e983f347a
@ -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: () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user