76 Commits

Author SHA1 Message Date
Max Marze
893bfa7aef
chore: update eslint & prettier (#12553) 2024-05-29 11:51:04 -04:00
Mariusz Nowak
473614d3f3 test: Upgrade tests to not rely on nodejs12.x runtime 2023-05-30 14:20:52 +02:00
Cobb Lee
0d850fcca7
fix(AWS Deploy): Fix handling of inactive CloudFormation stack state
(PR #11863)
2023-03-29 12:44:22 +02:00
SleepWithCoffee
a5a357c087
test: Refactor to async functions under test/unit/lib/plugins/aws/deploy (#11810)
Co-authored-by: SleepWithCoffee <>
2023-03-14 12:15:12 +01:00
Martin Gerlach
7410275f66
feat(AWS Lambda): Ensure logs:TagResource permission to IAM role (#11766)
As announced by AWS in Dec 2022, there is a new API for tagging CloudWatch resources. New accounts/roles that need to tag CloudWatch LogGroups need the new `logs:TagResouce permission`.
2023-02-28 09:25:06 +01:00
Piotr Grzesik
1b2ac24566 fix(AWS Deploy): Improve vague S3-related access errors 2022-07-08 12:19:25 +02:00
Ryan Hartkopf
9eae9652bd
fix(AWS Deploy): Ensure to only remove specific stage deploy artifacts 2022-05-23 17:34:46 +02:00
Piotr Grzesik
0c89939334 refactor: Introduce get-shared-stack-action-params util 2022-04-29 13:45:46 +02:00
Piotr Grzesik
efa3a28f07 feat(AWS Deploy): Re-introduce direct deployment method 2022-04-29 13:45:46 +02:00
Mark Tse
2d2cb3ed11
fix(AWS Deploy): Apply stack policy after executing change sets (#10903) 2022-03-28 17:30:47 +02:00
Mariusz Nowak
2de8cd9e1b test(AWS Deploy): Adapt to changes in @serverless/dashboard-plugin 2022-03-24 20:56:56 +01:00
Mariusz Nowak
6da0b6554e fix(AWS Deploy): Recognize otel extension in check for changes logic 2022-03-22 14:21:43 +01:00
Mariusz Nowak
1461860dab refactor(AWS Deploy): Refactor getMostRecentObjects to async/await 2022-03-22 14:21:43 +01:00
Mariusz Nowak
08ae4d0a33 test(AWS Deploy): Refactor internal test to rely on response generators 2022-03-22 14:21:43 +01:00
Mariusz Nowak
74ef6ef7e5 test(AWS Deploy): Fix internal remote assets resolver 2022-03-22 14:21:43 +01:00
Mariusz Nowak
12d95dcee1 fix(AWS Deploy): Fix handling of state file in check for changes logic 2022-03-22 14:21:43 +01:00
Mariusz Nowak
d181ee00b0 test(AWS Deploy): Improve test configuration 2022-03-22 14:21:43 +01:00
Mariusz Nowak
711b6439e0 refactor(AWS Deploy): Improve internal resolution of hashes 2022-03-22 14:21:43 +01:00
Mariusz Nowak
a80508b621 test(AWS Deploy): Improve tests reliability 2022-03-22 14:21:43 +01:00
Mariusz Nowak
8bb306b56f refactor(AWS Deploy): Refactor to async/await 2022-03-22 14:21:43 +01:00
Mariusz Nowak
c5970e72a3 refactor(AWS Deploy): Refactor to native promises 2022-03-22 14:21:43 +01:00
Mariusz Nowak
8b959860d4 test(AWS Deploy): Improve stubs setup 2022-02-25 20:12:02 +01:00
Mariusz Nowak
e1d2b8251a refactor(AWS Deploy): Refactor extendedValidate to async 2022-02-25 20:12:02 +01:00
Mariusz Nowak
9223b79316 refactor: Generalize S3 upload dirname handling 2022-02-25 20:12:02 +01:00
Mariusz Nowak
5525a3e6f5 refactor(AWS Deploy): Upload state file to deployment bucket 2022-02-25 20:12:02 +01:00
Piotr Grzesik
a2e58cdeae fix(AWS Deploy): Ensure to clear notificationArns if needed 2022-02-01 16:27:49 +01:00
Piotr Grzesik
ee30a7be62 fix(AWS Deploy): Properly apply stackPolicy with changesets 2022-02-01 15:04:12 +01:00
Mariusz Nowak
9c8bca0adf refactor: Rename lib/plugins/aws/deploy/lib/uploadArtifacts.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
d1b72ebd19 refactor: Rename lib/plugins/aws/deploy/lib/validateTemplate.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
ae7bfcfa3f refactor: Rename lib/plugins/aws/deploy/lib/extendedValidate.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
c3e42d6c57 refactor: Rename lib/plugins/aws/deploy/lib/cleanupS3Bucket.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
892e50cfaa refactor: Rename lib/plugins/aws/deploy/lib/checkForChanges.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
44430c9b4b refactor: Rename lib/plugins/aws/lib/normalizeFiles.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
7289137073 refactor: Rename lib/Serverless.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
dcd6bea1b6 test: Rename fixture programmatic/packageArtifact 2022-01-27 15:21:58 +01:00
Mariusz Nowak
43d3207ad3 test: Rename fixture programmatic/packageArtifactInServerlessDir 2022-01-27 15:21:58 +01:00
Mariusz Nowak
4bf951546c test: Rename fixture programmatic/checkForChanges 2022-01-27 15:21:58 +01:00
Piotr Grzesik
82b373e9c7 refactor(AWS Deploy): Use change sets in CF deployments 2022-01-27 15:21:58 +01:00
Mariusz Nowak
6f3a632773 feat(AWS IAM): Deprecate IAM settings grouped directly at provider 2022-01-27 15:21:58 +01:00
Piotr Grzesik
33bd501f06 feat: Error instead of warning when missing "commands" or "options"
BREAKING CHANGE: When creating `Serverless` class instance programatically,
both "options" and "commands" have to be passed via "config" to the constructor.
2022-01-27 15:21:58 +01:00
Mariusz Nowak
b30a2277a7 test: Upgrade @serverless/test to v9 2022-01-27 15:21:58 +01:00
Piotr Grzesik
f35858599a feat(AWS Deploy): Ensure existence of S3 bucket if possible 2021-12-08 14:18:53 +01:00
Mariusz Nowak
ecf2918694 test: Remove dead tests 2021-11-05 18:41:22 +01:00
Piotr Grzesik
cc7d7e4d53 feat(Telemetry): Add projectId to payload 2021-11-03 10:08:32 +01:00
Piotr Grzesik
4da0899673 refactor(CLI): Replace warnings with modern counterparts 2021-10-15 11:09:35 +02:00
Mariusz Nowak
ed372a21dc test: Generalize function fixture 2021-10-04 17:12:58 +02:00
Piotr Grzesik
171897d60e
feat(CLI): Introduce first iteration of modern logs for deploy (#9934) 2021-09-10 15:17:45 +02:00
Mariusz Nowak
9a2511cf90 refactor: Upgrade filesize to v8 2021-08-31 11:07:36 +02:00
Han Sang Hoon (한상훈)
afc9a13386
feat(AWS Lambda): Prevent external subscription filter removal (#9839) 2021-08-24 13:41:08 +02:00
Han Sang Hoon (한상훈)
5c9ca56d14
feat(AWS Lambda): Add support for multiple subscription filters (#9760) 2021-08-12 11:04:26 +02:00