From 6c648934a0ad46a066d3e7cf2b91f8e8d3976868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=BCller?= Date: Sun, 24 Sep 2017 22:07:07 +0200 Subject: [PATCH] Use package:compileEvents hook (#27) --- src/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.ts b/src/plugin.ts index c580954..fb6320a 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -29,7 +29,7 @@ class AWSDBAutoScaling { */ constructor (private serverless: Serverless) { this.hooks = { - 'before:package:createDeploymentArtifacts': this.beforeDeployResources.bind(this) + 'package:compileEvents': this.beforeDeployResources.bind(this) } }