763 Commits

Author SHA1 Message Date
tcastelli
4f273785f4 feat: Support RedrivePolicy configuration on SNS events (#7239) 2020-01-24 13:05:51 +01:00
Mariusz Nowak
8814671435 fix(AWS APIGW): Fix default resource policy configuration
Regression introduced with #7138
Fixes #7194 #7211
2020-01-14 12:56:23 +01:00
Mariusz Nowak
5e63cee340 fix(AWS Lambda): Do not break permission resource
Fixes #7189
2020-01-09 18:28:28 +01:00
Mariusz Nowak
77b92686a7 refactor(AWS Lambda): Do not deep merge when not necessary 2020-01-09 18:28:28 +01:00
Mariusz Nowak
cbf8c74c6d refactor(AWS Lambda): Resolve deep value once 2020-01-09 18:28:28 +01:00
Mariusz Nowak
27cda47cd4 test(AWS Lambda): Improve coverage
Expose #7189
2020-01-09 18:28:28 +01:00
Mariusz Nowak
91f1d2f203 refactor(AWS Lambda): Ensure natural function reference when no alias 2020-01-09 18:28:28 +01:00
Mariusz Nowak
8932307dce test: Ensure to generate tmp files in tmp dir 2020-01-09 14:16:34 +01: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
Christian
560ceee5b3 feat: Support BisectBatchOnFunctionError option on event streams (#7105) 2020-01-07 15:14:34 +01:00
maafk
3236adb040 fix: Remove hard-coded AWS partitions (#7175) 2020-01-07 14:51:08 +01:00
Mariusz Nowak
4821ad21a5 fix(AWS Lambda): Remove AWS issue workaround
Issue was fixed on AWS side, and by next week it should be fixed for
gov-cloud regions.
Still in a meantime other AWS issue emerged,
An "A conflicting deployment is in progress." error,
Which happens only when workaround in question is involved

Fixes #7137
2020-01-03 14:17:03 +01:00
b_d
e662a91d92 fix(AWS APIGW): Fix handling of removal of resourcePolicy setting
Fixes #6789
2019-12-27 21:04:07 +01:00
Mariusz Nowak
2995f8fef9
fix(AWS APIGW): Fix handling of provisionedConcurrency: 0 setting
Fixes #7133
2019-12-24 00:26:37 +01:00
Mariusz Nowak
b05d5bcce3
fix(AWS APIGW): Fix Rest API id detection when no API GW involved
Regression introduced with #7126
2019-12-23 16:10:59 +01:00
Mariusz Nowak
dfa0967ecf
fix(AWS APIGW): Ensure to apply API GW stage settings with no endpoints
Fixes #7036
2019-12-23 13:58:33 +01:00
Mariusz Nowak
4a947b215c
fix(AWS Lambda): Fix CloudWatch logs creation access
Fixes #6241
Closes #6692
2019-12-23 13:58:33 +01:00
Mariusz Nowak
38f6ac125e
fix(AWS APIGW): Ensure to point provisioned version
Addresses #7059
2019-12-23 13:58:33 +01:00
Mariusz Nowak
3210a94ef9
fix(AWS Lambda): Workaround AWS issue related to alias redeployments
Addresses #7059
2019-12-23 13:58:32 +01:00
Mariusz Nowak
eaf9b6117f
fix(AWS Lambda): Fix provisioned concurrency configuration
- So it works with multiple lambda versions
- “internal error” is avoided on change of provisioned
  config configuration

Addresses #7059
2019-12-23 13:58:32 +01:00
Mariusz Nowak
3e2f59e27c
refactor(AWS Lambda): Resolve object once 2019-12-23 13:58:32 +01:00
Mariusz Nowak
388c2993f0
refactor(AWS APIGW): Rely on object destructuring 2019-12-23 13:58:32 +01:00
Mariusz Nowak
cf5497198b
refactor(AWS Lambda): Improve var name 2019-12-23 13:58:32 +01:00
Mariusz Nowak
95a397d731
refactor(AWS Lambda): Improve variables naming 2019-12-23 13:58:31 +01:00
Mariusz Nowak
271499777d
refactor(AWS Lambda): Rely on more reliable Object.assign
_.merge is deep merge, and may introduce unexpected outcome
2019-12-23 13:58:31 +01:00
Mariusz Nowak
6af76ed237
refactor(AWS APIGW): Convert trailing arguments into options 2019-12-23 13:58:31 +01:00
Mariusz Nowak
950036157d
fix: Ensure necessary IAM role for handling existing cognito pools
Fixes #6579
2019-12-20 10:34:07 +01:00
Mariusz Nowak
8148cf2cac
fix: Support differet AWS partitions 2019-12-20 10:34:07 +01:00
Mariusz Nowak
fc74c287f6 fix: Fix AWS partition reference in APIGW CloudWatch role setup
Addresses issue mentioned in #7100
2019-12-18 09:37:17 +01:00
Tuomas Peippo
f9b6507825 feat: Support CF instructions in awsKmsKeyArn setting (#7083) 2019-12-12 15:06:53 +01:00
Mariusz Nowak
1e87d5856d
test: Upgrade to @serverless/test v3 2019-12-12 14:27:40 +01:00
Mariusz Nowak
06cf6ab257
refactor: Gurantee to resolve with promise 2019-12-09 11:59:22 +01:00
Mariusz Nowak
3195e5e98f
fix: Fix provisioned concurrency support
So it doesn't leave outdated versions with configured concurrency

Fixes #7059
2019-12-09 11:59:22 +01:00
Mariusz Nowak
006af9e8f5
refactor: Cleanup conditional 2019-12-09 11:59:21 +01:00
Mariusz Nowak
fb86af5880
refactor: Abort unnecessary work 2019-12-09 11:59:21 +01:00
Mariusz Nowak
f29dd7943e
fix: Do not set optional ParallelizationFactor when not explicitly set
Fixes #7049
2019-12-09 11:59:21 +01:00
Mariusz Nowak
89f2368450
refactor: Improve generation of EventSourceMapping resource 2019-12-09 11:59:21 +01:00
Mariusz Nowak
9a2f95bc03
fix: Ensure to not create cognito pools marked as 'existing' 2019-12-06 15:35:19 +01:00
Avinash Reddy Erupaka
998b6fd296 feat: MaximumRetryAttempts config for stream
Closes #7012
2019-12-05 12:24:31 +01:00
Mariusz Nowak
578c1bc3ba fix: Revert fix for handing of removal of custom APIGW policy (#7048)
Adding policy implies different behaviour than when no policy is added

This reverts commit 802f81fa5c8048e4f8fb0b792594a357928df877.
2019-12-04 16:26:10 +01:00
b_d
802f81fa5c fix: Fix handing of removal of custom APIGW resource policy (#7002)
* provide open resource policy when none provided
Resolves #6789.

* provide open resource policy when none provided
Resolves #6789.

* Don't export policy / comment behavior
2019-12-04 14:39:18 +01:00
Mariusz Nowak
1cf29ff561
Fix handling of provisionedConcurrency handling 2019-12-04 11:16:17 +01:00
Mariusz Nowak
937cd92a43
Refactor setup of function versioning 2019-12-04 11:16:17 +01:00
Mariusz Nowak
0347b15d95
Merge branch 'master' into lambda-provisioned-concurrency 2019-12-04 07:25:01 +01:00
Philipp Muens
e080dd2a12
Merge pull request #7035 from tinexw/websocket-loglevel
Add option to change log level for websocket logs
2019-12-03 14:27:55 +01:00
Mariusz Nowak
ad59d22398
Merge branch 'master' into fix-custom-rest-api-id-handling 2019-12-03 14:02:41 +01:00
Mariusz Nowak
2c07334039
Fix resolution of custom Rest API id 2019-12-03 14:01:22 +01:00
Mariusz Nowak
540ef7ae6f
Fix custom rest API id handling test 2019-12-03 14:01:03 +01:00
Mariusz Nowak
dea6ac36d4
Update test after recent changes 2019-12-03 13:44:06 +01:00
Mariusz Nowak
90bdf46859
Merge branch 'master' into limit-sdk-updates-to-local-apigw 2019-12-03 13:40:10 +01:00