mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
fix deploy for custom runtimes
This commit is contained in:
parent
599be5efb3
commit
32ae6ff989
@ -170,7 +170,7 @@ module.exports = function(S) {
|
||||
FunctionName: _this.functionName, /* required */
|
||||
Handler: _this.function.getRuntime().getHandler(_this.function), /* required */
|
||||
Role: _this.functionPopulated.customRole ? _this.functionPopulated.customRole : _this.project.getVariablesObject(_this.evt.options.stage, _this.evt.options.region).iamRoleArnLambda, /* required */
|
||||
Runtime: _this.function.getRuntime().getName(), /* required */
|
||||
Runtime: _this.function.getRuntime().getName('aws'), /* required */
|
||||
Description: 'Serverless Lambda function for project: ' + _this.project.name,
|
||||
MemorySize: _this.functionPopulated.memorySize,
|
||||
Publish: true, // Required by Serverless Framework & recommended best practice by AWS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user