2880 Commits

Author SHA1 Message Date
Daniel Schep
84c99e2211 Set reserved concurrency in cfn template even if zero
fixes #5402
2018-12-05 11:05:11 -05:00
Daniel Schep
44a6ac1a10 set env vars from --env last in invoke local
fixes #5563
2018-12-05 09:43:24 -05:00
Daniel Schep
00756dd266
Merge pull request #5562 from exoego/log-retenion-regression
Fix logRetentionInDays regression in AWS
2018-12-05 09:30:03 -05:00
exoego
f129894392 Fix lint error. 2018-12-05 20:13:27 +09:00
exoego
57ccc68567 Error message should show actual value. 2018-12-05 20:01:40 +09:00
exoego
da53934e6e Support logRetentionInDays given as string. 2018-12-05 19:59:03 +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
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
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
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
Daniel Schep
4578245d54
Merge pull request #5210 from serverless/pythonxy
Use pythonX instead of pythonX.Y in invoke local(take 3)
2018-11-02 07:27:12 -04:00
Daniel Schep
c7d6072233
Merge pull request #5355 from cloudreach/5354-fix
update python invokeLocal to detect tty
2018-11-01 20:59:10 -04:00
Daniel Schep
ccfe5cbda6
Merge pull request #5432 from kennu/master
Assume role and MFA support for Serverless CLI
2018-11-01 19:31:15 -04:00
Kenneth Falck
828e4ae212 Remove automatic AWS_SDK_LOAD_CONFIG=true for backwards compatibility in tests 2018-11-01 13:09:09 +02:00
Daniel Schep
a75b5640c8 Store cachedCredential in AwsProvider instance instead of a global
and fix lint error
2018-10-31 14:38:15 -04:00
Kenneth Falck
c064edef19 Support role_arn, source_profile and mfa_serial in ~/.aws/config
This sets the AWS_SDK_LOAD_CONFIG environment variable which allows
AWS SDK to read ~/.aws/config, and implements the tokenCodeFn
callback which asks the user to enter a MFA code. Credentials are
also cached to avoid creating the object multiple times, which
makes MFA work properly when multiple requests are made.

With these changes Serverless Framework should be compatible with
AWS CLI, so that these instructions for assuming a role work
out-of-the-box:
https://docs.aws.amazon.com/cli/latest/userguide/cli-roles.html
2018-10-30 21:18:25 +02:00
James Thomas
97b9c5f89d Adding Ruby support for OpenWhisk provider plugin. 2018-10-29 14:46:12 +00:00