13726 Commits

Author SHA1 Message Date
Mariusz Nowak
a1804f6300 fix(CLI): Fix categorization of service dependent commands 2021-03-16 09:34:33 +01:00
Mariusz Nowak
14a2640bd9 refactor(CLI): Seclude schema of core commands 2021-03-16 09:34:33 +01:00
Mariusz Nowak
6752945eaa refactor(CLI): Fix "config tabcompletion uninstall" usage info 2021-03-16 09:34:33 +01:00
coyoteecd
e77a00dfff
fix(AWS IAM): Accept arn:${AWS::Partition} in function roles (#9103) 2021-03-15 16:49:03 +01:00
Mariusz Nowak
68de8bdeed fix(Variables): Retry JS function resolvers on unresolved dependencies 2021-03-15 13:27:20 +01:00
Tony Papousek
3597f4539d
fix(Templates): Fix runtime for azure-nodejs-typescript (#9106)
I receive the error `Error: Runtime nodejs12.x is not supported. Runtimes supported: nodejs10,nodejs12,python3.6,python3.7,python3.8,dotnet2.2,dotnet3.1` when trying to run the current version. Changing to just `nodejs12` helps.

Haven't done much testing on this (struggling with AZ auth and subscription lists), but this fix seems to suppress the error message and allow `sls offline` to run.

This value aligns with [the CONFIG.md doc](https://github.com/serverless/serverless-azure-functions/blob/master/docs/CONFIG.md), and should help prevent further occurrences of #6998 in this repo, as well as issue 393 in the [serverless-azure-functions repo](https://github.com/serverless/serverless-azure-functions).
2021-03-15 13:08:35 +01:00
AlinoeDoctari
5fb85d36c8
refactor: Seclude AWS request util from internals (#8850) 2021-03-12 15:27:49 +01:00
Mariusz Nowak
aa7b66a66c fix(AWS Deploy): Fix deploy function command error handling 2021-03-11 16:55:19 +01:00
Mariusz Nowak
a7d2cf0605 refactor(AWS Deploy): Minimize try/catch wrap 2021-03-11 16:55:19 +01:00
yumei
6537a5e48d
feat(Config Schema): Announce that crashing on error will become default
(PR #9066)
2021-03-10 12:11:06 +01:00
Piotr Grzesik
a79473d8b1 fix(CLI): Properly report SDK version when handling errors 2021-03-10 10:24:44 +01:00
terrybondy
ab8529cb24
fix(AWS Local Invocation): Support env vars with = in value (#9079)
* Fix prettier warnings.

* test(invoke): ensure everything after first "=" is included in environment variable

* test(invoke): unskip new test

Co-authored-by: Lew Gordon <lew.gordon@genesys.com>
2021-03-10 09:23:18 +01:00
Yahia Kerim
82bf35c1b9
fix(AWS IAM): Allow iam.role to use awsLambdaRole definition (#9094) 2021-03-09 17:21:04 +01:00
Piotr Grzesik
025606e7d0 chore: Release 2.29.0 v2.29.0 2021-03-09 13:20:11 +01:00
Piotr Grzesik
f8a552e4bf chore: Bump dependencies 2021-03-09 13:20:11 +01:00
Piotr Grzesik
2b857c7eb4
feat(CLI): Report Platform Client instead of SDK version (#9092) 2021-03-09 12:30:50 +01:00
Mariusz Nowak
5e2406bea7 fix(Variables): Expose source resolution errors as non-user errors 2021-03-09 12:05:59 +01:00
Mariusz Nowak
524c43df75 refactor(Variables): Improve source fulfillment handling 2021-03-09 12:05:59 +01:00
Tristan Rigaut
dea7b5a3c0
fix(AWS Deploy): Warn when invalid IAM policy to fetch lambda (#9041) 2021-03-09 10:29:29 +01:00
Dave Lowther
5f5d2e580e
fix(Config Schema): Support CF functions for managed policies (#9089) 2021-03-09 09:38:42 +01:00
Sam Lyon
0f631f7bd1
feat(Config Schema): Accept accountId as policy principal 2021-03-08 21:13:08 +01:00
Dmitry Shirokov
42a1cdb6f1
feat(AWS IAM): Allow tags parameter on lambda execution role (#9039) 2021-03-08 11:04:32 +01:00
Vishnu Prassad
b2188a20d9
feat(AWS Stream): Add support for custom checkpoint (#9056) 2021-03-05 18:35:30 +01:00
Mariusz Nowak
b90538af08 refactor(Variables): Improve error message related to JS func resolver 2021-03-05 16:20:25 +01:00
Mariusz Nowak
aa9dc0a8dc fix(CLI): Fix dashboard error handler error reporting 2021-03-05 16:20:03 +01:00
Mariusz Nowak
774358271e refactor: Seclude tokenizeException util 2021-03-05 16:20:03 +01:00
Mariusz Nowak
c9087ec4e6 refactor(CLI): Rely on cli/is-help-request util 2021-03-05 16:17:42 +01:00
Piotr Grzesik
b81fd0557f chore: Release 2.28.7 v2.28.7 2021-03-04 11:46:11 +01:00
Piotr Grzesik
4475ed6506 chore: Bump dependencies 2021-03-04 11:46:11 +01:00
Piotr Grzesik
55abaaf6d5 refactor: Revert bluebird from lib/plugins/aws
This reverts commit b11171c70c8f5597e2644f7ea8ec82a17a9eee29.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
217b9751ea refactor: Revert bluebird from lib/plugins/interactiveCli
This reverts commit 7c0ceb5c4a1171666e381ef9a00c6f133569732b.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
399d91b7e4 refactor: Revert bluebird from lib/plugins/package
This reverts commit 0fb0f43919bd3bd4a9c57b9f33bf96a822ce027c.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
ae2c92ced6 refactor: Revert bluebird from lib/plugins/create
This reverts commit 258543ab6e1874ba41be3563346cd7b50993ac58.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
2a9f79f19e refactor: Revert bluebird from lib/plugins/plugin
This reverts commit 9e7960297227b39f05c2619a80e3cac7cb7be1a5.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
7a012d83b9 refactor: Revert remove bluebird from lib/plugins
This reverts commit 8fead7f39e3a5649e87a4ceb6e0c0a28e7f61ea5.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
f62fc2ee9c refactor: Revert removal of bluebird from lib/utils
This reverts commit 820cc1f581bfd502e5452f5c9935301ec86f9d14.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
c41bd64bb2 refactor: Revert removal of bluebird from lib/classes
This reverts commit 1a694ae4aab0a347b018380110b9a436f6c43c1e.
2021-03-04 11:06:44 +01:00
Mariusz Nowak
ccba70a1fb chore: Release v2.28.6 v2.28.6 2021-03-03 15:49:52 +01:00
Mariusz Nowak
d6c7d97dc6 fix(Variables): Ensure to apply intialization patch unconditionally 2021-03-03 15:23:36 +01:00
Dmitry Shirokov
7ba7bb3465
docs: Update docs around provider.iam usage (#9059) 2021-03-03 13:55:19 +01:00
Mariusz Nowak
683e21ab71 chore: Release v2.28.5 v2.28.5 2021-03-03 13:45:37 +01:00
Mariusz Nowak
5565047382 fix(Variables): Report with meaningful error unresolved "plugins" 2021-03-03 13:13:36 +01:00
Mariusz Nowak
390e7d5f15 refactor(Variables): Improve error wording 2021-03-03 13:13:36 +01:00
Mariusz Nowak
25dd575a4d fix(Variables): Fix variables setup for external plugins usage 2021-03-03 13:09:18 +01:00
Mariusz Nowak
37dd7f6e65 chore: Release v2.28.4 v2.28.4 2021-03-03 10:39:06 +01:00
Mariusz Nowak
991299e38d chore: Bump dependencies 2021-03-03 10:39:06 +01:00
Mariusz Nowak
10e1dda23b refactor: Ensure to pass "isConfigurationResolved" to local instance 2021-03-03 10:13:32 +01:00
Mariusz Nowak
68f326e79f fix(Variables): Ensure to not share property cache across resolutions 2021-03-03 10:13:32 +01:00
Mariusz Nowak
4bf2c7b85e test(Variables): Improve test title 2021-03-03 10:13:32 +01:00
Juanjo Diaz
b11171c70c
refactor: Remove bluebird from lib/plugins/aws (#9054) 2021-03-03 09:29:51 +01:00