lib/jets/stack/main/extensions/lambda.rb in jets-1.3.8 vs lib/jets/stack/main/extensions/lambda.rb in jets-1.3.9
- old
+ new
@@ -34,10 +34,10 @@
runtime: :ruby,
timeout: Jets.config.function.timeout,
memory_size: Jets.config.function.memory_size,
}
props = defaults.merge(props)
- props[:runtime] = "nodejs8.10" if props[:runtime].to_s == "ruby"
+ props[:runtime] = "ruby2.5" if props[:runtime].to_s == "ruby"
props[:handler] = handler(props[:handler])
resource(id, "AWS::Lambda::Function", props)
end
alias_method :ruby_function, :function
\ No newline at end of file