42 Commits

Author SHA1 Message Date
Mariusz Nowak
3808471972 test: Move unit tests to "test/unit" folder 2020-11-30 16:53:52 +01:00
Piotr Grzesik
56c7e443a0
refactor: Replace _.forOwn with Object.entries().forEach (#8284) 2020-09-24 17:17:39 +02:00
Piotr Grzesik
57d1ce1a66
refactor: Replace _.values with Object.values (#8274) 2020-09-23 13:09:50 +02:00
Frédéric Barthelet
72745c9e77
feat(AWS Local Invocation): Resolve CF Ref in env variables (#8198) 2020-09-08 10:13:53 +02:00
Frédéric Barthelet
06ed01b874
feat(AWS Local Invocation): Resolve "Fn::ImportValue" instructions in env vars
(PR #8157)
2020-09-01 14:53:08 +02:00
Frédéric Barthelet
5a444c415c
feat(AWS HTTP API): Allow use of CF ImportValue for httpApi id (#7905) 2020-07-13 12:10:19 +02:00
Dai Van Nguyen
4c33476210
refactor: Replace _.isEmpty with native counterparts (#7873) 2020-06-25 15:17:52 +02:00
Nguyễn Việt Đức
4c6f8be5cc
refactor: Replace _.map with array.map (#7827) 2020-06-12 09:59:42 +02:00
Chris Villanueva
77fbb5969b
refactor: Replace _.includes with val.includes (#7818) 2020-06-08 09:13:50 +02:00
Chris Villanueva
d1721cb2b4
refactor: Replace _.every(array) with array.every (#7764) 2020-05-26 10:17:30 +02:00
TATSUNO Yasuhiro
2b9f63e332
perf(AWS Deploy): Do not re-upload unchanged lambda layers (#7680) 2020-05-19 15:08:25 +02:00
TATSUNO Yasuhiro
8bb5517456
refactor: Replace _.{startsWith,endsWith,includes} with native methods
(PR #7715)
2020-05-19 12:22:25 +02:00
Kenan Christian Dimas
c106d53638
refactor: Upgrade 'fs-extra' to v8 (#7719) 2020-05-13 16:16:17 +02:00
TATSUNO Yasuhiro
3fe2e98f15
refactor: Replace _.isArray with native Array.isArray (#7703) 2020-05-11 10:24:41 +02:00
Edward Goubely
3138ef1771
fix(AWS ALB): Fix handling of provisioned concurrency (#7285) 2020-04-06 13:55:22 +12:00
cktang88
6e37635cf2 Rename vars to dayjs 2019-11-29 10:48:01 -06:00
cktang88
5700e8bdb6 Replace moment with dayjs 2019-11-28 14:35:28 -06:00
Mariusz Nowak
83aa7a9aa5
Ensure tests cleanup 2019-09-05 16:12:50 +02:00
Mariusz Nowak
f6b05ab801
Do not tweak file access on Windows 2019-07-02 11:44:35 +02:00
Mariusz Nowak
7ac85e4d12
Simplify mode access setting 2019-07-02 11:43:22 +02:00
Mariusz Nowak
3e17bb34ff
Support aws_session_token 2019-07-01 19:39:48 +02:00
Mariusz Nowak
42354bbfbd
Create ~/.aws directory if it doesn't exists 2019-07-01 19:21:23 +02:00
Mariusz Nowak
4ad356c2b4
Ensure user only mode for credentials 2019-07-01 17:38:21 +02:00
Mariusz Nowak
35cdcf5cc8
AWS credentials utils 2019-06-28 13:32:52 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
paulshestakov
012bd56be9 Remove useless variable assignment 2019-04-02 12:27:47 +03:00
weeniearms
b5da4d09ed Added possibility to specify custom S3 key prefix instead of the standard 'serverless' 2018-09-17 09:35:40 +02:00
Takahiro Horike
5c886b5b2c
Merge branch 'master' into sls-govcloud 2018-03-13 06:02:22 +09:00
Mike Pugh
52cc8be45a Move geetS3EndpointForRegion to utils, change to regex.test instead of string.match for authorizer ARNs 2018-02-03 08:04:21 -05:00
Alexey Kotlyarov
d5dc0cbf4b Do not explicitly color messages in white
On white background terminals, white text is unreadable. Use the default
terminal color instead.

Fixes #4673
2018-01-29 19:33:35 +11:00
Mike Pugh
2e925af0b4 Fixing lint errors 2018-01-19 17:49:37 -05:00
Mike Pugh
113ec4cceb Updae tests 2018-01-19 14:59:49 -05:00
Mike Pugh
16debac62e Replace AWS Partition strings with CF Pseudo Param or from STS 2018-01-19 13:52:29 -05:00
Dan Root
add4951a4b Better handling for AWS Lambda logging lines.
Refactor duplicated log line formatting from invoke and logs plugins
into utils/formatLambdaLogEvent.js and add tests.

Make log line formatter understand default python logging module output
from Lambda functions.

Add payload output testing to invoke plugin.

Fixes #1796 and #3594
2017-05-19 12:42:02 -07:00
Frank Schmid
e8bdd0ca33 Added unit tests and a small fix with property paths 2017-04-27 02:28:13 +02:00
Frank Schmid
cc91ca2563 Prevent circular references during search. 2017-04-26 23:56:01 +02:00
Frank Schmid
33a93e7a28 Move findReferences to utils. It will be used in extendedValidate too. 2017-04-26 21:57:40 +02:00
Philipp Muens
f9997c9814 Update tests to reflect correct naming and avoid confusion 2017-04-26 13:59:50 +02:00
Eslam A. Hefnawy
770fb87ad9 removed references to old cf file 2017-04-10 02:33:53 +07:00
Philipp Muens
8aad2372eb Refactor test structure
So that all tests follow the *.test.js pattern and globs are used to find test files.
2016-11-22 12:49:26 +01:00
Nik Graf
5dcde541b5 changed the term stacks to deployments 2016-10-19 18:40:31 +02:00
Nik Graf
a7d42e470c moved listing stacks into a separate plugin 2016-10-19 18:28:24 +02:00