116 Commits

Author SHA1 Message Date
ifitzsimmons
c5ba682a6b
refactor: Use async/await in events/apiGateway. (#8869) 2021-02-09 15:28:48 +01:00
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. (#8897) 2021-02-09 09:20:55 +01:00
Piotr Grzesik
c5639d21ea fix(AWS Lambda): Ensure proper normalization of ecr repo name 2021-02-08 11:47:05 +01:00
ifitzsimmons
f95971d22b
refactor: Use async/await in lib/plugins. (#8875) 2021-02-08 11:40:42 +01:00
Piotr Grzesik
816394c6e5 fix(AWS Deploy): Gracefully handle denied access to ecr 2021-02-05 20:56:05 +01:00
Mariusz Nowak
7c998e03ca test(AWS Deploy): Specify refactor of checkForChanges tests 2021-02-03 15:50:15 +01:00
ifitzsimmons
61dd3bde8d
refactor: Use async in compile/events/websockets (#8874)
Covered the following paths:
* `lib/plugins/aws/package/compile/events/websockets`

Made changes to tests where necessary.
2021-02-03 10:13:20 +01:00
Piotr Grzesik
785f97b1a9 feat(AWS Lambda): Add ability to customize file for Dockerfile 2021-02-02 10:20:53 +01:00
Piotr Grzesik
e79f906b9f fix(Templates): Ensure that .gitignore is packaged for templates 2021-01-28 15:51:55 +01:00
Łukasz Jendrysik
7ccb176e27
test(Packaging): Refactor to use runServerless (#8721) 2021-01-27 17:34:03 +01:00
Sam Stenvall
4dff8e53a6
fix: Fix AWS tags validation schema (#8766) 2021-01-26 14:55:52 +01:00
Ben Scholzen
a108b761d0
fix(AWS CloudFront): Ensure unique names for cache policy
* Make CloudFrontCachePolicy names unique between services and stages - fixes #8818

* Add note to docs about new Cache Policy naming
2021-01-26 14:46:49 +01:00
lewgordon
ff605018a7
feat(AWS Lambda): Add support for self-managed kafka event 2021-01-25 21:41:51 +01:00
Mariusz Nowak
4aa9e189e1 test(Packaging): Cleanup tests and spec 2021-01-25 11:41:58 +01:00
ifitzsimmons
8a92be9be3
feat: Support kmsKeyArn for deploy function 2021-01-24 20:12:05 +01:00
Mariusz Nowak
f274cd7637 refactor: Seclude configuration parse from internals 2021-01-22 14:57:10 +01:00
Tomás Milar
708f6a7e26
fix(Packaging): Properly exclude devDependencies on Windows (#8803) 2021-01-21 20:55:21 +01:00
Piotr Grzesik
9a5553742a
feat(AWS Lambda): Add support for image config (#8778) 2021-01-21 11:51:09 +01:00
Mariusz Nowak
9a7c539203 test: Remove problematic test 2021-01-21 11:50:06 +01:00
Piotr Grzesik
420e93740f
fix(AWS Lambda): Ensure function update works when image used (#8786) 2021-01-20 18:33:31 +01:00
Piotr Grzesik
533106515e fix: Complete async refactor for aws/deploy and customResources 2021-01-20 13:43:07 +01:00
Cem Enson
4a30bb1e5b
fix(AWS API Gateway): Correctly set throttle when quota missing 2021-01-20 09:01:14 +01:00
ifitzsimmons
c45f661178
refactor: Mark functions async in aws/customResources and aws/deploy 2021-01-19 21:36:18 +01:00
Igor Omelchenko
03847769cd
fix(AWS API Gateway): Silence timeout warning for async: true (#8748) 2021-01-19 13:24:09 +01:00
Piotr Grzesik
e4f368ced9 fix(AWS Lambda): Ensure to attempt ECR login on expired token 2021-01-18 17:44:26 +01:00
Mariusz Nowak
b23bfdbf6a refactor(CLI): Seclude service config path resolution out of internals 2021-01-18 16:19:12 +01:00
Mariusz Nowak
8173a36b7c refactor: Refactor to async/await 2021-01-18 16:19:12 +01:00
Mariusz Nowak
1ca268c902 test: Refactor to async/await 2021-01-18 16:19:12 +01:00
Piotr Grzesik
789c2e35ab
feat(AWS Lambda): Add support for building Docker images (#8725) 2021-01-18 11:32:33 +01:00
caiobessa
a3648657cd
test: Refactor compile layers tests to use runServerless 2021-01-17 21:00:48 +01:00
Ben Scholzen
c3a61e234b
fix(AWS CloudFront): Fix check for deprecated CacheBehavior properties 2021-01-15 18:32:34 +01:00
Piotr Grzesik
0f7b31b593 test: Cleanup invalid before in packageService.test.js 2021-01-14 14:32:43 +01:00
Piotr Grzesik
7ffb559630 test: Dont rely on updateConfig between multiple packageService tests 2021-01-14 13:26:14 +01:00
Dmitry Shirokov
4afdb8314b
refactor: Abstract resolution of deployment role (#8751) 2021-01-14 12:14:33 +01:00
Piotr Grzesik
77f10f2358 test: Refactor several AwsDeploy tests to runServerless 2021-01-12 12:07:06 +01:00
Piotr Grzesik
29fe118b66 test: Cover AwsRemove with runServerless-based tests 2021-01-12 11:19:04 +01:00
Dmitry Shirokov
77e1a6a302
refactor: Cleanup mergeIamTemplates module (#8736) 2021-01-12 09:23:46 +01:00
Dmitry Shirokov
2b7568a960
refactor: Typos in schema (#8735) 2021-01-10 16:42:20 +01:00
Robert Bragg
bcbbd47fa0
fix(Packaging): Consider absolute artifact paths (#8325) (#8315)
Co-authored-by: Piotr Grzesik <pj.grzesik@gmail.com>
2021-01-07 13:53:00 +01:00
Frédéric Barthelet
2efc3570c9
refactor: Use @serverless/utils for cloudformationSchema (#8705) 2021-01-06 12:01:02 +01:00
lewgordon
44603830a6
test: Refactor some tests for AWS invoke to use runServerless. (#8668) 2021-01-06 10:44:38 +01:00
Frédéric Barthelet
66aa66fbfe
refactor: Replace _.set with native assignment 2021-01-05 11:18:10 +01:00
Mariusz Nowak
b14338332c refactor: Upgrade "js-yaml" to v4 2021-01-04 21:54:43 +01:00
Mariusz Nowak
dde9b85965 refactor: Improve var naming 2021-01-04 21:54:43 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Frédéric Barthelet
7d80245839
feat: AWS iotFleetProvisioning event support (#8324) 2021-01-04 11:09:02 +01:00
Frédéric Barthelet
eacae9a64d
feat(AWS API Gateway): Move api-specific keys to provider.apiGateway 2021-01-04 10:04:57 +01:00
Raymond van der Straten
bf418ac6ca fix(AWS Lambda): Permissions on lambda layer retained 2020-12-30 12:38:24 +01:00
Piotr Grzesik
68b7ed5089 feat(AWS Lambda): Support referencing images with tags 2020-12-29 15:45:19 +01:00
Mariusz Nowak
120bfb7c02 fix(AWS CloudFront): Ensure to describe resolved stage in comment 2020-12-29 15:06:58 +01:00