4181 Commits

Author SHA1 Message Date
Mariusz Nowak
f9f6a3b560 fix(AWS API Gateway): Fix API key names resolution
Regression introduced by #5982, with which new format was introduced, and resolution of API key names was not updated to it
2020-06-02 11:00:02 +02:00
Chris Villanueva
003696260c
refactor: Replace _.find with array.find (#7782) 2020-06-02 09:43:56 +02:00
Michał Mrozek
4074739476
feat(AWS HTTP API): Support externally configured JWT authorizers
(PR #7789)
2020-06-01 14:45:03 +02:00
Alex DeBrie
2e4377ecf0
feat(AWS API Gateway): Simplify referencing local CognitoUserPool
(PR #7799)
2020-06-01 14:19:09 +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
Satoru Kikuchi
87d40aa8a7
feat(AWS API Gateway): Support toggling CloudWatch metrics (#7754) 2020-05-28 09:31:31 +02:00
Greg Campion
c6894b5129
feat(AWS API Gateway): Support customerId in API keys (#7786) 2020-05-28 09:29:01 +02:00
Chris Villanueva
d43241ea8b
refactor: Replace _.keys with Object.keys (#7784) 2020-05-28 09:25:20 +02:00
Tanner Barlow
9611137982
feat(Templates): Azure C# template (#7738) 2020-05-26 22:15:03 +02:00
Midhun Rajendran
dac7c56b26
refactor: Replace _.filter with array.filter (#7775) 2020-05-26 11:01:23 +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
Chris Villanueva
d1721cb2b4
refactor: Replace _.every(array) with array.every (#7764) 2020-05-26 10:17:30 +02:00
Ahmad Mahmoud Mohammad
4724cb8eeb
refactor: Replace inquirer with @serverless/inquirer (#7729) 2020-05-26 10:12:24 +02:00
Mariusz Nowak
dd902e8bc5 test: Reliable reproduction test for #7753 2020-05-21 17:00:15 +02:00
Thomas Aribart
aa48f0a076
fix(AWS API Gateway): Apply contentHandling only to successful responses
(PR #7757)
2020-05-21 13:22:02 +02:00
Mariusz Nowak
398027eb65
test: Ensure test is not immune to race condition
We observe occasional fails due to differently sorted results
2020-05-21 10:40:13 +02:00
Mariusz Nowak
b97e2b4211
fix(AWS Deploy): Fix packaging logic after #7742 regression
Ensure that custom package.artifact is resolved as expected
2020-05-20 17:36:22 +02:00
Nguyễn Việt Đức
b245596dbb
refactor: Upgrade globby to v9 (#7750) 2020-05-20 13:47:00 +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
TATSUNO Yasuhiro
de4aee3f25
fix: Fix packaging logic after regression introduced with #7742 (#7743) 2020-05-19 10:22:54 +02:00
Alex Soto
4252422a94
fix(AWS Local Invocation): Ensure to mount as read only in docker
(PR #7622)
2020-05-18 21:45:07 +02:00
Antonio Caiazzo
304a50261d
fix(AWS CloudFront): Fix merge of template configuration (#7739) 2020-05-18 12:14:20 +02:00
TATSUNO Yasuhiro
05499e6083
fix: Fix changes detection when user package artifact is involved
(PR #7742)
2020-05-18 12:08:37 +02:00
Mariusz Nowak
2ebb46a2f4
style: Fix lint issues 2020-05-15 16:40:19 +02:00
Mariusz Nowak
cf1692f1a4 fix(AWS API Gateway): Fix handling stage settings when in nested stack
Uncoditionally search for Rest API if `http` events are configured
2020-05-15 13:11:55 +02:00
Mariusz Nowak
e472a0491a fix(AWS API Gateway): Improve configuration validation
Confirm on deployment not just Rest API
2020-05-15 13:11:55 +02:00
Ahmad Mahmoud Mohammad
2a26493951
fix(AWS Lambda): Fix DependsOn handling in case of disabled logs (#7731) 2020-05-15 09:56:10 +02:00
Ahmad Mahmoud Mohammad
d8222fa0dc
fix(AWS IAM): Remove iamRoleLambdaExecution from DependsOn (#7722) 2020-05-14 15:48:06 +02:00
Kenan Christian Dimas
c106d53638
refactor: Upgrade 'fs-extra' to v8 (#7719) 2020-05-13 16:16:17 +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
Ahmad Mahmoud Mohammad
3144be82d1
feat(AWS Lambda): Support disableLogs setting for functions (#7720) 2020-05-13 13:14:02 +02:00
Nikody Keating
a0a43a68f3
feat: Support provider.stackParameters (#7677)
It's to inject CloudFormation `Parameters` at creation or update
2020-05-12 09:03:00 +02:00
Mariusz Nowak
08dc745cbf fix(AWS IAM): Fix role and policy name resolution
Custom stack name should be used only for CloudFormation stack.

Regression introduced with #7357
2020-05-11 13:39:35 +02:00
Stuart Lang
a5a136f982
feat(Templates): Update aws-fsharp to netcoreapp3.1 (#7709) 2020-05-11 12:29:31 +02:00
Joseph Woodward
46df82ea92
feat(Templates): Update aws-csharp to .NET Core 3.1 (#7708) 2020-05-11 12:26:42 +02:00
TATSUNO Yasuhiro
3fe2e98f15
refactor: Replace _.isArray with native Array.isArray (#7703) 2020-05-11 10:24:41 +02:00
Mariusz Nowak
6b3a78950c fix(AWS Deploy): Fix generation of custom resource lambda zip
So far in case of packaging process being stopped in a middle, we were left with broken zip that was accepted for further deployment.

FIx is to generate zip to temporary directory and move it once generation of archive is finalized
2020-05-07 14:59:28 +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
Jagdeep Singh
7e1dd66f8e
fix(AWS Stream): Fix handling of configuration properties (#7682) 2020-05-07 08:39:29 +02:00
Mariusz Nowak
81953ef74c fix(AWS API Gateway): Ensure to update stage only for deployed API's
So far updateStage logic was invoked also when it shouldn't be applied, and that produced different issues

Fixes #6699 #7186 #7650
2020-05-06 12:30:36 +02:00
Ahmad Mahmoud Mohammad
fb4ea153f0
feat(AWS API Gateway): Support singular string value for CORS header
(PR #7668)
2020-05-04 17:03:29 +02:00
Mariusz Nowak
48a16854a9 refactor(AWS CloudFormation): Improve conditional logic 2020-05-04 16:07:38 +02:00
Ahmad Mahmoud Mohammad
1db8c5e472
refactor(AWS Deploy): Remove misleading -v shortcut (#7666)
`-v` is actually a shortcut for global `--version` option
2020-05-04 15:58:20 +02:00
Thomas Aribart
a1fde35db4
fix(AWS EventBridge): Ensure no duplicate event bus IAM policies (#7644) 2020-05-04 12:50:02 +02:00
Ahmad Mahmoud Mohammad
03ad56b8e1
fix: Fix function version param handling in rollback function command
(PR #7648)
2020-05-04 09:57:51 +02:00
Mariusz Nowak
b6e54f06e2
refactor(AWS HTTP API): Fix wording of error message 2020-05-04 09:08:32 +02:00
Thomas Aribart
bd9fbfb392
fix(AWS API Gateway): Fix visibility of ..-Allow-Credentials CORS header
(PR #7576)
2020-04-30 18:58:38 +02:00
Conrad
9416e72cba
feat(AWS SQS): Support maximumRetryAttempts option (#7620) 2020-04-28 18:41:40 +02:00