@gradientedge/cdk-utils 6.12.0 → 6.14.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.
@@ -73,6 +73,7 @@ class ApiManager {
73
73
  documentationVersion: props.deployOptions?.documentationVersion,
74
74
  variables: props.deployOptions?.variables,
75
75
  methodOptions: props.deployOptions?.methodOptions,
76
+ loggingLevel: props.deployOptions?.loggingLevel,
76
77
  },
77
78
  retainDeployments: props.retainDeployments,
78
79
  parameters: props.parameters,
@@ -85,7 +85,7 @@ class LambdaManager {
85
85
  */
86
86
  createLambdaFunction(id, scope, props, role, layers, code, handler, environment, vpc, securityGroups, accessPoint, mountPath, vpcSubnets) {
87
87
  if (!props)
88
- throw `Lambda props undefined`;
88
+ throw `Lambda props undefined for ${id}`;
89
89
  const functionName = `${props.functionName}-${scope.props.stage}`;
90
90
  let deadLetterQueue;
91
91
  if (props.deadLetterQueueEnabled && props.dlq) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "6.12.0",
3
+ "version": "6.14.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.185",
49
- "@types/node": "^18.7.18",
48
+ "@types/lodash": "^4.14.186",
49
+ "@types/node": "^18.8.4",
50
50
  "app-root-path": "^3.1.0",
51
- "aws-cdk-lib": "^2.42.1",
52
- "aws-sdk": "^2.1219.0",
53
- "constructs": "^10.1.107",
51
+ "aws-cdk-lib": "^2.45.0",
52
+ "aws-sdk": "^2.1231.0",
53
+ "constructs": "^10.1.129",
54
54
  "lodash": "^4.17.21",
55
55
  "moment": "^2.29.4",
56
56
  "nconf": "^0.12.0",
@@ -59,36 +59,36 @@
59
59
  },
60
60
  "devDependencies": {
61
61
  "@babel/plugin-proposal-class-properties": "^7.18.6",
62
- "@types/jest": "^29.0.3",
63
- "@typescript-eslint/eslint-plugin": "^5.38.0",
64
- "@typescript-eslint/parser": "^5.38.0",
62
+ "@types/jest": "^29.1.2",
63
+ "@typescript-eslint/eslint-plugin": "^5.40.0",
64
+ "@typescript-eslint/parser": "^5.40.0",
65
65
  "aws-cdk": "*",
66
66
  "babel-eslint": "^10.1.0",
67
67
  "better-docs": "^2.7.2",
68
68
  "codecov": "^3.8.3",
69
69
  "commitizen": "^4.2.5",
70
- "dotenv": "^16.0.2",
71
- "eslint": "^8.23.1",
70
+ "dotenv": "^16.0.3",
71
+ "eslint": "^8.25.0",
72
72
  "eslint-config-prettier": "^8.5.0",
73
73
  "eslint-plugin-import": "^2.26.0",
74
74
  "husky": "^8.0.1",
75
- "jest": "^29.0.3",
75
+ "jest": "^29.1.2",
76
76
  "jest-extended": "^3.1.0",
77
77
  "jest-junit": "^14.0.1",
78
78
  "jsdoc": "^3.6.11",
79
79
  "jsdoc-babel": "^0.5.0",
80
80
  "jsdoc-mermaid": "^1.0.0",
81
- "lerna": "^5.5.1",
81
+ "lerna": "^5.6.2",
82
82
  "prettier": "^2.7.1",
83
83
  "prettier-plugin-organize-imports": "^3.1.1",
84
84
  "rimraf": "^3.0.2",
85
85
  "semantic-release": "^19.0.5",
86
- "ts-jest": "^29.0.1",
86
+ "ts-jest": "^29.0.3",
87
87
  "ts-node": "^10.9.1",
88
- "typescript": "4.8.3"
88
+ "typescript": "4.8.4"
89
89
  },
90
90
  "optionalDependencies": {
91
- "@babel/core": "^7.19.1",
91
+ "@babel/core": "^7.19.3",
92
92
  "prop-types": "^15.8.1",
93
93
  "react": "^18.2.0",
94
94
  "react-dom": "^18.2.0"
@@ -56,6 +56,7 @@ export class ApiManager {
56
56
  documentationVersion: props.deployOptions?.documentationVersion,
57
57
  variables: props.deployOptions?.variables,
58
58
  methodOptions: props.deployOptions?.methodOptions,
59
+ loggingLevel: props.deployOptions?.loggingLevel,
59
60
  },
60
61
  retainDeployments: props.retainDeployments,
61
62
  parameters: props.parameters,
@@ -81,7 +81,7 @@ export class LambdaManager {
81
81
  mountPath?: string,
82
82
  vpcSubnets?: ec2.SubnetSelection
83
83
  ) {
84
- if (!props) throw `Lambda props undefined`
84
+ if (!props) throw `Lambda props undefined for ${id}`
85
85
 
86
86
  const functionName = `${props.functionName}-${scope.props.stage}`
87
87