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,