cdk-real-drift 0.12.43 → 0.12.45

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 CHANGED
@@ -3181,6 +3181,7 @@ const VALUE_INDEPENDENT_DEFAULT_TOPLEVEL_PATHS = {
3181
3181
  "PreferredBackupWindow",
3182
3182
  "EngineLifecycleSupport"
3183
3183
  ]),
3184
+ "AWS::RDS::GlobalCluster": new Set(["EngineLifecycleSupport"]),
3184
3185
  "AWS::EKS::Cluster": new Set(["Version"]),
3185
3186
  "AWS::EKS::Addon": new Set(["AddonVersion"]),
3186
3187
  "AWS::Glue::Job": new Set(["MaxCapacity", "AllocatedCapacity"]),
@@ -16043,6 +16044,7 @@ function isUnderCreateOnly(findingPath, createOnlyPaths) {
16043
16044
  }
16044
16045
  return false;
16045
16046
  }
16047
+ const CC_DELETE_UNSUPPORTED_ADDED_TYPES = new Set(["AWS::EC2::NetworkAclEntry"]);
16046
16048
  function buildRevertPlan(findings, baseline, opts = {}) {
16047
16049
  const itemsByLogical = /* @__PURE__ */ new Map();
16048
16050
  const notRevertable = [];
@@ -16099,6 +16101,15 @@ function buildRevertPlan(findings, baseline, opts = {}) {
16099
16101
  });
16100
16102
  continue;
16101
16103
  }
16104
+ if (CC_DELETE_UNSUPPORTED_ADDED_TYPES.has(f.resourceType)) {
16105
+ notRevertable.push({
16106
+ displayId,
16107
+ resourceType: f.resourceType,
16108
+ path: f.path,
16109
+ reason: "out-of-band resource of a type Cloud Control cannot delete (no DeleteResource handler) — remove it manually"
16110
+ });
16111
+ continue;
16112
+ }
16102
16113
  itemsByLogical.set(f.logicalId, {
16103
16114
  logicalId: f.logicalId,
16104
16115
  displayId,