mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
remove l from cf lambda name
This commit is contained in:
parent
a780c8469f
commit
ba2d2dd3e0
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user