Mariusz Nowak
521861b651
refactor(AWS Deploy): Improve custom resource generation log
2022-01-12 16:33:14 +01:00
Mariusz Nowak
0f0b85a637
refactor(CLI): Convert custom resoource related log
2021-09-22 16:01:35 +02:00
Jake Scott
6193d3867e
feat(AWS EventBridge): Support disabling a rule ( #9865 )
...
* Support being able to disable an eventbridge rule
* Pass state to custom resource handler
* Add docs
* Add unit tests for enabling or disabling an eventBridge rule
2021-08-21 23:16:48 +02:00
Sean Dawson
70fb8b9861
fix(Packaging): Fix artifact generation with temp path on other device
...
(PR #9616 )
2021-06-28 09:54:58 +02:00
Mariusz Nowak
8d56d0e520
style: Prettier
2021-05-10 13:07:44 +02:00
Piotr Grzesik
fbf0ed30e9
refactor: Add code to ServerlessError in lib/plugins/aws
2021-04-23 13:34:20 +02:00
Mariusz Nowak
87d380275b
refactor: Replace config.servicePath with service.dir
2021-04-16 13:32:13 +02:00
Piotr Grzesik
50e4425883
fix(AWS API Gateway): Proper stage resolution for custom resource
2021-04-09 10:44:35 +02:00
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. ( #8897 )
2021-02-09 09:20:55 +01:00
Piotr Grzesik
533106515e
fix: Complete async refactor for aws/deploy and customResources
2021-01-20 13:43:07 +01:00
ifitzsimmons
c45f661178
refactor: Mark functions async in aws/customResources and aws/deploy
2021-01-19 21:36:18 +01:00
Dmitry Shirokov
4afdb8314b
refactor: Abstract resolution of deployment role ( #8751 )
2021-01-14 12:14:33 +01:00
Piotr Grzesik
c3f59e4d78
refactor: Seclude ensureExists util
2021-01-12 11:53:37 +01:00
Dmitry Shirokov
77e1a6a302
refactor: Cleanup mergeIamTemplates module ( #8736 )
2021-01-12 09:23:46 +01:00
Mariusz Nowak
cf7b25e458
style: Upgrade "prettier" to v2
2021-01-04 16:21:24 +01:00
Mariusz Nowak
3808471972
test: Move unit tests to "test/unit" folder
2020-11-30 16:53:52 +01:00
Graham McGregor
06f6c6d28e
refactor: Refactor some functions to native promises ( #8533 )
2020-11-25 13:40:48 +01:00
Filip Pýrek
4ce9037f8c
fix: Support log retention at custom resource lambda log groups ( #8456 )
2020-11-02 10:17:02 +01:00
Pratik Prajapati
a3ebc01f2b
feat(AWS Deploy): Retry retryable SDK errors in custom resources ( #8338 )
2020-10-07 13:22:16 +02:00
Mariusz Nowak
0597cfb7b3
chore: Upgrade ESLint configuration to support ES2019 syntax
2020-09-10 13:26:17 +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
Sedat Can Yalçın
258c692c47
perf(Packaging): Remove aws-sdk installation step ( #8110 )
2020-08-21 15:03:12 +02:00
Mariusz Nowak
c872c143ba
refactor: Seclude generic version artifacts handlers
2020-07-27 11:42:02 +02:00
Mariusz Nowak
2ebb46a2f4
style: Fix lint issues
2020-05-15 16:40:19 +02:00
Kenan Christian Dimas
c106d53638
refactor: Upgrade 'fs-extra' to v8 ( #7719 )
2020-05-13 16:16:17 +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
Mariusz Nowak
0898664c68
fix(AWS Cognito): Fix pool update handling
2020-03-05 10:26:08 +13:00
Callum Smits
7d67f33b08
fix: Add source account to lambda permissions for s3 events ( #7417 )
2020-03-03 15:28:21 +13:00
Frédéric Barthelet
103fdacc29
fix: Ensure AWS EventBrigde target ids fit 64 chars limit ( #7359 )
2020-02-21 12:41:30 +13: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
84b1d1eb11
fix: Fix custom resource lambda artifact generation
...
When multiple custom resources where generated,
then multiple times we tried to copy generated zip file
into service folder.
On same occasions it crashed with EPERM or ENOENT errors
2019-12-23 13:57:51 +01:00
Mariusz Nowak
5e448e7d1d
refactor: Ensure to return promise from async function
2019-12-23 13:57:51 +01:00
Mariusz Nowak
10d0078d19
refactor: Move cachedFilePath resolution into memoized function
...
In tests run, each file starts with different homedir
2019-12-20 10:34:07 +01:00
Mariusz Nowak
ddf3bf40a3
refactor: Centralize npm command resolution
...
It's to provide a room to support alternative npm locations
2019-12-18 09:36:52 +01:00
Mariusz Nowak
14806d79b0
test: Improve error exposure
2019-12-12 14:27:40 +01:00
Mariusz Nowak
6ace028a33
Fix zip file handling
2019-12-02 16:48:58 +01:00
Mariusz Nowak
952a6c6223
Cleanup
2019-12-02 16:29:24 +01:00
Mariusz Nowak
a0a565b9e5
Optimize custom resources generation
2019-12-02 15:12:42 +01:00
jmb12686
67d84780bd
remove getPartition function. Pass partition in thru handler
2019-11-25 07:44:15 -05:00
jmb12686
80b47d0b8c
run linter
2019-11-22 15:01:14 -05:00
jmb12686
c2e3eb67d7
prettify fix
2019-11-22 14:52:35 -05:00
jmb12686
bcea1de7dc
Add flexible parsing of arns with AWS Partitions, including govcloud and china regions. Add utility function to obtain partition from region
2019-11-22 14:40:32 -05:00
jmb12686
3049b79f40
run prettier on updated files
2019-11-21 16:57:51 -05:00
jmb12686
6abf0cf77e
fix typo and linting fixes
2019-11-21 16:16:52 -05:00
jmb12686
c61dc47f9d
Fix handling of arns in GovCloud east and west regions
2019-11-21 16:15:02 -05:00
Mariusz Nowak
d66e457572
Ensure to update tests with a new runtime
2019-11-20 11:11:20 +01:00
Mariusz Nowak
8148cfc6cc
Rely on new runtime in custom resource lambdas
2019-11-20 09:50:34 +01:00
Philipp Muens
3d24e8af38
Pass role arn into custom CloudFormation resource
2019-10-24 13:30:34 +02:00
Mariusz Nowak
b749213029
Fix custom resource tests
2019-10-23 11:49:58 +02:00
Mariusz Nowak
ce6d155948
Fix DependsOn handling
2019-10-23 11:10:02 +02:00