cdk-real-drift 0.4.25 → 0.4.26

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
@@ -13764,7 +13764,7 @@ async function revertStack(p) {
13764
13764
  try {
13765
13765
  const writer = resolveSdkWriter(item.resourceType, item.ops);
13766
13766
  if (!writer) throw new Error(`no SDK writer for ${item.resourceType}`);
13767
- const identifier = CC_IDENTIFIER_ADAPTERS[item.resourceType]?.(item.physicalId, res?.declared ?? {}) ?? item.physicalId;
13767
+ const identifier = CC_IDENTIFIER_ADAPTERS[item.resourceType]?.(item.physicalId, res?.declared ?? {}, region, gathered.desired.accountId) ?? item.physicalId;
13768
13768
  await writer({
13769
13769
  physicalId: item.physicalId,
13770
13770
  identifier,
@@ -13783,7 +13783,7 @@ async function revertStack(p) {
13783
13783
  }, buildRetryOpts(item.displayId));
13784
13784
  } else {
13785
13785
  const res = byLogical.get(item.logicalId);
13786
- const identifier = CC_IDENTIFIER_ADAPTERS[item.resourceType]?.(item.physicalId, res?.declared ?? {}) ?? item.physicalId;
13786
+ const identifier = CC_IDENTIFIER_ADAPTERS[item.resourceType]?.(item.physicalId, res?.declared ?? {}, region, gathered.desired.accountId) ?? item.physicalId;
13787
13787
  const tagged = tagPreservingOps(item.ops, gathered.liveByLogical.get(item.logicalId));
13788
13788
  const extra = writeOnlyReincludeOps(res?.declared, gathered.schemas.get(item.resourceType), tagged);
13789
13789
  const strip = rejectedEmptyStripOps(item.resourceType, [...tagged, ...extra], gathered.liveByLogical.get(item.logicalId));