remove l from cf lambda name

This commit is contained in:
doapp-ryanp 2015-10-29 13:43:17 -05:00
parent a780c8469f
commit ba2d2dd3e0

View File

@ -160,7 +160,7 @@ usage: jaws module create <module resource> <action>`,
let actionTemplateJson = JawsUtils.readAndParseJsonSync(path.join(this._templatesDir, 'lambda.awsm.json'));
//We prefix with an l to make sure the CloudFormation resource map index is unique
actionTemplateJson.name = 'l' + this._resource.charAt(0).toUpperCase() + this._resource.slice(1) + this._action.charAt(0).toUpperCase() + this._action.slice(1);
actionTemplateJson.name = this._resource.charAt(0).toUpperCase() + this._resource.slice(1) + this._action.charAt(0).toUpperCase() + this._action.slice(1);
if (this._createLambda) {
actionTemplateJson.cloudFormation.lambda.Function.Properties.Runtime = this._runtime;