diff --git a/lib/plugins/aws/deploy/lib/uploadArtifacts.js b/lib/plugins/aws/deploy/lib/uploadArtifacts.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/aws/deploy/lib/uploadArtifacts.js
+++ b/lib/plugins/aws/deploy/lib/uploadArtifacts.js
@@ -82,7 +82,7 @@ module.exports = {
     this.serverless.cli.log('Uploading artifacts...');
 
     const functionNames = this.serverless.service.getAllFunctions();
-    const artifactFilePaths = _.uniq(
+    let artifactFilePaths = _.uniq(
       _.map(functionNames, (name) => {
         const functionArtifactFileName = this.provider.naming.getFunctionArtifactName(name);
         const functionObject = this.serverless.service.getFunction(name);
@@ -104,7 +104,7 @@ module.exports = {
     );
 
     const layerNames = this.serverless.service.getAllLayers();
-    artifactFilePaths.push(..._.map(layerNames, (name) => {
+    artifactFilePaths = artifactFilePaths.concat(_.map(layerNames, (name) => {
       const layerObject = this.serverless.service.getLayer(name);
 
       if (layerObject.package && layerObject.package.artifact) {
remove use of spread for node 4 support