@gradientedge/cdk-utils 8.25.0 → 8.27.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.
@@ -123,6 +123,7 @@ class LambdaManager {
123
123
  vpc: vpc,
124
124
  vpcSubnets: vpcSubnets,
125
125
  tracing: props.tracing,
126
+ insightsVersion: props.insightsVersion,
126
127
  },
127
128
  });
128
129
  utils.createCfnOutput(`${id}-lambdaArn`, scope, lambdaFunction.functionArn);
@@ -197,6 +198,7 @@ class LambdaManager {
197
198
  vpc: vpc,
198
199
  vpcSubnets: vpcSubnets,
199
200
  tracing: props.tracing,
201
+ insightsVersion: props.insightsVersion,
200
202
  },
201
203
  });
202
204
  utils.createCfnOutput(`${id}-lambdaArn`, scope, lambdaFunction.functionArn);
@@ -112,7 +112,7 @@ class SSMParameterReader extends cr.AwsCustomResource {
112
112
  Name: `${parameterName}-${scope.props.stage}`,
113
113
  },
114
114
  region,
115
- physicalResourceId: cr.PhysicalResourceId.of(name),
115
+ physicalResourceId: cr.PhysicalResourceId.of(Date.now().toString()),
116
116
  };
117
117
  super(scope, name, {
118
118
  onUpdate: ssmAwsSdkCall,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "8.25.0",
3
+ "version": "8.27.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -126,6 +126,7 @@ export class LambdaManager {
126
126
  vpc: vpc,
127
127
  vpcSubnets: vpcSubnets,
128
128
  tracing: props.tracing,
129
+ insightsVersion: props.insightsVersion,
129
130
  },
130
131
  })
131
132
 
@@ -246,6 +247,7 @@ export class LambdaManager {
246
247
  vpc: vpc,
247
248
  vpcSubnets: vpcSubnets,
248
249
  tracing: props.tracing,
250
+ insightsVersion: props.insightsVersion,
249
251
  },
250
252
  })
251
253
 
@@ -98,7 +98,7 @@ export class SSMParameterReader extends cr.AwsCustomResource {
98
98
  Name: `${parameterName}-${scope.props.stage}`,
99
99
  },
100
100
  region,
101
- physicalResourceId: cr.PhysicalResourceId.of(name),
101
+ physicalResourceId: cr.PhysicalResourceId.of(Date.now().toString()),
102
102
  }
103
103
 
104
104
  super(scope, name, {