5351 Commits

Author SHA1 Message Date
exoego
98572d7e53 Remove unused variable. 2018-12-05 19:42:25 +09:00
exoego
c216bc2656 Generate Lambda::Permission objects in which logGroup name is wildcard to reduce final policy size. 2018-12-05 19:42:25 +09:00
Dean Holdren
99c4256461 support Ruby class method as handler 2018-12-04 16:28:14 -05:00
Dean Holdren
d147db90b0 ruby support for invokeLocal 2018-12-04 13:48:45 -05:00
Daniel Schep
5d9cfa90ef
Merge pull request #5546 from BigChief45/ruby-support
Add Ruby 2.5 support in AWS Lambda
2018-11-30 09:23:06 -05:00
Daniel Schep
86b862d17d git mv .gitignore gitignore 2018-11-30 09:10:38 -05:00
Jaime Alvarez
73dc95ee65 💎 💎 💎 Add Ruby 2.5 support in AWS Lambda
https://aws.amazon.com/about-aws/whats-new/2018/11/aws-lambda-supports-ruby/

Closes #5540
2018-11-29 21:02:08 +00:00
Daniel Cottone
601d9df12e fixing lint issue 2018-11-29 14:26:50 -06:00
Daniel Cottone
f1cae26a2e Merge remote-tracking branch 'upstream/master' into api-gateway-compression 2018-11-29 14:21:24 -06:00
Daniel Cottone
2097431746 Merge remote-tracking branch 'upstream/master' into api-gateway-compression 2018-11-29 10:59:20 -06:00
Daniel Schep
b348471c05 test coverage! 2018-11-29 10:55:52 -05:00
Daniel Schep
c54969b255 change plugin sort order to match hook order 2018-11-29 10:55:52 -05:00
Daniel Schep
cc24fa8c73 remove an other spread operator 2018-11-29 10:55:52 -05:00
Daniel Schep
b35d37f896 remove use of spread for node 4 support 2018-11-29 10:55:52 -05:00
Daniel Schep
577f85d070 Info support for layers 2018-11-29 10:55:52 -05:00
Daniel Schep
0938594348 fix no-deploy check 2018-11-29 10:55:52 -05:00
Daniel Schep
2ad01b3fe3 [WIP] Support for publishing Lambda Layers 2018-11-29 10:55:52 -05:00
Daniel Schep
2d4376b7f2 Support for using Lambda Layers 2018-11-29 10:55:52 -05:00
vkkis
8fea1fa901 fix travis 2018-11-29 17:02:09 +02:00
vkkis
40f892b3d5 sets the description only if it's provided 2018-11-29 16:51:27 +02:00
Daniel Schep
83fb574e07
Update lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js
Co-Authored-By: daniel-cottone <daniel.cottone@asurion.com>
2018-11-29 07:52:40 -06:00
Daniel Schep
5157bdba46
Merge pull request #5525 from serverless/fix-invoke-local-callback
Fix invoke local when using callback in nodejs
2018-11-29 08:13:27 -05:00
Daniel Cottone
efa31ac5ef fixing variable check and adding back test 2018-11-27 14:51:02 -06:00
Daniel Cottone
1b41e1393a removing broken test 2018-11-27 12:54:53 -06:00
Daniel Cottone
e78d3cb541 Add support for API Gateway payload compression 2018-11-27 11:32:53 -06:00
Daniel Schep
42e0cf4dff test invoke local support for returning value directly and fix it 2018-11-27 11:35:18 -05:00
Daniel Schep
dab98891d5
Merge pull request #5521 from jspies/jspies/update-config-docs
update docs to new more consistent config
2018-11-27 10:56:24 -05:00
Daniel Schep
5ffd7f4ae8 Fix invoke local when using callback in nodejs 2018-11-27 09:52:50 -05:00
Jonathan Spies
5a703e95c1 update docs to new more consistent config 2018-11-26 11:09:31 -06:00
Jeremy Benoist
f8a99e942d
--aws-profile should override profile defined in serverless.yml 2018-11-22 15:40:25 +01:00
Sean O'Hollaren
45683ad808 Fix bug where code attempted to parse data / context objects when they were not supplied 2018-11-21 12:16:43 -08:00
vkkis
44c24b503c fix eslint 2018-11-21 11:17:14 +02:00
vkkis
d88cf97107 test 2018-11-21 11:04:58 +02:00
vkkis
3f5fa1acf5 rewrite unit tests in order to increase code coverage 2018-11-21 10:49:17 +02:00
vkkis
d300d5bc70 test commit 2018-11-21 10:22:56 +02:00
vkkis
25b48a2c7c fix eslint 2018-11-20 18:38:30 +02:00
vkkis
e30e03f1fb fix tests 2018-11-20 18:15:01 +02:00
vkkis
3180d7001d fix tests 2018-11-20 17:39:21 +02:00
vkkis
821b9d9e3b Support API Gateway stage deployment description 2018-11-20 14:56:54 +02:00
Daniel Schep
b76bb189b1 Python3.7 support!!!
AWS now supports Python3.7 in Lambda!
https://aws.amazon.com/blogs/compute/python-3-7-runtime-now-available-in-aws-lambda/
2018-11-19 16:22:35 -05:00
Daniel Schep
de67fa5f58 Convert logging to return a promise so that #5349 no longer causes #5497 2018-11-19 11:08:15 -05:00
Daniel Schep
dd43b852bc Don't use py3.5+ only subprocess.run in python invoke local
Fixes #5499
2018-11-16 15:35:45 -05:00
Daniel Schep
f5c225f05f Create an HttpsProxyAgent for plugin list if necessary
Closes #5480
2018-11-14 07:53:22 -05:00
Daniel Schep
4cf2db57f9
Merge pull request #5298 from shanehandley/2116-consistent-errors-missing-config
2116 consistent errors missing config
2018-11-13 08:18:04 -05:00
Philipp Muens
f2857b92c0
Merge pull request #5473 from serverless/update-google-cloud-functions-template
Update plugin version of google-nodejs template
2018-11-13 06:54:20 +01:00
Philipp Muens
aa939b1a25
Update plugin version of google-nodejs template 2018-11-08 15:14:57 +01:00
Alfred Feldmeyer
5b4c5c7e91 insert line break to suppress warning 2018-11-05 18:54:15 +01:00
Ciaran Downey
7ba4caad0d Improves usage and documentation of SNS event sources.
When using cloudformation intrinsic functions, it is easy to assume that sns:topicName is a property that should resolve to the actual value in AWS. In reality it is only used to name the underlying cloudformation resources generated by serverless, and thus needs to be a string.
This improves the error message and code path returned when sns:topicName is not a string, as well as does some validation around usage of Fn::ImportValue. Also adds some tests and documentation demonstrating that intrinsic functions work with SNS event sources.
2018-11-04 09:34:00 -05:00
Rafal Wilinski
4cb7cccb38 Fix code formatting 2018-11-02 15:21:09 -04:00
Rafal Wilinski
e1c712ba15 Move uppercase bucket name error statement 2018-11-02 15:21:09 -04:00