jlamande@gmail.com
14c8af8246
feat(log): Log AWS SDK calls in debug mode
2018-12-18 02:41:36 +01:00
horike37
4336340aa4
Merge remote-tracking branch 'root/master' into cf-ref-region
2018-12-10 12:01:41 +09:00
exoego
13de2a9083
Use lodash for consistency.
2018-12-10 09:50:16 +09:00
exoego
c3203aa347
Add test and document.
2018-12-08 21:29:00 +09:00
exoego
c46097c54f
Add capability to request different region only if it is specified in options.
2018-12-08 20:46:17 +09:00
Daniel Schep
fa4ef1159a
Merge pull request #5565 from serverless/sls-5563
...
set env vars from --env last in invoke local
2018-12-05 14:43:36 -05:00
Daniel Schep
6421135504
Merge pull request #5566 from serverless/app-5402
...
Set reserved concurrency in cfn template even if zero
2018-12-05 14:26:57 -05:00
Daniel Schep
a493ce0920
Merge pull request #5559 from dholdren/ruby_invokeLocal
...
`invoke local` support for Ruby lambdas
2018-12-05 13:22:53 -05:00
Daniel Schep
6d7447c92e
use require("./#{handler_path}") instead of changing $LOAD_PATH
2018-12-05 13:13:18 -05:00
Daniel Schep
7a1f4ece8e
fix tests for invoke lcal env vars fix
2018-12-05 11:21:42 -05:00
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 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
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 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
5ffd7f4ae8
Fix invoke local when using callback in nodejs
2018-11-27 09:52:50 -05: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
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
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
Travis Webb
e98100de91
Merge branch '5354-fix' of github.com:cloudreach/serverless into 5354-fix
2018-10-22 14:31:26 -07:00
Travis Webb
56ebcc4c4e
Merge branch 'master' of github.com:cloudreach/serverless into 5354-fix
2018-10-22 14:30:20 -07:00
Travis Webb
0cc2425e98
remove extraneous log statement
2018-10-22 14:29:50 -07:00
Takahiro Horike
2d22c40195
Merge pull request #5395 from aki-webii/fix/support-apig-api-key-source-type
...
APIG ApiKeySourceType support.
2018-10-21 15:46:43 +09:00
aki-webii
8524ea5a74
Return Promise.reject(async) object insted of the simple error(sync) when the validation error is occurred.
2018-10-15 10:57:21 +09:00