1582 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
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
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
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
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
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
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
aki-webii
0e6423cbc6 fix: Implement context.log function for invoke local command on Python environment. 2018-10-13 14:00:02 +09:00
Mariusz Nowak
9b003ec379 Remove invalid log 2018-10-11 15:26:02 +02: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
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
reedyrm
588bebc933 fixed bad string in test 2018-09-25 08:48:43 -05:00
reedyrm
969d7a9992 removed trailing spaces 2018-09-24 02:38:45 -05:00
reedyrm
9bbebfc893 added option for cacheControl to be attached to cors to enable caching at CloudFront layer 2018-09-24 02:37:40 -05:00
Takahiro Horike
373efc4f9f
Merge pull request #5291 from softprops/python-aws-invoke-context-parity
more faithfully represent aws lambda python runtime context
2018-09-20 06:03:36 +09:00
softprops
fdac9df145 generate a dynamic date 2018-09-18 21:02:14 -04:00
Philipp Muens
b59aa9c275 Add support for backend state item generation and multi-region support 2018-09-17 16:31:12 +02:00
weeniearms
b5da4d09ed Added possibility to specify custom S3 key prefix instead of the standard 'serverless' 2018-09-17 09:35:40 +02:00
Benny Zemmour
7815851f5b adding more tests coverage 2018-09-16 18:29:31 +03:00
Benny Zemmour
1d47ca878a adding test & docs 2018-09-16 17:20:50 +03:00
Benny Zemmour
b1a0e9211f
Update handler name on deploy single function
Allow to update the handler when using `deploy -f / --function`
2018-09-16 16:20:10 +03:00
softprops
c06ae9ebea more faithfully represent aws lambda python runtime context 2018-09-12 01:09:12 -04:00
Takahiro Horike
a283b04c07
Merge pull request #5229 from laardee/sns-filter-policy
Adds FilterPolicy to SNS event
2018-09-04 23:18:54 +09:00
Shane Handley
28124a4cfe Fix for #3069 - Failing to handle schedule event body params due to failures in stringifying an already stringified...string. 2018-09-02 03:47:27 +10:00
Philipp Muens
afaeb65699 Fix CORS race condition 2018-08-28 09:35:37 -07:00
Eetu Tuomala
c39a74ad6a
add separate subscription resource only if filter policy exists 2018-08-20 22:37:00 +03:00
Eetu Tuomala
1895008ef5
add test for existing topic subscription with filter policy 2018-08-20 11:07:54 +03:00
Eetu Tuomala
b204d7a83f
add filterpolicy to sns subscription 2018-08-20 00:44:26 +03:00
Eslam A. Hefnawy
09e9b8d9c5 enable CI on platform deployment 2018-08-16 17:44:46 +03:00
horike37
f353efcfae Use pythonX instead of pythonX.Y in invoke local 2018-08-13 22:56:48 +09:00
Eslam λ Hefnawy
b7fff31803
Merge pull request #5189 from serverless/minor-dashboard-updates
Dashboard Updates
2018-08-07 14:06:58 +03:00
bhaskarbalusani
c961dee9ab
Update index.js 2018-08-06 14:22:22 +05:30
bhaskarbalusani
a1876717a3
Update index.js 2018-08-06 13:17:39 +05:30
Eslam A. Hefnawy
5b7ccbccaa support more than 100 resources in dashboard 2018-08-03 16:55:58 +03:00
Eslam A. Hefnawy
32ed6776c5 some minor dashboard updates 2018-08-03 16:03:26 +03:00