2795 Commits

Author SHA1 Message Date
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
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
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
Takahiro Horike
33b7784bad
Merge pull request #5364 from juanjoDiaz/function_individually_overrides_service_artifact
Let function package.individually config override service artifact
2018-10-15 12:58:54 +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
Takahiro Horike
bf2ee2e56b
Merge pull request #5299 from weeniearms/master
Added possibility to specify custom S3 key prefix instead of the stan…
2018-10-15 02:59:49 +09:00
Sebastian Borza
ae8f9dae69
Merge pull request #5393 from toshi0607/add-go-modules-template
add aws-go-mod
2018-10-14 09:51:53 -05:00
horike37
3d669b3eb2 Merge remote-tracking branch 'root/master' into 5354-fix 2018-10-14 15:11:12 +09:00
Takahiro Horike
71214f5b65
Merge pull request #5328 from reedyrm/master
Add CacheControl headers on the OPTIONS response in AWS API Gateway
2018-10-14 12:12:58 +09:00
toshi0607
25aeccfdf4 fix template name 2018-10-14 09:14:09 +09:00
toshi0607
f070d946be rename go-modoles to go-mod 2018-10-14 09:01:44 +09:00
Sebastian Borza
1ccd1448a3
Merge pull request #5389 from toshi0607/add-phony
fix Makefile style for Go template
2018-10-13 09:08:21 -05:00
toshi0607
b4141d43a9 change .PHONY to single line 2018-10-13 22:13:54 +09:00
toshi0607
64d6387a53 add chmod command 2018-10-13 20:17:40 +09:00
Shane Handley
dfed4825ac Removed older validation checks from info plugin which returned following merge. 2018-10-13 19:50:19 +09:00
Shane Handley
dc51cc6ba5 Merge branch 'master' into 2116-consistent-errors-missing-config 2018-10-13 19:29:31 +09:00
aki-webii
92e3f0b598 Fix lint error. 2018-10-13 17:03:42 +09:00
aki-webii
f68dafa969 Add test code. 2018-10-13 16:53:17 +09:00
toshi0607
6f23452c7f add env var 2018-10-13 16:29:21 +09:00
aki-webii
1f6736b989 Adding ApiKeySourceType option into the CloudFormation template, when that option is provided at serverless.yml. 2018-10-13 16:24:47 +09:00
toshi0607
b8df9e07f0 add test 2018-10-13 16:12:23 +09:00
toshi0607
9d0aac19ae add aws-go-mod 2018-10-13 16:03:01 +09:00
Takahiro Horike
449e269e32
Merge pull request #5301 from bzemms/patch-1
Update handler name when deploy a single function
2018-10-13 15:00:37 +09:00
Takahiro Horike
fd8ec201a9
Merge pull request #5391 from aki-webii/fix-unimplemented-context-log-func
fix: Implement context.log function for invoke local command on Python environment.
2018-10-13 14:46:05 +09:00
aki-webii
0e6423cbc6 fix: Implement context.log function for invoke local command on Python environment. 2018-10-13 14:00:02 +09:00
Takahiro Horike
d134a80343
Merge pull request #5390 from nogut0123/fix-2116
validate if serverless.yml exists when running sls info command
2018-10-13 13:58:14 +09:00
noguchi
0d9d1a23ff add valldation in info command 2018-10-13 12:29:12 +09:00
toshi0607
b8db53d4e4 fix Makefile style 2018-10-13 12:14:47 +09:00
Takahiro Horike
713a584b5a
Merge pull request #5377 from medikoo/remove-wrong-log
Remove invalid log
2018-10-13 11:31:51 +09:00