@gradientedge/cdk-utils 8.6.0 → 8.7.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.
|
@@ -137,8 +137,14 @@ class ElastiCacheManager {
|
|
|
137
137
|
autoMinorVersionUpgrade: props.autoMinorVersionUpgrade,
|
|
138
138
|
});
|
|
139
139
|
elasticacheCluster.addDependency(subnetGroup);
|
|
140
|
-
|
|
141
|
-
|
|
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
|
+
}
|
|
142
148
|
return elasticacheCluster;
|
|
143
149
|
}
|
|
144
150
|
}
|
package/package.json
CHANGED
|
@@ -137,8 +137,19 @@ export class ElastiCacheManager {
|
|
|
137
137
|
|
|
138
138
|
elasticacheCluster.addDependency(subnetGroup)
|
|
139
139
|
|
|
140
|
-
|
|
141
|
-
|
|
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
|
+
}
|
|
142
153
|
|
|
143
154
|
return elasticacheCluster
|
|
144
155
|
}
|