mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
add ability for functions to override runtime to have multi-language services
This commit is contained in:
parent
8a68bb684f
commit
c03e2a87dd
@ -56,7 +56,8 @@ class AwsCompileFunctions {
|
||||
const Timeout = Number(functionObject.timeout)
|
||||
|| Number(this.serverless.service.provider.timeout)
|
||||
|| 6;
|
||||
const Runtime = this.serverless.service.provider.runtime
|
||||
const Runtime = functionObject.runtime
|
||||
|| this.serverless.service.provider.runtime
|
||||
|| 'nodejs4.3';
|
||||
|
||||
newFunction.Properties.Handler = Handler;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user