59 Commits

Author SHA1 Message Date
Piotr Grzesik
c5ae9798d2
feat(AWS Lambda): Increase memory limits per changes on AWS side (#8569) 2020-12-02 13:50:19 +01:00
Mariusz Nowak
3808471972 test: Move unit tests to "test/unit" folder 2020-11-30 16:53:52 +01:00
Mariusz Nowak
4b3c3552ea test(AWS CloudFront): Improve organization, prepare for refactor 2020-11-20 12:48:52 +01:00
Mariusz Nowak
f60fb55a0b fix: Ensure to inspect configuraiton after it's fully resolved 2020-11-06 14:51:53 +01:00
Mariusz Nowak
61f90a362d fix(AWS CloudFront): Ensure to log deprecation at initialization stage 2020-11-03 14:10:38 +01:00
Frédéric Barthelet
479727e1f4
feat(AWS CloudFront): Switch from ForwardedValues to cache policies
(PR #8381)
2020-10-27 17:36:20 +01:00
Mariusz Nowak
2c874e22c9 refactor(Config Schema): Convert oneOf to more optimal anyOf 2020-10-16 12:30:32 +02:00
Johannes Edelstam
5b740f6e18
feat(Config Schema): Fix cloudFront event behavior schema (#8308) 2020-10-01 14:49:00 +02:00
Oz Weiss
8943693c33
feat(Config Schema): Schema for AWS cloudfront event (#8250) 2020-09-22 10:03:15 +02:00
Mariusz Nowak
05921b61ee test: Upgrade to use new fixtures engine 2020-09-09 11:17:21 +02:00
Mariusz Nowak
8c3c7c4e3a chore: Rename "tests" folder to "test"
Also upgrade @serverless/eslint-config to v2
2020-08-28 16:22:09 +02:00
Petr Reshetin
268f714357
feat: Schema based validation of service config (#7335)
Co-authored-by: Mariusz Nowak <medyk@medikoo.com>
2020-08-03 15:41:05 +02:00
Mariusz Nowak
d608402428 test: Upgrade to @serverless/test v4.2 2020-07-10 17:35:23 +02:00
Mariusz Nowak
cad1f0af82 test: Upgrade @serverless/test to v4 2020-07-10 17:35:23 +02:00
Nguyễn Việt Đức
d6cf036c16
refactor: Replace _.findKey with Object.keys(object).find (#7881) 2020-07-01 09:23:46 +02:00
Antonio Caiazzo
304a50261d
fix(AWS CloudFront): Fix merge of template configuration (#7739) 2020-05-18 12:14:20 +02:00
Ahmad Mahmoud Mohammad
a1472ba6f0
fix(AWS CloudFront): Ensure lambda edge has no vpc or env (#7721) 2020-05-13 13:21:31 +02:00
kingkong123
3a80140890
Add includeBody param for Lambda@edge (#7667)
* Add `includeBody` param for Lambda@edge

* update `includeBody`

* `includeBody` fix

* update `includeBody` handling
2020-05-07 11:01:47 +02: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
Philipp Muens
028c5d714a Formatting 2019-11-05 10:23:35 +01:00
Winston Wright
5e63a5e674 Update AWS Limits on Lambda@Edge 2019-11-04 12:00:57 -06:00
Philipp Muens
f7838880dd
Merge pull request #6880 from DanConway/master
Find origin by domain name and path
2019-10-28 12:34:17 +01:00
Philipp Muens
5313b2a4df Fix region error handling in Lambda@Edge implementation 2019-10-25 13:46:53 +02:00
Philipp Muens
7accce7c1b Fix typo 2019-10-25 12:19:28 +02:00
Dan Conway
a5480ce483 fix: prettify 2019-10-24 20:02:08 +01:00
Dan Conway
cbb42ce240 fix: Find origins using domain name and path 2019-10-24 18:04:46 +01:00
Philipp Muens
3a7d77b4ff Use hooks to log Lambda@Edge removal reminder 2019-09-09 13:31:51 +02:00
Philipp Muens
9faeb5048a Support functions without events in CloudFront remove logging 2019-09-06 13:22:26 +02:00
Philipp Muens
b3506b4737 Only call logRemoveReminder on removals 2019-09-05 12:51:07 +02:00
Philipp Muens
8ea498f546 Restructure tests 2019-09-05 12:51:07 +02:00
Philipp Muens
baf7f4a8cd Validate memorySize and timeout properties 2019-09-05 12:51:07 +02:00
Philipp Muens
5d0dde6930 Only log removal info when cloudFront event is used 2019-09-05 12:51:07 +02:00
Philipp Muens
2247030fc3 Remove support for async stack deployments / removals 2019-09-05 12:51:07 +02:00
Philipp Muens
071da8952a Fix tests 2019-09-05 12:51:07 +02:00
Philipp Muens
7aa8ab096c Add support for async stack remove operations 2019-09-05 12:51:07 +02:00
Philipp Muens
ae0967943b Add DeletionPolicy of Retain to Lambda@Edge functions 2019-09-05 12:51:07 +02:00
Philipp Muens
e20a026dc5 Add support for async stack deploy operations 2019-09-05 12:51:07 +02:00
Philipp Muens
23c0350245 Automatically set necessary CloudFront function defaults 2019-09-05 12:51:07 +02:00
Philipp Muens
ada1055009 Address PR review comments 2019-09-05 12:51:06 +02:00
Philipp Muens
dce68432cb Run Prettier 2019-09-05 12:51:06 +02:00
Eetu Tuomala
d879730866 use lodash to check empty values, change version function order 2019-09-05 12:51:06 +02:00
Eetu Tuomala
4c99b2d237 add test for prepareFunctions and naming 2019-09-05 12:51:06 +02:00
Eetu Tuomala
aeb3bb5a93 fix node 4 and 6 related syntax errors 2019-09-05 12:51:06 +02:00
Eetu Tuomala
cc526ff850 add cloudfront to enpoints info, fix target origin id test, add cloudfront to getStackinfo test 2019-09-05 12:51:06 +02:00
Eetu Tuomala
d3f54ea62f refactor origin and behavior indexing 2019-09-05 12:51:06 +02:00
Eetu Tuomala
4ff6f25912 join origins with same path and behavior with same origin target 2019-09-05 12:51:06 +02:00
Eetu Tuomala
a9e7391f82 add policies to tests 2019-09-05 12:51:06 +02:00
Eetu Tuomala
92dcc76da5 add cloudwatch logs permissions for lambda@edge 2019-09-05 12:51:06 +02:00
Eetu Tuomala
0ab041a201 add comment to cloudfront distribution 2019-09-05 12:51:06 +02:00