598 Commits

Author SHA1 Message Date
Mars Lan
b0ca2376bb
feat: Do not retry AWS requests if the token has expired (#9914) 2021-09-06 16:16:39 +02:00
Piotr Grzesik
f096440440 test(AWS Lambda): Fix activemq integration test 2021-09-03 13:19:59 +02:00
lewgordon
cacb529925
feat(AWS Lambda): Add support for activemq event (#8840)
Co-authored-by: Lew Gordon <lew.gordon@genesys.com>
Co-authored-by: Piotr Grzesik <pj.grzesik@gmail.com>
2021-09-03 12:24:47 +02:00
Piotr Grzesik
63743ade31 fix(AWS Lambda): Recognize Fn::If function for environment 2021-09-01 18:16:36 +02:00
Seung-Chan Ahn
3abc2f0642
feat(AWS CloudFront): Support behavior.CachePolicyId (#9895)
Co-authored-by: Seungchan Ahn <seungchan.ahn@tridge.com>
2021-09-01 10:39:55 +02:00
Mariusz Nowak
9a2511cf90 refactor: Upgrade filesize to v8 2021-08-31 11:07:36 +02:00
Mariusz Nowak
bbb6c6cd7d feat(CLI): Enable env variables in provider.stage property 2021-08-31 10:02:47 +02:00
Sudipto Das
05fff98a00
refactor: Replace fse.writeFile with fs.promises.writeFile (#9870) 2021-08-30 11:08:47 +02:00
Mariusz Nowak
56e9423cd7 refactor(Variables): Enable early sls:stage resolution 2021-08-27 14:54:15 +02:00
Mariusz Nowak
479569a185 test(Variables): Refactor util signature 2021-08-27 14:54:15 +02:00
Mariusz Nowak
cb109dd835 fix(AWS API Gateway): Fix request validator triage 2021-08-27 13:09:46 +02:00
Joseph Cha
cc1693ce7b
chore: Refactor provider.role tests (#9869) 2021-08-24 15:27:27 +02:00
Piotr Grzesik
f69a19c680 feat(CLI Onboarding): Improve onboarding messaging 2021-08-24 13:58:44 +02:00
Han Sang Hoon (한상훈)
afc9a13386
feat(AWS Lambda): Prevent external subscription filter removal (#9839) 2021-08-24 13:41:08 +02:00
Remigiusz Orłowski
0682ba8b6a
refactor: Convert to async/await upload and rollback functions (#9866) 2021-08-24 11:11:59 +02:00
Piotr Grzesik
db98eb3266 test: Ensure proper aws-sdk patch in provider tests 2021-08-23 12:01:55 +02:00
Jake Scott
6193d3867e
feat(AWS EventBridge): Support disabling a rule (#9865)
* Support being able to disable an eventbridge rule

* Pass state to custom resource handler

* Add docs

* Add unit tests for enabling or disabling an eventBridge rule
2021-08-21 23:16:48 +02:00
Karim Kanso
7e9bfd63fc
fix(AWS HTTP API): Always allow to define catch-all route (#9840) 2021-08-20 10:27:48 +02:00
Thiago Moraes
ef5a8faf13
feat(AWS HTTP API): Support shouldStartNameWithService option (#9758) 2021-08-18 22:36:00 +02:00
Piotr Grzesik
00fdba1546 refactor(Telemetry): Recognize notificationsMode 2021-08-17 21:02:09 +02:00
Piotr Grzesik
0ca6aaae52 fix(AWS HTTP API): Properly handle authorizer function with alias 2021-08-16 16:07:37 +02:00
Sudipto Das
bb0484e6b5
refactor: Replace fse.stat with fs.promises.stat (#9845) 2021-08-16 15:39:01 +02:00
Piotr Grzesik
b751c505c8 refactor(CLI Onboarding): Adjust summary messages in deploy step 2021-08-13 13:16:32 +02:00
Han Sang Hoon (한상훈)
5c9ca56d14
feat(AWS Lambda): Add support for multiple subscription filters (#9760) 2021-08-12 11:04:26 +02:00
Piotr Grzesik
dc74f41470 fix(AWS Layers): Support references to external layers 2021-08-11 15:03:27 +02:00
Piotr Grzesik
0e01d9e337 refactor(AWS API Gateway): Adjust deprecation for identitySource 2021-08-11 13:34:35 +02:00
Piotr Grzesik
d53c80d456 test(AWS API Gateway): Fix integration test for API Gateway 2021-08-10 21:30:55 +02:00
Piotr Grzesik
378a8f426d refactor(AWS API Gateway): Deprecate default identitySource 2021-08-10 16:51:51 +02:00
Mariusz Nowak
847dd8f475 feat(AWS IAM): Resign from deprecating old format of IAM settings 2021-08-09 12:23:52 +02:00
Lewis Putz
f0ae032252
fix(AWS API Gateway): Ensure MinimumCompressionSize can be 0 (#9806) 2021-08-06 10:13:22 +02:00
Karim Kanso
d2754594c4
fix(AWS API Gateway): Ensure to attach validator when required (#9793) 2021-08-04 12:49:22 +02:00
Nyambayar Turbat
4b87497875
refactor: Use async in lib/plugins/create (#9683) 2021-08-02 16:50:54 +02:00
Piotr Grzesik
60d729b5d4 feat(Telemetry): Detect used variable sources 2021-07-28 13:18:31 +02:00
Shane R. Spencer
612f668c93
feat(Variables): Accept case-insensitive strings in strToBool (#9770)
* Lowercase stringValue to allow for wider range of inputs.

This change simply adds toLowerCase() when assigning stringValue to allow enable a case-insensitive input (True, TRUE, False, False)

* Update variables.md

Added documentation showing lowercase change to strToBool

* Update str-to-bool.test.js

Added uppercase/mixedcase test

* Update str-to-bool.test.js

fixed test description for str-to-bool case checks

* fix linting/prettier issues with strToBool test/func patch
2021-07-27 13:53:58 +02:00
Nyambayar Turbat
377da097c5
refactor: Use async in lib/plugins/plugin (#9680)
* configure async in lib/plugins/plugin

* using runserverless to check function validate()

* removing unnecessary test
2021-07-27 13:51:43 +02:00
Sudipto Das
1e00f9edfb
refactor: Replace fse.readdir with fs.promises.readdir (#9780) 2021-07-26 14:36:44 +02:00
Mariusz Nowak
9844f4477d test: Ensure input is properly resolved in local fallback 2021-07-22 10:10:24 +02:00
Piotr Grzesik
4d56be562a refactor(Telemetry): Use prompt-with-history 2021-07-22 08:42:57 +02:00
Piotr Grzesik
afdf77c960 refactor(CLI Onboarding): Move dashboard-set-org from plugin 2021-07-20 17:18:36 +02:00
Piotr Grzesik
adef7102df refactor(CLI Onboarding): Move dashboard-login step from plugin 2021-07-20 17:18:36 +02:00
Piotr Grzesik
b85f3934ed fix(CLI Onboarding): Ensure credentials resolution before deploy 2021-07-19 16:43:44 +02:00
Mariusz Nowak
791f3acdc3 test: Cover serverless-step-functions plugin 2021-07-19 09:42:06 +02:00
Mariusz Nowak
922ec0093f fix: Fix functions[] validation (ignore null values) 2021-07-16 10:56:06 +02:00
Sudipto Das
daee1d5375
refactor: Replace fse.unlink with fs.promises.unlink (#9754) 2021-07-16 09:27:13 +02:00
Ikko Ashimine
d7c4c1efcb
test: Fix title typo (#9752) 2021-07-15 17:15:53 +02:00
Mariusz Nowak
5ceca3c04a test: Cover serverless-plugin-typescript plugin 2021-07-15 15:58:41 +02:00
Piotr Grzesik
6f494888cc feat(AWS CloudFormation): Allow to disable default export names 2021-07-15 12:11:11 +02:00
Mariusz Nowak
8c741d1d97 fix(Variables): In ssm source auto parse only object JSON notation 2021-07-15 11:20:13 +02:00
David Asensio Cañas
186496922a
feat(CLI): Automatically expand loaded env variables (#9615) 2021-07-15 10:19:42 +02:00
Mariusz Nowak
4b25b92be4 test: Coverserverless-iam-roles-per-function with integration tests 2021-07-15 10:18:16 +02:00