cdk-real-drift 0.12.103 → 0.12.104
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.
- package/dist/cli.js +8 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6493,6 +6493,13 @@ function classifyResource(resource, liveRaw, schema, opts = {}) {
|
|
|
6493
6493
|
for (const src of Object.values(SHAPE_ECHO_TWIN[resourceType] ?? {})) if (isNestedObject(declared[src])) twinSources[src] = declared[src];
|
|
6494
6494
|
const sfnDefinitionObject = resourceType === "AWS::StepFunctions::StateMachine" && isNestedObject(declared["Definition"]) ? declared["Definition"] : void 0;
|
|
6495
6495
|
const sfnDefinitionSubstitutions = resourceType === "AWS::StepFunctions::StateMachine" && isNestedObject(declared["DefinitionSubstitutions"]) ? declared["DefinitionSubstitutions"] : void 0;
|
|
6496
|
+
const elastiCacheRgDeclaredShape = resourceType === "AWS::ElastiCache::ReplicationGroup" ? {
|
|
6497
|
+
NumNodeGroups: declared["NumNodeGroups"],
|
|
6498
|
+
NodeGroupConfiguration: declared["NodeGroupConfiguration"],
|
|
6499
|
+
ReplicasPerNodeGroup: declared["ReplicasPerNodeGroup"],
|
|
6500
|
+
ClusterMode: declared["ClusterMode"],
|
|
6501
|
+
Engine: declared["Engine"]
|
|
6502
|
+
} : void 0;
|
|
6496
6503
|
deepStripPaths(declared, schema.writeOnlyPaths);
|
|
6497
6504
|
if (sfnDefinitionSubstitutions !== void 0 && typeof declared["DefinitionString"] === "string") declared["DefinitionString"] = applyDefinitionSubstitutions(declared["DefinitionString"], sfnDefinitionSubstitutions);
|
|
6498
6505
|
if (resourceType === "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" && typeof physicalId === "string") {
|
|
@@ -7263,7 +7270,7 @@ function classifyResource(resource, liveRaw, schema, opts = {}) {
|
|
|
7263
7270
|
continue;
|
|
7264
7271
|
}
|
|
7265
7272
|
if (resourceType === "AWS::ElastiCache::ReplicationGroup") {
|
|
7266
|
-
const rgDerived = elastiCacheReplicationGroupDerivedDefault(k, declared);
|
|
7273
|
+
const rgDerived = elastiCacheReplicationGroupDerivedDefault(k, elastiCacheRgDeclaredShape ?? declared);
|
|
7267
7274
|
if (rgDerived !== void 0) {
|
|
7268
7275
|
findings.push({
|
|
7269
7276
|
tier: matchesKnownDefault(v, rgDerived.value) ? "atDefault" : "undeclared",
|