2771 Commits

Author SHA1 Message Date
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
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
toshi0607
ad926a650c add gitignore setting 2018-10-13 09:56:41 +09:00
Mariusz Nowak
9b003ec379 Remove invalid log 2018-10-11 15:26:02 +02:00
Juanjo Diaz
2d1a40e345 Let function package.individually config override service artifact 2018-10-07 14:08:12 +03:00
Travis Webb
19e777ba99 quiet stderr tty output 2018-10-04 16:25:28 -04:00
Travis Webb
61865db2cc quiet tty command output 2018-10-04 16:24:50 -04:00
Travis Webb
de4e6d82a3 update python invokeLocal to detect tty 2018-10-04 15:17:48 -04:00
Eslam λ Hefnawy
00daa75956
Merge pull request #5263 from NotMyself/webtask-deprecation
Webtask Deprecation
2018-10-04 14:35:19 +03:00
Takahiro Horike
ea7bea43f0
Merge pull request #5327 from laardee/add-shorthand-cf
Add Support for Shorthand CloudFormation Syntax
2018-10-03 01:38:38 +09:00
Takahiro Horike
83f1460df3
Merge pull request #5314 from erikerikson/consistent-service-path
Provide Consistent Service Path (Fix #5242)
2018-10-03 00:54:16 +09:00
Eetu Tuomala
8fdd3957a4
node v4 fixes 2018-09-30 11:49:42 +03:00
Eetu Tuomala
d7374ab26d
move cloudformation schema to lib/plugins/aws/lib, try to use schema only if parse without schema fails 2018-09-30 11:28:21 +03:00
Takahiro Horike
46aa939373
Merge pull request #5313 from robin-norwood/invoke-local-override-env
Invoke local override env
2018-09-27 05:53:20 +09:00
Bobby Johnson
4e501969c0
Merge branch 'master' into webtask-deprecation 2018-09-26 08:44:10 -07:00