@gradientedge/cdk-utils 8.6.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,8 +137,6 @@ class ElastiCacheManager {
|
|
|
137
137
|
autoMinorVersionUpgrade: props.autoMinorVersionUpgrade,
|
|
138
138
|
});
|
|
139
139
|
elasticacheCluster.addDependency(subnetGroup);
|
|
140
|
-
utils.createCfnOutput(`${id}-primaryEndPointPort`, scope, elasticacheCluster.attrPrimaryEndPointPort);
|
|
141
|
-
utils.createCfnOutput(`${id}-primaryEndPointAddress`, scope, elasticacheCluster.attrPrimaryEndPointAddress);
|
|
142
140
|
return elasticacheCluster;
|
|
143
141
|
}
|
|
144
142
|
}
|
package/package.json
CHANGED
|
@@ -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,9 +137,6 @@ export class ElastiCacheManager {
|
|
|
137
137
|
|
|
138
138
|
elasticacheCluster.addDependency(subnetGroup)
|
|
139
139
|
|
|
140
|
-
utils.createCfnOutput(`${id}-primaryEndPointPort`, scope, elasticacheCluster.attrPrimaryEndPointPort)
|
|
141
|
-
utils.createCfnOutput(`${id}-primaryEndPointAddress`, scope, elasticacheCluster.attrPrimaryEndPointAddress)
|
|
142
|
-
|
|
143
140
|
return elasticacheCluster
|
|
144
141
|
}
|
|
145
142
|
}
|