254 Commits

Author SHA1 Message Date
Mariusz Nowak
32cde98750 fix(AWS Credentials): Improve AWS SDK workaround 2020-07-28 15:52:43 +02:00
Mariusz Nowak
863bc51904 fix(AWS Credentials): Improve credentials error recognition 2020-07-28 15:52:43 +02:00
Mariusz Nowak
de386405b2 fix: Fix aws-sdk workaround
It should not be applied if nslookup command is not found
2020-07-27 12:41:22 +02:00
Mariusz Nowak
7af0cd8c28 fix: Fix AWS missing credentials handling 2020-07-22 10:18:49 +02:00
Mariusz Nowak
da1b75ac88
fix(AWS Deploy): Support 0 as SLS_AWS_REQUEST_MAX_RETRIES setting 2020-07-16 10:42:15 +02:00
Mariusz Nowak
4d1b3b571d
fix(AWS Deploy): Fix resolution of SLS_AWS_REQUEST_MAX_RETRIES setting 2020-07-16 10:34:05 +02:00
andreizet
7bbd04a693
refactor: Replace _.has with better counterparts (#7915) 2020-07-07 17:18:48 +02:00
Mariusz Nowak
6c2fabf9b9
feat(AWS Deploy): Support customization of request retries count 2020-07-01 12:07:11 +02:00
Dai Van Nguyen
3b19a5a6b1
refactor: Remove _.isInteger (#7878) 2020-06-29 09:38:38 +02:00
Mariusz Nowak
5234439fa1 refactor: Remove old analytics module 2020-06-16 10:59:59 +02:00
Nguyễn Việt Đức
d5de0ec56a
refactor: Replace _.nth with array[index] (#7841) 2020-06-16 08:51:37 +02:00
Nguyễn Việt Đức
20cef81555
refactor: Replace _.isUndefined with native checks (#7826) 2020-06-12 09:54:00 +02:00
srd2014
053f5f420b
refactor: Replace _.split with string.split (#7820) 2020-06-09 12:23:14 +02:00
Wing-Kam
6cf4901a89
refactor: Replace _.isNil(value) with value == null (#7809) 2020-06-03 15:38:18 +02:00
Chris Villanueva
5cf46bf109
refactor: Replace _.join with array.join (#7805) 2020-06-03 08:53:06 +02:00
Chris Villanueva
2b00928f87
refactor: Replace _.size with native counterparts (#7798) 2020-06-01 13:30:43 +02:00
TATSUNO Yasuhiro
5e0af21313
refactor: Replace _.forEach and _.each with array.forEach (#7748) 2020-05-28 10:45:25 +02:00
Nguyễn Việt Đức
85e9cd4455
refactor: Replace _.assign and _.extend with Object.assign (#7766) 2020-05-26 10:24:46 +02:00
Mariusz Nowak
55a98bdd47 refactor(AWS Lambda): Introduce reusable lambda ARN resolver 2020-03-07 11:00:35 +13:00
Isen
3910df1ba6
feat: Support provider.alb.targetGroupPrefix setting (#7322) 2020-02-14 15:49:02 +13:00
Mariusz Nowak
f1cc3a8998 test: Update to not rely on side ServerlessError feature 2020-01-21 13:20:02 +01:00
Mariusz Nowak
c7fea34e85 fix: Separate AWS region and credentials resolution concern
Dashboard plugin at intialization eventually resolves credentials
for a framework, and as region resolution comes with it,
it also resolves region.
Still it happens prior variables resolution and there's
no guarantee that region value is resolved.

Fixes https://github.com/serverless/enterprise-plugin/issues/340
2020-01-16 11:33:29 +01:00
Artur Grzybowski
9591d5a232 feat: Enhance configuration options of cloudFront event (#7170)
Fixes #7151 
Addresses partially #6843 and #6785
2020-01-09 14:07:33 +01:00
maafk
3236adb040 fix: Remove hard-coded AWS partitions (#7175) 2020-01-07 14:51:08 +01:00
Mariusz Nowak
cd93739393
Merge pull request #6981 from philiiiiiipp/patch-4
Provide backoff for retryable aws requests and the option to adjust the cf status check interval via an environment variable
2019-12-02 13:37:40 +01:00
Philipp Muens
69465f1b81 Run Prettier 2019-12-02 13:20:48 +01:00
Philipp Beau
9bedb1fa38 4 and 7 what 2019-12-02 11:01:00 +01:00
Philipp Beau
6e47c4a6b7 removed the increasing backoff and limited the retry interval to 4 - 7 seconds 2019-12-02 10:58:20 +01:00
Philipp Beau
0dddcca8e7 simplified the calculation for the backoff and provided a simpler log output 2019-11-30 15:51:42 +01:00
Mark Tse
0d7fe5e2ea chore - run prettier. 2019-11-29 22:59:53 -05:00
Mark Tse
f08707025d awsprovider - adding support for SDK sub-classes. 2019-11-29 21:39:30 -05:00
Philipp Beau
1a9b1f651d
Show the time in seconds rather than milliseconds 2019-11-22 11:05:15 +01:00
Peter Indiola
4adc5cc197 Fix spelling and typos in docs, code variables and code comments 2019-11-20 23:28:56 +08:00
Mariusz Nowak
e712d3756d
Test empty deployment prefix 2019-11-20 12:44:12 +01:00
Philipp Beau
de2954a7d5
Provide exponential backoff with 10s jitter 2019-11-19 20:02:57 +01:00
Clar Charron
1e6e94283e
Lints 2019-11-15 09:01:11 -05:00
Clar Charron
6aa79fb06f
Typo 2019-11-14 16:08:50 -05:00
Clar Charron
334bb810e7
Allow null/undefined 2019-11-13 10:42:53 -05:00
Clar Charron
cebfde19a8
Only allow explicit '' deploymentPrefix for empty 2019-11-12 10:48:28 -05:00
Clar Charron
a74548da33
Treat falsey deploymentPrefix as empty prefix 2019-11-07 17:21:20 -05:00
Clar Charron
62b29a1941
(sighs in JavaScript) 2019-11-07 17:13:38 -05:00
Mariusz Nowak
5c44c88581
Fix handling of --no-aws-s3-accelerate option 2019-11-07 10:26:04 +01:00
Eetu Tuomala
aeb3bb5a93 fix node 4 and 6 related syntax errors 2019-09-05 12:51:06 +02:00
Mariusz Nowak
56b98e591b
Do not retry on 403 2019-09-02 18:00:57 +02:00
Kevin Tardif
a1d2f7d090 getLogRetentionInDays now returns null if config value is unset 2019-08-16 08:28:45 -04:00
Kevin Tardif
462c936e7c Set AWS API Gateway RetentionInDays to value of provider.logRetentionInDays 2019-08-15 10:22:44 -04:00
Daniel Schep
9a27c0c1cc Merge remote-tracking branch 'origin/master' into support-for-ecs-metadata-creds 2019-07-23 12:51:58 -04:00
Daniel Schep
105a2f7978 Revert "Fail faster when no AWS creds exist (#6393)"
This reverts commit 62c656b3635d468956ec789814fea8cb3462499f, reversing
changes made to d0793ee65c5058c8921d29ded4e418f2b68751dd.
2019-07-22 14:13:43 -04:00
Maciej Skierkowski
0d44aaca0a Use slss.io for links 2019-07-22 13:02:30 -04:00
Mariusz Nowak
d2e537329f
Fix lint issues
Came out after change to no-confusing-arrow rule
2019-07-19 17:46:08 +02:00