Skip to content

Commit

Permalink
remove platform code
Browse files Browse the repository at this point in the history
  • Loading branch information
austencollins committed Jan 12, 2019
1 parent 010dabe commit 2a690f8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 47 deletions.
2 changes: 0 additions & 2 deletions lib/plugins/aws/deploy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const createStack = require('./lib/createStack');
const cleanupS3Bucket = require('./lib/cleanupS3Bucket');
const uploadArtifacts = require('./lib/uploadArtifacts');
const validateTemplate = require('./lib/validateTemplate');
const createDeployment = require('./lib/createDeployment');
const updateStack = require('../lib/updateStack');
const existsDeploymentBucket = require('./lib/existsDeploymentBucket');
const path = require('path');
Expand All @@ -33,7 +32,6 @@ class AwsDeploy {
cleanupS3Bucket,
uploadArtifacts,
validateTemplate,
createDeployment,
updateStack,
existsDeploymentBucket,
monitorStack
Expand Down
43 changes: 0 additions & 43 deletions lib/plugins/aws/deploy/lib/createDeployment.js

This file was deleted.

3 changes: 1 addition & 2 deletions lib/plugins/aws/deploy/lib/createStack.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ module.exports = {
params.NotificationARNs = this.serverless.service.provider.notificationArns;
}

return this.createDeployment().then(() => this.provider.request(
return this.provider.request(
'CloudFormation',
'createStack',
params
).then((cfData) => this.monitorStack('create', cfData))
);
},

createStack() {
Expand Down

0 comments on commit 2a690f8

Please sign in to comment.