@adobe/helix-deploy 13.2.15 → 13.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/package.json +2 -2
- package/src/deploy/AWSConfig.js +20 -2
- package/src/deploy/AWSDeployer.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [13.3.0](https://github.com/adobe/helix-deploy/compare/v13.2.15...v13.3.0) (2026-02-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* review feedback ([75022c0](https://github.com/adobe/helix-deploy/commit/75022c0dbc1523fe895f7e09f2c0000b5179e035))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add support for configuring Lambda ephemeral storage (/tmp size) ([94697d4](https://github.com/adobe/helix-deploy/commit/94697d49bd4f6d24b28fb73d5f761d3cabc4641c))
|
|
12
|
+
|
|
1
13
|
## [13.2.15](https://github.com/adobe/helix-deploy/compare/v13.2.14...v13.2.15) (2026-02-23)
|
|
2
14
|
|
|
3
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-deploy",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.3.0",
|
|
4
4
|
"description": "Library and Commandline Tools to build and deploy OpenWhisk Actions",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/adobe/helix-deploy#readme",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"yargs": "18.0.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@adobe/eslint-config-helix": "3.0.
|
|
63
|
+
"@adobe/eslint-config-helix": "3.0.21",
|
|
64
64
|
"@adobe/helix-shared-wrap": "2.0.2",
|
|
65
65
|
"@adobe/helix-status": "10.1.5",
|
|
66
66
|
"@eslint/config-helpers": "0.5.2",
|
package/src/deploy/AWSConfig.js
CHANGED
|
@@ -37,6 +37,7 @@ export default class AWSConfig {
|
|
|
37
37
|
extraPermissions: undefined,
|
|
38
38
|
tags: undefined,
|
|
39
39
|
handler: undefined,
|
|
40
|
+
ephemeralStorage: undefined,
|
|
40
41
|
});
|
|
41
42
|
}
|
|
42
43
|
|
|
@@ -62,7 +63,8 @@ export default class AWSConfig {
|
|
|
62
63
|
.withAWSTracingMode(argv.awsTracingMode)
|
|
63
64
|
.withAWSExtraPermissions(argv.awsExtraPermissions)
|
|
64
65
|
.withAWSTags(argv.awsTags)
|
|
65
|
-
.withAWSHandler(argv.awsHandler)
|
|
66
|
+
.withAWSHandler(argv.awsHandler)
|
|
67
|
+
.withAWSEphemeralStorage(argv.awsEphemeralStorage);
|
|
66
68
|
}
|
|
67
69
|
|
|
68
70
|
withAWSRegion(value) {
|
|
@@ -176,13 +178,25 @@ export default class AWSConfig {
|
|
|
176
178
|
return this;
|
|
177
179
|
}
|
|
178
180
|
|
|
181
|
+
withAWSEphemeralStorage(value) {
|
|
182
|
+
if (value !== undefined) {
|
|
183
|
+
const size = Number(value);
|
|
184
|
+
if (!(size >= 512 && size <= 10240)) {
|
|
185
|
+
throw new Error('aws-ephemeral-storage must be an integer between 512 and 10240 (MB)');
|
|
186
|
+
}
|
|
187
|
+
this.ephemeralStorage = size;
|
|
188
|
+
}
|
|
189
|
+
return this;
|
|
190
|
+
}
|
|
191
|
+
|
|
179
192
|
static yarg(yargs) {
|
|
180
193
|
return yargs
|
|
181
194
|
.group(['aws-region', 'aws-api', 'aws-role', 'aws-cleanup-buckets', 'aws-cleanup-integrations',
|
|
182
195
|
'aws-cleanup-versions', 'aws-link-routes', 'aws-create-routes', 'aws-create-authorizer', 'aws-attach-authorizer',
|
|
183
196
|
'aws-lambda-format', 'aws-parameter-manager', 'aws-deploy-template', 'aws-arch', 'aws-update-secrets',
|
|
184
197
|
'aws-deploy-bucket', 'aws-identity-source', 'aws-log-format', 'aws-layers',
|
|
185
|
-
'aws-tracing-mode', 'aws-extra-permissions', 'aws-tags', 'aws-handler'
|
|
198
|
+
'aws-tracing-mode', 'aws-extra-permissions', 'aws-tags', 'aws-handler',
|
|
199
|
+
'aws-ephemeral-storage'], 'AWS Deployment Options')
|
|
186
200
|
.option('aws-region', {
|
|
187
201
|
description: 'the AWS region to deploy lambda functions to',
|
|
188
202
|
type: 'string',
|
|
@@ -286,6 +300,10 @@ export default class AWSConfig {
|
|
|
286
300
|
.option('aws-handler', {
|
|
287
301
|
description: 'Set custom lambda Handler. For example, set if an AWS layer provides another function entry point.',
|
|
288
302
|
type: 'string',
|
|
303
|
+
})
|
|
304
|
+
.option('aws-ephemeral-storage', {
|
|
305
|
+
description: 'Size of the Lambda /tmp ephemeral storage in MB (512-10240). Default is 512 MB.',
|
|
306
|
+
type: 'number',
|
|
289
307
|
});
|
|
290
308
|
}
|
|
291
309
|
}
|
|
@@ -253,6 +253,8 @@ export default class AWSDeployer extends BaseDeployer {
|
|
|
253
253
|
LoggingConfig: this._cfg.logFormat ? { Format: this._cfg.logFormat } : undefined,
|
|
254
254
|
Layers: this._cfg.layers || [],
|
|
255
255
|
TracingConfig: this._cfg.tracingMode ? { Mode: this._cfg.tracingMode } : undefined,
|
|
256
|
+
EphemeralStorage: this._cfg.ephemeralStorage
|
|
257
|
+
? { Size: this._cfg.ephemeralStorage } : undefined,
|
|
256
258
|
};
|
|
257
259
|
|
|
258
260
|
// add additional tags which are not empty
|