@gradientedge/cdk-utils 8.48.0 → 8.50.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.
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.
|
|
9
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/cjs/src/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/cjs/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.
|
|
11
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/cjs/src/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/cjs/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/mkdirp@3.0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/cjs/src/bin.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/mkdirp@3.0.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/cjs/src/bin.js" "$@"
|
|
17
17
|
fi
|
|
@@ -235,6 +235,7 @@ class SiteWithEcsBackend extends common_1.CommonConstruct {
|
|
|
235
235
|
memoryLimitMiB: this.props.siteTask.memoryLimitMiB,
|
|
236
236
|
healthCheckGracePeriod: cdk.Duration.seconds(60),
|
|
237
237
|
assignPublicIp: true,
|
|
238
|
+
minHealthyPercent: this.props.siteTask.minHealthyPercent,
|
|
238
239
|
taskDefinition: this.props.siteTask.taskDefinition,
|
|
239
240
|
taskImageOptions: {
|
|
240
241
|
enableLogging: true,
|
|
@@ -300,8 +301,9 @@ class SiteWithEcsBackend extends common_1.CommonConstruct {
|
|
|
300
301
|
/* if enabled, add efs with access point and mount */
|
|
301
302
|
if (this.props.siteFileSystem) {
|
|
302
303
|
this.siteFileSystem = this.efsManager.createFileSystem(`${this.id}-fs`, this, this.props.siteFileSystem, this.siteVpc, this.props.siteFileSystemAccessPoints);
|
|
303
|
-
/* allow access to EFS from Fargate ECS service */
|
|
304
|
+
/* allow access to/from EFS from Fargate ECS service */
|
|
304
305
|
this.siteFileSystem.connections.allowDefaultPortFrom(this.siteEcsService.connections);
|
|
306
|
+
this.siteFileSystem.connections.allowDefaultPortTo(this.siteEcsService.connections);
|
|
305
307
|
/* add the efs volume to ecs task definition */
|
|
306
308
|
this.siteEcsTaskDefinition.addVolume({
|
|
307
309
|
name: `${this.id}-fs`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradientedge/cdk-utils",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.50.0",
|
|
4
4
|
"description": "Utilities for AWS CDK provisioning",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@types/lodash": "^4.14.
|
|
48
|
+
"@types/lodash": "^4.14.194",
|
|
49
49
|
"@types/node": "^18.15.11",
|
|
50
50
|
"app-root-path": "^3.1.0",
|
|
51
|
-
"aws-cdk-lib": "^2.
|
|
51
|
+
"aws-cdk-lib": "^2.77.0",
|
|
52
52
|
"@aws-sdk/client-secrets-manager": "^3.312.0",
|
|
53
|
-
"constructs": "^10.
|
|
53
|
+
"constructs": "^10.2.12",
|
|
54
54
|
"lodash": "^4.17.21",
|
|
55
55
|
"moment": "^2.29.4",
|
|
56
56
|
"nconf": "^0.12.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@types/jest": "^29.5.0",
|
|
65
65
|
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
|
66
66
|
"@typescript-eslint/parser": "^5.58.0",
|
|
67
|
-
"aws-cdk": "^2.
|
|
67
|
+
"aws-cdk": "^2.77.0",
|
|
68
68
|
"better-docs": "^2.7.2",
|
|
69
69
|
"codecov": "^3.8.3",
|
|
70
70
|
"commitizen": "^4.3.0",
|
|
@@ -258,6 +258,7 @@ export class SiteWithEcsBackend extends CommonConstruct {
|
|
|
258
258
|
memoryLimitMiB: this.props.siteTask.memoryLimitMiB,
|
|
259
259
|
healthCheckGracePeriod: cdk.Duration.seconds(60),
|
|
260
260
|
assignPublicIp: true,
|
|
261
|
+
minHealthyPercent: this.props.siteTask.minHealthyPercent,
|
|
261
262
|
taskDefinition: this.props.siteTask.taskDefinition,
|
|
262
263
|
taskImageOptions: {
|
|
263
264
|
enableLogging: true,
|
|
@@ -339,8 +340,9 @@ export class SiteWithEcsBackend extends CommonConstruct {
|
|
|
339
340
|
this.props.siteFileSystemAccessPoints
|
|
340
341
|
)
|
|
341
342
|
|
|
342
|
-
/* allow access to EFS from Fargate ECS service */
|
|
343
|
+
/* allow access to/from EFS from Fargate ECS service */
|
|
343
344
|
this.siteFileSystem.connections.allowDefaultPortFrom(this.siteEcsService.connections)
|
|
345
|
+
this.siteFileSystem.connections.allowDefaultPortTo(this.siteEcsService.connections)
|
|
344
346
|
|
|
345
347
|
/* add the efs volume to ecs task definition */
|
|
346
348
|
this.siteEcsTaskDefinition.addVolume({
|