From dda099bc51acb7955d88595628e60bcda72bab29 Mon Sep 17 00:00:00 2001 From: ryanp Date: Fri, 21 Aug 2015 16:34:45 -0500 Subject: [PATCH] formatting --- lib/commands/new.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/commands/new.js b/lib/commands/new.js index 03a08b91d..c327e2545 100644 --- a/lib/commands/new.js +++ b/lib/commands/new.js @@ -254,7 +254,7 @@ module.exports = function(JAWS) { ParameterKey: 'aaDefaultDynamoRWThroughput', ParameterValue: '1', UsePreviousValue: false, - } + }, ], Tags: [ { @@ -262,6 +262,7 @@ module.exports = function(JAWS) { Value: project.stages[0], }, ], + //Gotta be careful, TemplateBody has a limit of 51,200 bytes. If we hit limit use TemplateURL TemplateBody: JSON.stringify(require(path.join(JAWS._meta.projectRootPath, 'jaws-cf.json'))), }; @@ -272,8 +273,8 @@ module.exports = function(JAWS) { }) .then(function(cfData) { //TODO: poll cfData.StackId - cf.describeStackResourceAsync({StackName: cfData.StackId, LogicalResourceId: 'LambdaRole'}); + //cf.describeStackResourceAsync({StackName: cfData.StackId, LogicalResourceId: 'LambdaRole'}); var jawsJson = { name: project.name,