@gradientedge/cdk-utils 9.22.0 → 9.23.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.
@@ -12,7 +12,6 @@ const lodash_1 = __importDefault(require("lodash"));
12
12
  const common_1 = require("../../common");
13
13
  const utils_1 = require("../../utils");
14
14
  const cloudfront_1 = require("../cloudfront");
15
- const systems_manager_1 = require("../systems-manager");
16
15
  /**
17
16
  * @classdesc Provides operations on AWS Lambda
18
17
  * - A new instance of this class is injected into {@link CommonConstruct} constructor.
@@ -89,9 +88,6 @@ class LambdaManager {
89
88
  code,
90
89
  deadLetterQueue,
91
90
  environment: {
92
- LAST_MODIFIED_TS: props.excludeLastModifiedTimestamp
93
- ? ''
94
- : scope.ssmManager.readStringParameter(`${id}-sm-ts`, scope, `${systems_manager_1.SsmManager.SECRETS_MODIFIED_TIMESTAMP_PARAM}`),
95
91
  LOG_LEVEL: props.logLevel,
96
92
  REGION: scope.props.region,
97
93
  STAGE: scope.props.stage,
@@ -194,9 +190,6 @@ class LambdaManager {
194
190
  code,
195
191
  deadLetterQueue,
196
192
  environment: {
197
- LAST_MODIFIED_TS: props.excludeLastModifiedTimestamp
198
- ? ''
199
- : scope.ssmManager.readStringParameter(`${id}-sm-ts`, scope, `${systems_manager_1.SsmManager.SECRETS_MODIFIED_TIMESTAMP_PARAM}`),
200
193
  LOG_LEVEL: props.logLevel,
201
194
  REGION: scope.props.region,
202
195
  STAGE: scope.props.stage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "9.22.0",
3
+ "version": "9.23.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -130,13 +130,6 @@ export class LambdaManager {
130
130
  code,
131
131
  deadLetterQueue,
132
132
  environment: {
133
- LAST_MODIFIED_TS: props.excludeLastModifiedTimestamp
134
- ? ''
135
- : scope.ssmManager.readStringParameter(
136
- `${id}-sm-ts`,
137
- scope,
138
- `${SsmManager.SECRETS_MODIFIED_TIMESTAMP_PARAM}`
139
- ),
140
133
  LOG_LEVEL: props.logLevel,
141
134
  REGION: scope.props.region,
142
135
  STAGE: scope.props.stage,
@@ -291,13 +284,6 @@ export class LambdaManager {
291
284
  code,
292
285
  deadLetterQueue,
293
286
  environment: {
294
- LAST_MODIFIED_TS: props.excludeLastModifiedTimestamp
295
- ? ''
296
- : scope.ssmManager.readStringParameter(
297
- `${id}-sm-ts`,
298
- scope,
299
- `${SsmManager.SECRETS_MODIFIED_TIMESTAMP_PARAM}`
300
- ),
301
287
  LOG_LEVEL: props.logLevel,
302
288
  REGION: scope.props.region,
303
289
  STAGE: scope.props.stage,