4168 Commits

Author SHA1 Message Date
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
devops hipster in training
946d32cb48
fix(AWS Info): Fix calculation of resources count (#7587) 2020-04-27 15:47:15 +02:00
Bhuser
57fec3f3d0
fix(AWS API Gateway): Fix origin wildcard handling with cors: true
(PR #7482)
2020-04-27 15:16:54 +02:00
Eugene Girshov
4c2a52d1bf
feat(AWS HTTP API): Support payload format version customization (#7623) 2020-04-24 15:58:35 +02:00
ryantoussaint
23bbcea65c
feat(AWS API Gateway): Support operationId setting (#7617) 2020-04-24 12:16:32 +02:00
Mariusz Nowak
90ceecd00d fix(AWS HTTP API): Fix default log format
Fixes #7559
2020-04-24 12:14:37 +02:00
John Mortlock
2e56dea565
fix(AWS S3): Fix error message generation (#7564) 2020-04-23 16:01:54 +02:00
Clar Charron
10c016f353
fix(AWS Stream): Fix configuration of boolean Enabled setting (#7552) 2020-04-23 08:53:39 +02:00
Michael Wolfenden
8abae84b80
fix(AWS SQS): Fix resolution of Enabled property (#7532)
Closes #7438
2020-04-21 14:30:43 +02:00
Yotaro
a6b3154dee
feat(AWS Local Invocation): Support ruby2.7 runtime (#7538) 2020-04-21 14:16:53 +02:00
Tatenda Chawanzwa
8c644f1b07
feat(AWS ALB): Cognito and Oidc authentication support (#7372) 2020-04-17 10:34:20 +02:00
Tanner Barlow
345b9e654b
fix(Templates): Fix Azure Functions Python template (#7452) 2020-04-17 08:20:51 +02:00
Eugene Girshov
7479a9ae82
fix(AWS HTTP API): Support HTTP API name customization (#7434) 2020-04-16 16:48:23 +02:00
Mariusz Nowak
8e85fe611b feat(Standalone): Support China mirror for binary downloads 2020-04-07 10:03:18 +12:00