@gradientedge/cdk-utils 8.7.0 → 8.8.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.
@@ -120,8 +120,6 @@ class GraphQLApiLambdaWithCache extends __1.GraphQLApiLambda {
120
120
  */
121
121
  createLambdaEnvironment() {
122
122
  this.graphQLApiLambdaEnvironment = {
123
- CACHE_REDIS_HOST: `${this.graphQLElastiCache.attrPrimaryEndPointAddress}`,
124
- CACHE_REDIS_PORT: `${this.graphQLElastiCache.attrPrimaryEndPointPort}`,
125
123
  NODE_ENV: this.props.nodeEnv,
126
124
  LOG_LEVEL: this.props.logLevel,
127
125
  TZ: this.props.timezone,
@@ -137,14 +137,6 @@ class ElastiCacheManager {
137
137
  autoMinorVersionUpgrade: props.autoMinorVersionUpgrade,
138
138
  });
139
139
  elasticacheCluster.addDependency(subnetGroup);
140
- if (elasticacheCluster.attrPrimaryEndPointAddress) {
141
- utils.createCfnOutput(`${id}-primaryEndPointAddress`, scope, elasticacheCluster.attrPrimaryEndPointAddress);
142
- utils.createCfnOutput(`${id}-primaryEndPointPort`, scope, elasticacheCluster.attrPrimaryEndPointPort);
143
- }
144
- if (elasticacheCluster.attrConfigurationEndPointAddress) {
145
- utils.createCfnOutput(`${id}-configurationEndPointAddress`, scope, elasticacheCluster.attrConfigurationEndPointAddress);
146
- utils.createCfnOutput(`${id}-configurationEndPointPort`, scope, elasticacheCluster.attrConfigurationEndPointPort);
147
- }
148
140
  return elasticacheCluster;
149
141
  }
150
142
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "8.7.0",
3
+ "version": "8.8.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -120,8 +120,6 @@ export class GraphQLApiLambdaWithCache extends GraphQLApiLambda {
120
120
  */
121
121
  protected createLambdaEnvironment() {
122
122
  this.graphQLApiLambdaEnvironment = {
123
- CACHE_REDIS_HOST: `${this.graphQLElastiCache.attrPrimaryEndPointAddress}`,
124
- CACHE_REDIS_PORT: `${this.graphQLElastiCache.attrPrimaryEndPointPort}`,
125
123
  NODE_ENV: this.props.nodeEnv,
126
124
  LOG_LEVEL: this.props.logLevel,
127
125
  TZ: this.props.timezone,
@@ -137,20 +137,6 @@ export class ElastiCacheManager {
137
137
 
138
138
  elasticacheCluster.addDependency(subnetGroup)
139
139
 
140
- if (elasticacheCluster.attrPrimaryEndPointAddress) {
141
- utils.createCfnOutput(`${id}-primaryEndPointAddress`, scope, elasticacheCluster.attrPrimaryEndPointAddress)
142
- utils.createCfnOutput(`${id}-primaryEndPointPort`, scope, elasticacheCluster.attrPrimaryEndPointPort)
143
- }
144
-
145
- if (elasticacheCluster.attrConfigurationEndPointAddress) {
146
- utils.createCfnOutput(
147
- `${id}-configurationEndPointAddress`,
148
- scope,
149
- elasticacheCluster.attrConfigurationEndPointAddress
150
- )
151
- utils.createCfnOutput(`${id}-configurationEndPointPort`, scope, elasticacheCluster.attrConfigurationEndPointPort)
152
- }
153
-
154
140
  return elasticacheCluster
155
141
  }
156
142
  }