@cdkd/cli 0.341.0 → 0.341.1

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.
Files changed (31) hide show
  1. package/dist/{asg-provider-BT_0gh9s.js → asg-provider-BAtESAWA.js} +2 -2
  2. package/dist/{asg-provider-BT_0gh9s.js.map → asg-provider-BAtESAWA.js.map} +1 -1
  3. package/dist/cli.js +2 -2
  4. package/dist/{db-instance-modify-retry-CCbm-DKl.js → db-instance-modify-retry-DWfH-8xJ.js} +2 -2
  5. package/dist/{db-instance-modify-retry-CCbm-DKl.js.map → db-instance-modify-retry-DWfH-8xJ.js.map} +1 -1
  6. package/dist/{deploy-engine-BZSAOzE6.js → deploy-engine-CGUvIYNR.js} +135 -27
  7. package/dist/deploy-engine-CGUvIYNR.js.map +1 -0
  8. package/dist/{ecr-uri-DmkrTyRF.js → ecr-uri-XErmp-WT.js} +2 -2
  9. package/dist/{ecr-uri-DmkrTyRF.js.map → ecr-uri-XErmp-WT.js.map} +1 -1
  10. package/dist/{iam-role-provider-CbUqsAAi.js → iam-role-provider-D9Q0YoPK.js} +2 -2
  11. package/dist/{iam-role-provider-CbUqsAAi.js.map → iam-role-provider-D9Q0YoPK.js.map} +1 -1
  12. package/dist/index.d.ts +3 -0
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +2 -2
  15. package/dist/{neptune-provider-DlQ-_thp.js → neptune-provider-CdvFGM7h.js} +3 -3
  16. package/dist/{neptune-provider-DlQ-_thp.js.map → neptune-provider-CdvFGM7h.js.map} +1 -1
  17. package/dist/{program-7VC8uSCL.js → program-DTlJetBn.js} +168 -40
  18. package/dist/program-DTlJetBn.js.map +1 -0
  19. package/dist/{provider-classes-0cQAzv7Y.js → provider-classes-BlYx16N0.js} +8 -8
  20. package/dist/{provider-classes-0cQAzv7Y.js.map → provider-classes-BlYx16N0.js.map} +1 -1
  21. package/dist/{rds-provider-CaaoK9Yu.js → rds-provider-Dexme8bI.js} +19 -14
  22. package/dist/rds-provider-Dexme8bI.js.map +1 -0
  23. package/dist/{read-replica-DyG0ZkQJ.js → read-replica-BZcBe5RN.js} +2 -2
  24. package/dist/{read-replica-DyG0ZkQJ.js.map → read-replica-BZcBe5RN.js.map} +1 -1
  25. package/dist/update-removal-CNj3wKPR.js.map +1 -1
  26. package/dist/{version-B7cmr9JA.js → version-B9pb2Csa.js} +2 -2
  27. package/dist/{version-B7cmr9JA.js.map → version-B9pb2Csa.js.map} +1 -1
  28. package/package.json +1 -1
  29. package/dist/deploy-engine-BZSAOzE6.js.map +0 -1
  30. package/dist/program-7VC8uSCL.js.map +0 -1
  31. package/dist/rds-provider-CaaoK9Yu.js.map +0 -1
@@ -4,7 +4,7 @@ import { C as isRecreateRetryableError, D as relayedNameCollision, E as markRepl
4
4
  import { a as setAssumedRoleCredentials, c as ambientRegion, i as getPreAssumeEnvCredentials, n as awsClientDefaults, o as setPreAssumeEnvCredentials, r as getAssumedRoleCredentials, s as quietS3Logger, t as SECOND_ROLE_PUBLISH_REFUSAL } from "./aws-client-defaults-BLXFsfMa.js";
5
5
  import { l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-D3Z_tFc1.js";
6
6
  import { At as segmentAfterAnchor, B as resolveExplicitPhysicalId, Ct as canonicalizeRoute53QueryName, Dt as logicalIdShown, F as isQuotableImportValue, Ft as maskDeep, G as compensateProtectionFlip, Gt as isAuxiliaryMarkOf, H as assertRegionMatch, Ht as createdResourceIdentityBeforeFailure, I as normalizeAwsTagsToCfn, It as maskerOrIdentity, J as observeThenDisableProtection, K as deleteWithProtectionCompensation, Kt as markAuxiliaryFailure, L as quotedRemedyLogicalId, Lt as withDerivedNameMasks, Mt as createMaskedLogSinks, Nt as createMaskedRetryLogger, Pt as isSecretDerivedValue, R as refusalTypeShown, Rt as RETRY_AUXILIARY_OWNER, St as startInterruptWatch, Tt as compositeIdSeparatorRefusal, U as isMarkedNotGone, Ut as hasCreatedBeforeFailure, V as RESOURCE_NOT_FOUND, Vt as createdBeforeFailure, W as markNotGone, Wt as isAuxiliaryFailure, Xt as UNREPRODUCIBLE_LOCK_CLAUSE, Yt as replayMadeAnotherResource, Zt as buildForceUnlockCommand, an as CUSTOM_RESOURCE_RESPONSE_PREFIX, at as isTerminalDeleteFailure, c as clearCreatedReport, ct as ElapsedBudget, dt as DELETION_PROTECTION_DOC_POINTER, en as formatLockExpiry, f as retractCreatedResource, fn as withPasteableAwsProfile, g as holdsSecretDerivedEntry, gt as protectedReplacementAdvice, ht as pasteableAwsCommand, in as sanitizeRecoveryValue, it as ProtectionFlipRegistry, j as withoutServerErrorRetries, jt as stateOrphanRecordRemedy, kt as resourceTypeShown, l as collectCreatedResources, lt as ElapsedBudgetRegistry, n as prepareRemovalForUpdate, nn as formatLockOwner, o as withoutInjectedRemovals, on as DEFAULT_STATE_PREFIX, ot as protectionFlipKey, qt as markCreatedBeforeFailure, r as removalWarning, rn as recoveryCommandFlags, s as CreatedResourceSink, sn as injectiveKey, st as runDeleteAttempt, tn as formatLockOperation, u as reportCreatedResource, un as producerRecordKey, ut as monotonicNowMs, x as withUnchangedSecretPrincipalLists, xt as isInterruptedWaitError, zt as carryCreatedBeforeFailure } from "./update-removal-CNj3wKPR.js";
7
- import { t as getCdkdVersion } from "./version-B7cmr9JA.js";
7
+ import { t as getCdkdVersion } from "./version-B9pb2Csa.js";
8
8
  import { createHash, randomUUID } from "node:crypto";
9
9
  import { AsyncLocalStorage } from "node:async_hooks";
10
10
  import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
@@ -29288,7 +29288,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
29288
29288
  const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
29289
29289
  if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
29290
29290
  this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
29291
- const { ASGProvider } = await import("./asg-provider-BT_0gh9s.js");
29291
+ const { ASGProvider } = await import("./asg-provider-BAtESAWA.js");
29292
29292
  const delegateRegion = ambientRegion();
29293
29293
  let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
29294
29294
  if (asgProvider === void 0) {
@@ -29442,7 +29442,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
29442
29442
  const family = SDK_DELETE_FAMILIES.get(resourceType);
29443
29443
  const cached = this.sdkDeleteDelegates.get(family);
29444
29444
  if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
29445
- const provider = family === "rds" ? new (await (import("./rds-provider-CaaoK9Yu.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-DlQ-_thp.js"))).NeptuneProvider({ region: ccRegion });
29445
+ const provider = family === "rds" ? new (await (import("./rds-provider-Dexme8bI.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-CdvFGM7h.js"))).NeptuneProvider({ region: ccRegion });
29446
29446
  this.sdkDeleteDelegates.set(family, {
29447
29447
  region: ccRegion,
29448
29448
  provider
@@ -31035,6 +31035,7 @@ async function update$1(logicalId, physicalId, resourceType, properties, previou
31035
31035
  return {
31036
31036
  physicalId: newPhysicalId,
31037
31037
  wasReplaced,
31038
+ ...wasReplaced && { oldPhysicalIdLeftForCleanup: true },
31038
31039
  attributes,
31039
31040
  ...cfnResponse.NoEcho === true && { noEchoAttributes: true }
31040
31041
  };
@@ -35340,7 +35341,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
35340
35341
  if (resourceType !== "AWS::RDS::DBInstance") return false;
35341
35342
  if (region === void 0 || region === "") return false;
35342
35343
  const mask = input.mask ?? ((text) => text);
35343
- const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-DyG0ZkQJ.js").then((n) => n.i);
35344
+ const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-BZcBe5RN.js").then((n) => n.i);
35344
35345
  let reason;
35345
35346
  try {
35346
35347
  const live = await describeDBInstanceInRegion(physicalId, region);
@@ -37073,6 +37074,7 @@ async function replaceDeleteFirstAndRecreate(run, deps, logicalId, resourceType,
37073
37074
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
37074
37075
  ...replacementDeleteContext(deps, updateReplacePolicy),
37075
37076
  recordedAttributes: currentResource.attributes,
37077
+ recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
37076
37078
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
37077
37079
  ...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
37078
37080
  maskSecrets: deleteMask
@@ -37362,6 +37364,7 @@ async function deleteSupersededEntry(entry, input) {
37362
37364
  ...input.removeProtection === true && { removeProtection: true },
37363
37365
  ...input.stackDestroy === true && { stackDestroy: true },
37364
37366
  recordedAttributes: record.attributes,
37367
+ recordedCreateOnlyDrops: record.acceptedCreateOnlyDrops,
37365
37368
  recordedNoEchoLeaves: record.noEchoLeaves,
37366
37369
  maskSecrets: input.maskSecrets
37367
37370
  });
@@ -37492,6 +37495,7 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
37492
37495
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
37493
37496
  ...replacementDeleteContext(deps, updateReplacePolicy),
37494
37497
  recordedAttributes: currentResource.attributes,
37498
+ recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
37495
37499
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
37496
37500
  ...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
37497
37501
  ...inlinePolicyClaimed && { inlinePolicyClaimed },
@@ -37505,23 +37509,12 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
37505
37509
  const deferred = run.deferredReplacedDeletes;
37506
37510
  if (!isRetry && deferred !== void 0) {
37507
37511
  deps.logger.info(safeMsg` Could not delete old ${logicalId} (${currentResource.physicalId}) yet: ${deleteMsg}. Retrying after the rest of the deploy.`);
37508
- const host = run.supersededHost;
37509
- if (host !== void 0 && canRecordSuperseded(currentResource, {
37512
+ recordSupersededForDeferral(run, deps, logicalId, currentResource, {
37513
+ updateReplacePolicy,
37514
+ finalSnapshotIdentifier,
37510
37515
  noEchoDeleteValues,
37511
37516
  inlinePolicyClaimed
37512
- }) && !Object.entries(deps.deployStateResources()).some(([id, record]) => id !== logicalId && record?.physicalId === currentResource.physicalId)) {
37513
- const entry = {
37514
- logicalId,
37515
- supersededAt: Date.now(),
37516
- state: currentResource,
37517
- ...updateReplacePolicy !== void 0 && { updateReplacePolicy },
37518
- ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
37519
- ...deps.options.forceStatefulRecreation === true && { forceDataDelete: true },
37520
- ...deps.options.skipFinalSnapshot === true && { skipFinalSnapshot: true }
37521
- };
37522
- addSuperseded(host, entry);
37523
- run.supersededEntries.set(logicalId, entry);
37524
- }
37517
+ });
37525
37518
  deferred.set(logicalId, {
37526
37519
  physicalId: currentResource.physicalId,
37527
37520
  resourceType: oldResourceType,
@@ -37554,6 +37547,24 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
37554
37547
  deps.logger.info(isRetry ? safeMsg` ${green("✓")} Old ${logicalId} (${currentResource.physicalId}) deleted` : safeMsg` ${green("✓")} Old resource deleted`);
37555
37548
  }
37556
37549
  }
37550
+ function recordSupersededForDeferral(run, deps, logicalId, oldResource, context) {
37551
+ const host = run.supersededHost;
37552
+ if (host === void 0 || !canRecordSuperseded(oldResource, {
37553
+ noEchoDeleteValues: context.noEchoDeleteValues,
37554
+ inlinePolicyClaimed: context.inlinePolicyClaimed
37555
+ }) || Object.entries(deps.deployStateResources()).some(([id, record]) => id !== logicalId && record?.physicalId === oldResource.physicalId)) return;
37556
+ const entry = {
37557
+ logicalId,
37558
+ supersededAt: Date.now(),
37559
+ state: oldResource,
37560
+ ...context.updateReplacePolicy !== void 0 && { updateReplacePolicy: context.updateReplacePolicy },
37561
+ ...context.finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier: context.finalSnapshotIdentifier },
37562
+ ...deps.options.forceStatefulRecreation === true && { forceDataDelete: true },
37563
+ ...deps.options.skipFinalSnapshot === true && { skipFinalSnapshot: true }
37564
+ };
37565
+ addSuperseded(host, entry);
37566
+ run.supersededEntries.set(logicalId, entry);
37567
+ }
37557
37568
 
37558
37569
  // src/deployment/deploy-engine/replacement/create-first.ts
37559
37570
  async function createFirstThenDeleteOld(run, deps, input) {
@@ -37640,7 +37651,9 @@ async function retryDeferredReplacedDeletes(run, deps, stackName, counts) {
37640
37651
  const deferred = run.deferredReplacedDeletes;
37641
37652
  run.deferredReplacedDeletes = void 0;
37642
37653
  if (deferred === void 0 || deferred.size === 0) return;
37643
- deps.logger.info(safeMsg`Retrying the delete of ${deferred.size} replaced resource(s)`);
37654
+ const retried = [...deferred.values()].filter((entry) => entry.failureMessage !== void 0);
37655
+ if (retried.length > 0) deps.logger.info(safeMsg`Retrying the delete of ${retried.length} replaced resource(s)`);
37656
+ if (retried.length < deferred.size) deps.logger.info(safeMsg`Deleting the old physical id of ${deferred.size - retried.length} replaced custom resource(s)`);
37644
37657
  const retryOne = async (logicalId, entry) => {
37645
37658
  const guards = [];
37646
37659
  try {
@@ -37694,7 +37707,7 @@ function warnUnretriedReplacedDeletes(run, deps, why) {
37694
37707
  run.deferredReplacedDeletes = void 0;
37695
37708
  const cause = why === "failed" ? "the deploy failed first" : "the deploy was interrupted";
37696
37709
  const noteFor = (logicalId) => run.supersededEntries.has(logicalId) ? `not retried: ${cause}; cdkd keeps it in state, and the next deploy retries the delete` : `not retried: ${cause}; it is no longer tracked in state, so delete it manually`;
37697
- for (const [logicalId, entry] of deferred ?? []) withPrintingSecrets(secretNameBagFor(deps.secretsRun(), logicalId), () => deps.logger.warn(safeMsg` ⚠ Failed to delete old resource ${logicalId} (${entry.physicalId}): ${entry.failureMessage} (${noteFor(logicalId)})`));
37710
+ for (const [logicalId, entry] of deferred ?? []) withPrintingSecrets(secretNameBagFor(deps.secretsRun(), logicalId), () => deps.logger.warn(entry.failureMessage === void 0 ? safeMsg` ⚠ The old physical id of ${logicalId} (${entry.physicalId}) was not sent its Delete: ${cause}. A rollback re-creates the old resource, and it is tracked again only if the handler answers this id; otherwise ${run.supersededEntries.has(logicalId) ? "cdkd keeps it in state, and the next deploy sends the Delete" : "it is no longer tracked in state, so delete it manually"}` : safeMsg` ⚠ Failed to delete old resource ${logicalId} (${entry.physicalId}): ${entry.failureMessage} (${noteFor(logicalId)})`));
37698
37711
  }
37699
37712
 
37700
37713
  // src/deployment/masking-retry-logger.ts
@@ -39993,6 +40006,7 @@ async function replayDelete(s) {
39993
40006
  ...ctx.skipFinalSnapshot === true && { skipFinalSnapshot: true },
39994
40007
  deletionPolicy: snapshotPolicy ? "Snapshot" : "Delete",
39995
40008
  recordedAttributes: stateResources[op.logicalId]?.attributes,
40009
+ recordedCreateOnlyDrops: stateResources[op.logicalId]?.acceptedCreateOnlyDrops,
39996
40010
  recordedNoEchoLeaves: stateResources[op.logicalId]?.noEchoLeaves,
39997
40011
  maskSecrets: mask
39998
40012
  }));
@@ -40845,6 +40859,7 @@ async function replayReadopt(s, survivor) {
40845
40859
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
40846
40860
  deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
40847
40861
  recordedAttributes: current.attributes,
40862
+ recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
40848
40863
  recordedNoEchoLeaves: current.noEchoLeaves,
40849
40864
  maskSecrets: mask
40850
40865
  }));
@@ -40952,6 +40967,7 @@ async function replayRevert(s) {
40952
40967
  expectedRegion: ctx.region,
40953
40968
  replayingState: true,
40954
40969
  recordedAttributes: current.attributes,
40970
+ recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
40955
40971
  ...revertClaimed && { inlinePolicyClaimed: revertClaimed },
40956
40972
  ...unsettledContextOf(current, previousState)
40957
40973
  }
@@ -41045,6 +41061,7 @@ async function recreateOldResource(s, r) {
41045
41061
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
41046
41062
  deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
41047
41063
  recordedAttributes: current.attributes,
41064
+ recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
41048
41065
  recordedNoEchoLeaves: current.noEchoLeaves,
41049
41066
  maskSecrets: mask
41050
41067
  }));
@@ -41202,6 +41219,7 @@ async function finishReverseReplacement(s, r, createResult, deletedNewFirst) {
41202
41219
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
41203
41220
  deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
41204
41221
  recordedAttributes: current.attributes,
41222
+ recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
41205
41223
  recordedNoEchoLeaves: current.noEchoLeaves,
41206
41224
  maskSecrets: mask
41207
41225
  }));
@@ -41863,6 +41881,7 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
41863
41881
  ...ctx.skipFinalSnapshot === true && { skipFinalSnapshot: true },
41864
41882
  deletionPolicy: snapshotPolicy ? "Snapshot" : "Delete",
41865
41883
  recordedAttributes: failedCreateRecord?.attributes,
41884
+ recordedCreateOnlyDrops: failedCreateRecord?.acceptedCreateOnlyDrops,
41866
41885
  recordedNoEchoLeaves: nonEmptyOrUndefined([...maskedLeafCoordinatesOf(op.attemptedProperties ?? {}), ...failedCreateRecord?.noEchoLeaves ?? []]),
41867
41886
  ...op.physicalIdRecoveredFromError === true && {
41868
41887
  failedCreateOrphan: true,
@@ -41979,6 +41998,7 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
41979
41998
  expectedRegion: ctx.region,
41980
41999
  replayingState: true,
41981
42000
  recordedAttributes: current.attributes,
42001
+ recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
41982
42002
  ...revertFailedClaimed && { inlinePolicyClaimed: revertFailedClaimed },
41983
42003
  ...revertUnsettled
41984
42004
  }
@@ -44825,6 +44845,11 @@ function withoutPendingRequest(op) {
44825
44845
  return rest;
44826
44846
  }
44827
44847
 
44848
+ // src/deployment/deploy-engine/rollback/applied-nothing.ts
44849
+ function appliedNothing(op) {
44850
+ return op.changeType === "UPDATE" && op.attemptedProperties === void 0 && op.replacementOrphaned === void 0 && op.oldDeletedBeforeCreate !== true && op.physicalIdRecoveredFromError !== true && op.pendingCloudControlRequest === void 0 && op.nameGeneration === void 0;
44851
+ }
44852
+
44828
44853
  // src/deployment/deploy-engine/rollback/journal-write.ts
44829
44854
  async function writeRollbackJournalSegment(deps, stackName, completedOperations, failedOperations, reason, initialDeploy, nestedPending) {
44830
44855
  if (!nestedPending && completedOperations.length === 0 && failedOperations.length === 0) return false;
@@ -44999,6 +45024,10 @@ async function settleJournalAfterCleanRollback(deps, stackName, failedOperations
44999
45024
  for (const op of gone) deps.logger.warn(deletedOutsideCdkdMessage(op, true));
45000
45025
  if (revertable.length === 0) return true;
45001
45026
  if (!await writeRollbackJournalSegment(deps, stackName, [], revertable, "auto-rollback-clean", initialDeploy)) return true;
45027
+ if (revertable.every(appliedNothing)) {
45028
+ deps.logger.debug("Every failed operation applied nothing (a refused UPDATE); no --revert-failed remedy printed.");
45029
+ return true;
45030
+ }
45002
45031
  deps.logger.info("The automatic rollback restored the pre-deploy state. The failed resource's pre-failure record was kept — if it was left partially applied, revert it." + safeMsg`\nRevert it with: ${pasteableCommand("cdkd rollback", [{
45003
45032
  value: stackName,
45004
45033
  hole: "stack"
@@ -46566,6 +46595,7 @@ Drop the record with: ${dropCommand}`);
46566
46595
  deletionPolicy: governingPolicy ?? "Delete",
46567
46596
  ...deps.options.skipFinalSnapshot === true && { skipFinalSnapshot: true },
46568
46597
  recordedAttributes: currentResource.attributes,
46598
+ recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
46569
46599
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
46570
46600
  maskSecrets: createUnionSecretMasker([secretNameBagFor(deps.secretsRun(), logicalId)])
46571
46601
  }), logicalId, 3, 5e3, deleteProvider);
@@ -54836,14 +54866,14 @@ function refuseUnsafeReplacement(engine, { change, currentProps, currentResource
54836
54866
  if (statefulReason && engine.options.forceStatefulRecreation !== true) {
54837
54867
  const immutableProps = change.propertyChanges?.filter((pc) => pc.requiresReplacement).map((pc) => pc.path).join(", ") || "Type";
54838
54868
  const protection = recordedProtectionEvidence(oldResourceType, currentProps, currentResource.observedProperties, engine.stackRegion);
54839
- throw markNonRetryable(new CdkdError(safeMsg`${logicalId} (${oldResourceType}) requires replacement (immutable property changed: ${immutableProps}${typeChanged ? `, to ${resourceType}` : ""}) but it is a stateful resource — ` + safeMsg`${renderStatefulReason(statefulReason)}. ` + (protection ? safeMsg`${recordedProtectionNote(protection, "--force-stateful-recreation")} Or change ` + `the resource's definition to avoid the immutable-property change.` : "Re-run with --force-stateful-recreation to confirm the data loss, or change the resource definition to avoid the immutable-property change."), "STATEFUL_REPLACE_BLOCKED"));
54869
+ throw markRefusedBeforeApplying(markNonRetryable(new CdkdError(safeMsg`${logicalId} (${oldResourceType}) requires replacement (immutable property changed: ${immutableProps}${typeChanged ? `, to ${resourceType}` : ""}) but it is a stateful resource — ` + safeMsg`${renderStatefulReason(statefulReason)}. ` + (protection ? safeMsg`${recordedProtectionNote(protection, "--force-stateful-recreation")} Or change ` + `the resource's definition to avoid the immutable-property change.` : "Re-run with --force-stateful-recreation to confirm the data loss, or change the resource definition to avoid the immutable-property change."), "STATEFUL_REPLACE_BLOCKED")));
54840
54870
  }
54841
54871
  }
54842
54872
  if (recreateViaCcApi) {
54843
54873
  const noCcRoute = engine.providerRegistry.ccRouteUnavailableReason(resourceType);
54844
- if (noCcRoute !== void 0) throw markNonRetryable(new CdkdError(safeMsg`--recreate-via-cc-api cannot recreate ${logicalId} (${resourceType}): Cloud ` + safeMsg`Control API cannot create this type (${noCcRoute}). Nothing was deleted. ` + safeMsg`Drop ${logicalId} from --recreate-via-cc-api.`, "RECREATE_TARGETS_INVALID"));
54874
+ if (noCcRoute !== void 0) throw markRefusedBeforeApplying(markNonRetryable(new CdkdError(safeMsg`--recreate-via-cc-api cannot recreate ${logicalId} (${resourceType}): Cloud ` + safeMsg`Control API cannot create this type (${noCcRoute}). Nothing was deleted. ` + safeMsg`Drop ${logicalId} from --recreate-via-cc-api.`, "RECREATE_TARGETS_INVALID")));
54845
54875
  const ccBroken = ccBrokenReason(resourceType);
54846
- if (ccBroken !== void 0) throw markNonRetryable(new CdkdError(safeMsg`--recreate-via-cc-api cannot move ${logicalId} (${resourceType}) to Cloud ` + safeMsg`Control: ${ccBroken}, so cdkd keeps it on its SDK provider. Nothing was ` + safeMsg`deleted. Drop ${logicalId} from --recreate-via-cc-api.`, "RECREATE_TARGETS_INVALID"));
54876
+ if (ccBroken !== void 0) throw markRefusedBeforeApplying(markNonRetryable(new CdkdError(safeMsg`--recreate-via-cc-api cannot move ${logicalId} (${resourceType}) to Cloud ` + safeMsg`Control: ${ccBroken}, so cdkd keeps it on its SDK provider. Nothing was ` + safeMsg`deleted. Drop ${logicalId} from --recreate-via-cc-api.`, "RECREATE_TARGETS_INVALID")));
54847
54877
  }
54848
54878
  }
54849
54879
 
@@ -54881,6 +54911,7 @@ async function recreateDestroyThenCreate(engine, { currentResource, equalIdIsSam
54881
54911
  ...recreateFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: recreateFinalSnapshotId },
54882
54912
  ...replacementDeleteContext(engine.replacementDeps(), updateReplacePolicy),
54883
54913
  recordedAttributes: currentResource.attributes,
54914
+ recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
54884
54915
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
54885
54916
  ...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
54886
54917
  maskSecrets: createUnionSecretMasker([updateSecrets, secretNameBagFor(engine.secretsRun, logicalId)])
@@ -55199,6 +55230,64 @@ function ccAutoRouteUpdateFailureRemedy(logicalId, resourceType, autoRoutedPrope
55199
55230
  return `\nThis update moved the resource from its SDK provider to Cloud Control API, because the SDK provider does not handle ${shown}. Cloud Control addresses it by the physical id the SDK provider recorded, and for some types that is not an identifier Cloud Control accepts. ` + (nestedChild ? `It is in a nested stack, which --recreate-via-cc-api cannot address: ${preferSdk}, or remove ${them} from the template.` : `Two ways through: re-create the resource on Cloud Control with --recreate-via-cc-api ${id} (destroys and re-creates it), or ${preferSdk}.`);
55200
55231
  }
55201
55232
 
55233
+ // src/deployment/deploy-engine/replacement/cleanup-old-id.ts
55234
+ async function deleteOldIdAfterDeploy(run, deps, input) {
55235
+ const { logicalId, oldResource } = input;
55236
+ const shownOldId = displayPhysicalId(oldResource.resourceType, oldResource.physicalId);
55237
+ const keptBy = input.updateReplacePolicy === "Retain" ? "Retain" : input.updateReplacePolicy === "Snapshot" && deps.options.skipFinalSnapshot !== true ? "Snapshot" : void 0;
55238
+ if (keptBy === "Retain") {
55239
+ deps.logger.info(safeMsg` ${logicalId} has UpdateReplacePolicy: Retain — its old physical id (${shownOldId}) is not sent a Delete and is no longer tracked by cdkd`);
55240
+ return;
55241
+ }
55242
+ if (keptBy === "Snapshot") {
55243
+ run.replacedDeleteSkips.set(logicalId, `the old physical id ${oldResource.physicalId} was not sent a Delete (UpdateReplacePolicy: Snapshot) and is no longer tracked by cdkd`);
55244
+ deps.logger.warn(safeMsg` ⚠ ${logicalId} has UpdateReplacePolicy: Snapshot, which a custom resource cannot take — its old physical id (${shownOldId}) is not sent a Delete and is no longer tracked by cdkd`);
55245
+ return;
55246
+ }
55247
+ let noEchoDeleteValues;
55248
+ try {
55249
+ noEchoDeleteValues = await input.noEchoDeleteValues();
55250
+ } catch {
55251
+ run.replacedDeleteSkips.set(logicalId, `the old physical id ${oldResource.physicalId} was not sent a Delete (its properties could not be prepared) and is no longer tracked by cdkd`);
55252
+ deps.logger.warn(safeMsg` ⚠ ${logicalId}'s old physical id (${shownOldId}) is not sent a Delete: cdkd could not prepare its properties. It is no longer tracked by cdkd; delete what the handler made under it manually`);
55253
+ return;
55254
+ }
55255
+ const send = async (isRetry) => {
55256
+ const others = Object.fromEntries(Object.entries(deps.deployStateResources()).filter(([id]) => id !== logicalId));
55257
+ const holderId = Object.entries(others).find(([, record]) => record?.physicalId === oldResource.physicalId)?.[0];
55258
+ if (holderId !== void 0) {
55259
+ deps.logger.warn(safeMsg` ⚠ ${logicalId}'s old physical id (${shownOldId}) is not sent a Delete: ${holderId} records the same physical id, and cdkd never deletes an id a record names`);
55260
+ const recorded = run.supersededEntries.get(logicalId);
55261
+ if (recorded !== void 0 && run.supersededHost !== void 0) {
55262
+ removeSuperseded(run.supersededHost, recorded);
55263
+ run.supersededEntries.delete(logicalId);
55264
+ }
55265
+ return;
55266
+ }
55267
+ await deleteReplacedAfterCreate(run, deps, logicalId, oldResource.resourceType, oldResource, input.deleteProvider, oldResource.properties ?? {}, void 0, input.updateReplacePolicy, input.secrets, input.deleteProvisionedBy, noEchoDeleteValues, isRetry);
55268
+ };
55269
+ const deferred = run.deferredReplacedDeletes;
55270
+ if (deferred === void 0) {
55271
+ deps.logger.info(safeMsg` Deleting old ${logicalId} (${shownOldId})...`);
55272
+ await send(false);
55273
+ return;
55274
+ }
55275
+ recordSupersededForDeferral(run, deps, logicalId, oldResource, {
55276
+ updateReplacePolicy: input.updateReplacePolicy,
55277
+ finalSnapshotIdentifier: void 0,
55278
+ noEchoDeleteValues,
55279
+ inlinePolicyClaimed: void 0
55280
+ });
55281
+ deferred.set(logicalId, {
55282
+ physicalId: oldResource.physicalId,
55283
+ resourceType: oldResource.resourceType,
55284
+ provisionedBy: input.deleteProvisionedBy,
55285
+ failureMessage: void 0,
55286
+ retry: () => send(true)
55287
+ });
55288
+ deps.logger.info(safeMsg` ${logicalId}'s old physical id (${shownOldId}) is deleted after the rest of the deploy succeeds`);
55289
+ }
55290
+
55202
55291
  // src/deployment/deploy-engine/update-in-place/replace-fallback.ts
55203
55292
  async function replaceFallbackFor(engine, { currentProps, currentResource, logicalId, replaceOptIn, resolvedProps, resourceType, stackName, stateResources, template, updateDecision, updateError, updateProvider, updateReplacePolicy, updateSecrets }) {
55204
55293
  const retainOldOnReplace = updateReplacePolicy === "Retain";
@@ -55264,6 +55353,7 @@ async function replaceFallbackFor(engine, { currentProps, currentResource, logic
55264
55353
  ...fallbackFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: fallbackFinalSnapshotId },
55265
55354
  ...replacementDeleteContext(engine.replacementDeps(), fallbackUpdateReplacePolicy),
55266
55355
  recordedAttributes: currentResource.attributes,
55356
+ recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
55267
55357
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
55268
55358
  ...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
55269
55359
  maskSecrets: createUnionSecretMasker([updateSecrets, secretNameBagFor(engine.secretsRun, logicalId)])
@@ -55465,6 +55555,7 @@ async function updateInPlace(engine, { changedProperties, conditions, counts, cu
55465
55555
  maskSecrets: createSecretMasker(updateSecrets),
55466
55556
  expectedRegion: engine.stackRegion,
55467
55557
  recordedAttributes: currentResource.attributes,
55558
+ recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
55468
55559
  ...inlinePolicyClaimed && { inlinePolicyClaimed },
55469
55560
  ...removal.context,
55470
55561
  changedProperties: changedForProvider,
@@ -55572,6 +55663,23 @@ async function updateInPlace(engine, { changedProperties, conditions, counts, cu
55572
55663
  properties: resolvedProps
55573
55664
  });
55574
55665
  engine.logger.info(safeMsg`Resource ${logicalId} was replaced: ${displayPhysicalId(currentResource.resourceType, currentResource.physicalId)} -> ${displayPhysicalId(resourceType, result.physicalId)}`);
55666
+ if (result.oldPhysicalIdLeftForCleanup === true && result.physicalId !== currentResource.physicalId) await deleteOldIdAfterDeploy(engine.replacementRun, engine.replacementDeps(), {
55667
+ logicalId,
55668
+ oldResource: currentResource,
55669
+ deleteProvider: updateProvider,
55670
+ deleteProvisionedBy: updateDecision.provisionedBy,
55671
+ updateReplacePolicy,
55672
+ secrets: updateSecrets,
55673
+ noEchoDeleteValues: () => noEchoDeleteValuesFromResolved({
55674
+ record: currentResource,
55675
+ templateResource: template?.Resources?.[logicalId],
55676
+ resolvedProperties: resolvedProps,
55677
+ noEchoParameters: noEchoPositionSources(engine.noEchoRun, stateResources, template)?.parameters ?? /* @__PURE__ */ new Set(),
55678
+ conditions: engine.noEchoRun.noEchoConditions,
55679
+ secrets: updateSecrets,
55680
+ inputSources: template && maskedInputSources(engine.resolverContextDeps(), template, stateResources, engine.noEchoRun.noEchoConditions, stackName)
55681
+ })
55682
+ });
55575
55683
  }
55576
55684
  const dischargedByReplacement = result.wasReplaced === true && result.physicalId !== currentResource.physicalId;
55577
55685
  const keepsParameterRefusal = !dischargedByReplacement && hasUnverifiableParameterRefusal(currentResource);
@@ -56654,7 +56762,7 @@ async function rollbackFailedDeploy(run, error, initialDeploy, currentEtag) {
56654
56762
  if (autoRollbackJournaled && engine.options.parentStackInfo === void 0 && rollbackResult.remainingFailedOps.some((op) => op.changeType !== "DELETE")) {
56655
56763
  const { gone, kept } = await partitionDeletedOutsideCdkd(deletedOutsideReadDeps(engine.rollbackDeps()), rollbackResult.remainingFailedOps);
56656
56764
  for (const op of gone) engine.logger.warn(deletedOutsideCdkdMessage(op, false));
56657
- if (kept.some((op) => op.changeType !== "DELETE")) engine.logger.warn(safeMsg`The record of the operation that failed is kept too. Revert it with: ${pasteableCommand("cdkd rollback", [{
56765
+ if (kept.some((op) => op.changeType !== "DELETE" && !appliedNothing(op))) engine.logger.warn(safeMsg`The record of the operation that failed is kept too. Revert it with: ${pasteableCommand("cdkd rollback", [{
56658
56766
  value: stackName,
56659
56767
  hole: "stack"
56660
56768
  }, { literal: "--revert-failed" }]).command}`);
@@ -57106,7 +57214,7 @@ async function settleJournalAtStart(engine, { stackName, template, currentState,
57106
57214
  };
57107
57215
  if (journal && journal.segments.length > 0) {
57108
57216
  const failedOnly = journal.segments.every((s) => s.operations.length === 0) && journal.segments.some((s) => (s.failedOperations?.length ?? 0) > 0);
57109
- engine.logger.info(failedOnly ? safeMsg`A previous deploy of ${displayStackName(stackName)} failed and was automatically rolled back. ` + `The failed resource may be partially applied — revert it, or continue ` + safeMsg`deploying to fix forward (${engine.options.parentStackInfo ? "a successful deploy of the top-level stack clears this note" : "a successful deploy clears this note"}).` + safeMsg`\nRevert it with: ${pasteableCommand("cdkd rollback", [{
57217
+ if (!(failedOnly && journal.segments.every((s) => (s.failedOperations ?? []).every(appliedNothing)))) engine.logger.info(failedOnly ? safeMsg`A previous deploy of ${displayStackName(stackName)} failed and was automatically rolled back. ` + `The failed resource may be partially applied — revert it, or continue ` + safeMsg`deploying to fix forward (${engine.options.parentStackInfo ? "a successful deploy of the top-level stack clears this note" : "a successful deploy clears this note"}).` + safeMsg`\nRevert it with: ${pasteableCommand("cdkd rollback", [{
57110
57218
  value: stackName,
57111
57219
  hole: "stack"
57112
57220
  }, { literal: "--revert-failed" }]).command}` : safeMsg`A previous deploy of ${displayStackName(stackName)} failed or was interrupted. Revert it, ` + `or continue deploying to fix forward.` + safeMsg`\nRevert it with: ${pasteableCommand("cdkd rollback", [{
@@ -58747,4 +58855,4 @@ var DeployEngine = class {
58747
58855
  };
58748
58856
 
58749
58857
  export { vectorIndexesForCreate as $, refuseUnreadableCdkCrossAccountRefs as $a, liveMatchesUnresolvedTokenFrame as $c, createPreDeleteFinalSnapshot as $i, importableOutputs as $l, updatePartialMessage as $n, coerceWarmThroughput as $o, DEFAULT_RESOURCE_WARN_AFTER_MS as $r, malformedOutputsRefusalMessage as $s, NESTED_PENDING_PARENT_REASON as $t, getDockerCmd as $u, PROTECTION_PROPERTY_BY_TYPE as A, slowCcOperationTimeoutMs as Aa, blockDeviceMappingsDifferOnlyInDeleteOnTermination as Ac, refuseFailedLookups as Ad, journaledOrphanPrintingBag as Ai, recordAttributeIdCopy as Al, rollbackOrphanIds as An, recordedOutputReferenceRegions as Ao, withNameGenerationReached as Ar, refuseMalformedResourceEntriesForDestroy as As, enclosingDeadlineExpired as At, assertAssetBucketRegion as Au, reverseMapStreamPolicy as B, observeThenDisableInstanceApiTermination as Ba, isMarkedCoordinate as Bc, nullPrototypeRecord as Bd, extractDeploymentEventError as Bi, recordProvenPublicExpression as Bl, propertiesChangedReason as Bn, isUsableAttemptedName as Bo, secretBearing as Br, refuseMalformedResourcePropertiesForExport as Bs, refactorMarkerRefusalMessage as Bt, describeDockerCapturedOutput as Bu, refusePendingMovesOut as C, getCurrentResourceSecrets as Ca, findActionableSdkUnwired as Cc, uploadCfnTemplate as Cd, noEchoAttributeNamesOf as Ci, isUncertifiedBaselineMaskPosition as Cl, DeploymentEventsStore as Cn, cfnRefValueFromPhysicalId as Co, orphanNeedsIdentity as Cr, malformedLocalResourceEntriesWarning as Cs, maskedLogger as Ct, buildAssetRedirectMap as Cu, diffSecurity as D, waitForGoneAfterDelete as Da, withoutSdkUnwiredProperties as Dc, PARTITION_TABLE as Dd, withAttemptedItemsMasked as Di, inheritNestedStackParameterAssociations as Dl, findRefactorHints as Dn, parseWebACLArn as Do, retiredAfterRollback as Dr, refuseMalformedResourceAttributesForOrphan as Ds, S3_AUTO_DELETE_OBJECTS_TAG as Dt, AssetModeResolver as Du, serviceTokenBlockingReason as E, CloudControlProvider as Ea, unwrittenCreateOnlyReplacement as Ec, expectedOwnerParam as Ed, noEchoParameterNamesOf as Ei, identityKeyFor as El, formatDestructiveChange as En, refStateLookupFromResource as Eo, nameScopeOf as Er, malformedScrubResourceEntriesRefusalMessage as Es, ECR_AUTO_DELETE_IMAGES_TAG as Et, rewriteTemplateAssetReferences as Eu, STREAM_POLICY_KEY as F, deleteSkipReason as Fa, lambdaFunctionNameForMask as Fc, parseFailureDebugDetail as Fd, secretNamePrintingBags as Fi, provenPublicValue as Fl, differingRemedy as Fn, isNamelessDynamicReferenceError as Fo, reachableDivergentParameters as Fr, unreadableResourceEntries as Fs, keptForRetainedRecord as Ft, validateAssetBucketName as Fu, streamTagsMatchDeclared as G, isWaitAbandonedError as Ga, noEchoCoordinatesOf as Gc, renderAssemblyPathEscape as Gd, ATOMIC_FINAL_SNAPSHOT_TYPES as Gi, isLockInfoExpired as Gl, DELETED_RESOURCE_REMEDY as Gn, withoutUnsettledProperties as Go, exportNameSecretExposure as Gr, malformedOrphansRefusalMessage as Gs, markRefusedBeforeApplying as Gt, redactDockerArgvValues as Gu, streamDeclaresTags as H, reEnableInstanceApiTermination as Ha, maskReadbackAtCoordinates as Hc, absoluteAssemblyPathEscape as Hd, maskedSecretSegment as Hi, WHOLE_DYNAMIC_REFERENCE_PATTERN as Hl, referencedLogicalIds as Hn, unsettledItemsOf as Ho, secretSafeKeyDisplay as Hr, repairMalformedResourcePropertiesForReadOnly as Hs, sameMove as Ht, describeDockerFailure as Hu, STREAM_TAGS_KEY as I, withIndeterminateGuard as Ia, sameLambdaFunctionAddress as Ic, utf8ByteLength as Id, secretNamedAttributeNamesOf as Ii, recordMaskOnlyValue as Il, isPairableType as In, carriesDynamicReference as Io, resourcesNamingDeclaredParameter as Ir, malformedDriftResourcePropertiesWarning as Is, recordRetainedForReadoption as It, validateContainerRepoName as Iu, planTimeToLive as J, isAlwaysLiveAttribute as Ja, passedNoEchoParametersOf as Jc, injectedAwsRegionValue as Jd, ccRoutedInstanceTakesNoSnapshot as Ji, acceptedCreateOnlyDropsOf as Jl, withUnprovenUnsettled as Jn, MULTI_REGION_RECREATE_BLOCKED_TYPES as Jo, collectDeclaredOutputNames as Jr, refuseMalformedOrphansForDestroy as Js, isAccessDeniedError as Jt, partitionSensitiveEnv as Ju, isTtlAlreadyDisabled as K, DiffCalculator as Ka, noEchoLeavesOf as Kc, resolveAssemblyPath as Kd, PRE_DELETE_SNAPSHOT_TYPES as Ki, S3StateBackend as Kl, recordAfterRollbackUpdate as Kn, findReplacedReadersOfRecreateTargets as Ko, isWholeDynamicReferenceValue as Kr, malformedOrphansWarning as Ks, formatResourceLine as Kt, dockerSpawnEnvWithSensitive as Ku, declaredStreamPolicyMember as L, disableInstanceApiTermination as La, DagBuilder as Lc, defineOwnKey as Ld, secretNamedRecordNeedles as Li, recordMaskOnlyValuesIn as Ll, looselyEqual as Ln, keepsSecretReferenceToken as Lo, WITHHELD_NAME_DISPLAY as Lr, malformedResourcePropertiesWarning as Ls, readRefactorMarker as Lt, BOOTSTRAP_MARKER_PREFIX as Lu, perType as M, UNSPECIFIED_SKIP_REASON as Ma, ecsServiceLaunchTypeSetOrChanged as Mc, StageLoadError as Md, namingSecretsWithRecordedNoEcho as Mi, recordNestedStackParameterExpressions as Ml, changedReferenceInDiff as Mn, getAccountInfo as Mo, inheritProducerRegions as Mr, refuseMalformedResourceEntriesForImportSave as Ms, withResourceDeadline as Mt, getBootstrapMarkerKey as Mu, readProtection as N, deleteIndeterminateGuards as Na, emrClusterInstancesReplaced as Nc, processStackMessages as Nd, orphanRecordsPrintingBag as Ni, splitGetAttStringForm as Nl, changedReferencePath as Nn, isImpossibleEmptyStoredAttribute as No, computeParameterTaint as Nr, refuseMalformedResourceEntriesForOrphan as Ns, IMPLICIT_DELETE_DEPENDENCIES as Nt, parseBootstrapMarker as Nu, recordedProtectionEvidence as O, resolvedResourceTimeoutMs as Oa, NO_CC_HANDLERS_REASON as Oc, canonicalizeRegion as Od, createReadOnlyAttributeHealerFactory as Oi, recoverMaskedOutput as Ol, hintSidesOf as On, keepHeldTokenProvenance as Oo, retiredNameGenerationsAfter as Or, refuseMalformedResourceEntries as Os, hasCdkAutoDeleteTag as Ot, ensureAssetStorage as Ou, DynamoDBGlobalTableProvider as P, deleteLeftInPlace as Pa, canonicalLambdaFunctionName as Pc, describeJsonParseFailure as Pd, secretNamePrintingBag as Pi, carriesSecretMask as Pl, changedReferenceReason as Pn, carriesFetchableDynamicReference as Po, namesAnyDeclaredParameter as Pr, repairMalformedResourceEntriesForReadOnly as Ps, computeImplicitDeleteEdges as Pt, readBootstrapMarkerBody as Pu, readbackVectorIndexes as Q, producerLookupOver as Qa, valueAtCoordinate as Qc, unsupportedFinalSnapshotError as Qi, importableOutputKeys as Ql, undeclaredEmptyObservedKeys as Qn, WARM_THROUGHPUT_MEMBERS as Qo, DEFAULT_RESOURCE_TIMEOUT_MS as Qr, malformedLocalOutputsWarning as Qs, resolvePendingCloudControlRequests as Qt, formatDockerLoginError as Qu, declaredStreamTagsMember as R, ec2InstanceProtectionSite as Ra, TemplateParser as Rc, hasOwnKey as Rd, stateSecretNameNeedles as Ri, recordNoEchoAttributeValues as Rl, mappingPairs as Rn, withSharedDrainBudget as Ro, displayTextOrWithheld as Rr, refuseMalformedResourcePropertiesForDestroy as Rs, readRefactorMarkerOnce as Rt, buildDockerImage as Ru, pendingMovesRefusalMessage as S, isCustomResourceType as Sa, hasReadableResources as Sc, findLargeInlineResources as Sd, yellow as Si, dynamicReferenceTokens as Sl, DeploymentEventsReader as Sn, AWS_NO_VALUE as So, removeProtectionTypeList as Sr, isReadableResourceEntry as Ss, deleteTableWithIndexBusyRetry as St, WorkGraph as Su, findServiceTokenRefusals as T, waitForLambdaFunctionActive as Ta, findSdkUnwiredProperties as Tc, decodeListingKey as Td, noEchoExactEchoLeavesOf as Ti, pathCrossesDottedKey as Tl, findDestructiveChanges as Tn, lacksRecordedTableArn as To, nameGenerationHighWaterOf as Tr, malformedResourceEntriesWarning as Ts, waitForIndexesSettled as Tt, loadPublishableAssetManifest as Tu, streamMemberRefusals as U, onlySecretReferencesDiffer as Ua, maskWholeValue as Uc, describeFileReadFailure as Ud, secretSegmentsOfState as Ui, isSingleDynamicReferenceToken as Ul, replayFailedOperations as Un, unsettledPropertiesOf as Uo, carriedExportAliasExposure as Ur, UNREADABLE_ORPHANS_CONTAINER_ROW as Us, updateRefactorMarker as Ut, redactedCause as Uu, streamDeclaresPolicy as V, reDisableInstanceApiTermination as Va, maskAtCoordinates as Vc, ownValue as Vd, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Vi, wholeStringLeavesOf as Vl, proposeRenames as Vn, unsettledItemsField as Vo, secretBearingStateKeyWarning as Vr, refuseMalformedResourcePropertiesForOrphan as Vs, refuseRefactorMarker as Vt, describeDockerExecFailure as Vu, streamPolicyMatchesDeclared as W, unchangedBehindSecretReference as Wa, maskedLeafCoordinatesOf as Wc, displayAssemblyPath as Wd, withSecretPhysicalIdsMaskedInState as Wi, LockManager as Wl, replayRollback as Wn, withUnsettledProperties as Wo, exportNameNoEchoParameters as Wr, hasReadableOrphans as Ws, getPriorAttempts as Wt, redactedDockerCause as Wu, sendTtlWaitingOutRateLimit as X, isSettledInstanceState as Xa, readsNoEchoSource as Xc, resolveBucketRegion as Xd, isFinalSnapshotError as Xi, exportNamesCarriedFrom as Xl, equalModuloMarkedMask as Xn, isStatefulRecreateTargetSync as Xo, isExportAliasCollision as Xr, malformedExportNamesWarning as Xs, withApiLimit as Xt, isDockerClientEnvKey as Xu, readTtlSpec as Y, poisonRenderedSpellingsCollidingIn as Ya, readbackPathFor as Yc, clearBucketRegionCache as Yd, effectiveDeletionPolicy as Yi, describeRegionValueKind as Yl, calculateResourceDrift as Yn, isStatefulRecreateTargetForReplace as Yo, collectPublishedOutputNames as Yr, repairMalformedOrphansForReadOnly as Ys, lookupEachName as Yt, warnFinchArgvExposure as Yu, planVectorIndexUpdates as Z, resolveDynamicReferences as Za, recordedNoEchoValuesOf as Zc, refusesFinalSnapshot as Zi, hasReadableExportSet as Zl, equalModuloMask as Zn, renderStatefulReason as Zo, bindingSkippedOutputs as Zr, malformedExportSourceWarning as Zs, pendingRequestCount as Zt, isMalformedEnvKey as Zu, listNestedTemplateRows as _, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as _a, withheldAccountClause as _c, warnDeprecatedNoPrefixCliFlag as _d, bold as _i, maskSecretsInText as _l, loadJournaledOrphans as _n, s3BucketRegionalDomainName as _o, findNestedStackTypeChanges as _r, refuseMalformedOrphanRecordsForDestroy as _s, resolveDynamoDbDeleteBudgetClock as _t, stackInstanceIdOf as _u, scanActiveConsumers as a, planTagDiff as aa, STATE_REGION_DIVERGED as ac, synthesisStatusMessage as ad, replacedDeleteFailureVerdict as ai, createUnionSecretMasker as al, recordDisplacedSkips as an, sendableAssumeRoleCommand as ao, acquireIdempotencyToken as ar, describeTypeWithThrottleRetry as as, planContributorInsightsOp as at, hasReasonlessBaselineRefusal as au, hasPendingMovesOut as b, TemplateNoEchoReresolver as ba, displayLogicalId as bc, CFN_TEMPLATE_URL_LIMIT as bd, green as bi, withoutPhysicalNameCopies as bl, makeSiblingClaimReader as bn, isUnboundTemplateParameter as bo, redactedDeleteAddressFields as br, unpreviewableOrphanRecords as bs, INDEX_SETTLE_POLL_INTERVAL_MS as bt, isSensitiveAttributeName as bu, inheritedProvenanceForChildDiff as c, tagMapAsList as ca, malformedResourcesWarning as cc, loadCdkJson as cd, holdsSupersededResources as ci, logOnlyValueCount as cl, withNestedRevertRun as cn, callerEnvCredentials as co, demoteSupersededOrphans as cr, passedParameterClassesOf as cs, reverseMapIndexContributorInsights as ct, renderPhaseTimings as cu, conditionInputsFrom as d, markDeleteStarted as da, refuseMalformedResourcesForDestroy as dc, resolveCaptureObservedState as dd, supersededAfterRollback as di, recordLogOnlyValue as dl, withNestedStackContext as dn, classifyReplaySecretRegion as do, planFailedOps as dr, isReadableOrphanRecord as ds, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as dt, CrossPrefixReadError as du, buildFinalSnapshotIdentifier as ea, malformedOutputsWarning as ec, runDockerForeground as ed, maskingRetryLogger as ei, markSameGenerationBag as el, displacedOpClause as en, applyRoleArnIfSet as eo, updatePartialReason as er, isWarmThroughputDecrease as es, vectorIndexesSettled as et, isReadableBag as eu, parentSuppliedValues as f, CC_BROKEN_REASON as fa, refuseMalformedResourcesForExport as fc, resolveSkipPrefix as fd, supersededHeldByOtherTypeWarning as fi, shareLogOnlyValues as fl, deleteJournaledOrphans as fn, producerRegionsFromState as fo, recheckFailedPlan as fr, malformedOrphanRecordsRefusalMessage as fs, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as ft, CrossPrefixScanCache as fu, isAbsoluteAssetPath as g, wouldReturnToSdkProvider as ga, accountArgs as gc, stateBucketExistenceConfirmed as gd, refuseRestoreFromItself as gi, maskSecretsInError as gl, journaledOrphanLines as gn, s3BucketDualStackDomainName as go, withPreviousPolicies as gr, refuseMalformedOrphanRecords as gs, deleteBudgetKey as gt, isNotImplemented as gu, findNestedTemplateTreeDefect as h, isCustomResource as ha, JSON_LISTING_HOLE_VALUE as hc, resolveUseCdkBootstrapAssets as hd, withoutSuperseded as hi, errorCauseChain as hl, isHandledOrphan as hn, s3BucketDomainName as ho, resolveReplacementOldType as hr, previewableOrphanRecords as hs, compensateRemovedDeletionProtection as ht, isAccessDenied$1 as hu, mergeNoChangeOutputs as i, DBPROXY_TAG_OPTIONS as ia, repairMalformedOutputsForReadOnly as ic, Synthesizer as id, withStackRecords as ii, carryLogOnlyValues as il, nestedChildStackName as in, isIamRoleArn as io, withCreateTokenLedger as ir, templateResourceTypes as is, indexDeclaresContributorInsights as it, stackInstanceIdCarriedFrom as iu, isProtectionValueActive as j, RollbackInlinePolicyWriters as ja, dbInstanceEngineChangeIsInPlace as jc, AssemblyReader as jd, maskEventTextWithBoundBags as ji, recordPhysicalNameCopy as jl, withMovedTo as jn, recordedReferenceRegions as jo, getCurrentProducerRegions as jr, refuseMalformedResourceEntriesForImport as js, enclosingDeadlineRemainingMs as jt, isCrossRegionRedirect as ju, recordedProtectionNote as k, setResolvedResourceTimeouts as ka, hasNoCloudControlHandlers as kc, derivePartitionAndUrlSuffix as kd, completedReplayEntries as ki, physicalNameCopiesOf as kl, movedToHint as kn, outputReferenceProvenanceOf as ko, retiredNameGenerationsLeaving as kr, refuseMalformedResourceEntriesForDeploy as ks, isTruthyCfnBoolean as kt, buildDenyExternalAccessPolicy as ku, makeCanonicalizePropertiesFn as l, tagPlanWarning as la, malformedStateRefusalMessage as lc, resolveApp as ld, isSupersededResourceRecord as li, printingCorpusOf as ll, collectNestedChildUnaddressed as ln, envCredentialsAreAssumedRole as lo, isJournaledOrphan as lr, declaresNoEcho as ls, reverseMapTableContributorInsights as lt, timePhase as lu, childTemplateLoader as m, ccBrokenReason as ma, repairMalformedResourcesForReadOnly as mc, resolveStateBucketWithDefaultAndSource as md, supersededResourcesOf as mi, createSecretMasker as ml, dropFailedHint as mn, s3BucketArn as mo, replacementNeverSwapped as mr, malformedOrphanRowsKeptWarning as ms, beginDeleteWait as mt, crossPrefixDeniedWarning as mu, isSecretBearingReferenceString as n, stringifyIfAssigned as na, refuseMalformedOutputs as nc, AssetManifestLoader as nd, destroyStackRecordsView as ni, recordReferenceProvenanceEntry as nl, dropSettledNestedJournals as nn, assertSendableRoleArn as no, ledgerForStack as nr, toFiniteNumber as ns, CONTRIBUTOR_INSIGHTS_KEY as nt, orphansCarriedFrom as nu, inRunStackKey as o, readTagList as oa, refuseDivergentRecordRegionForDestroy as oc, getDefaultStateBucketName as od, addSuperseded as oi, hasMaskableValues as ol, revertNestedChildFromJournal as on, AWS_CREDENTIAL_ENV_KEYS as oo, planRollback as or, withRetry as os, planIndexContributorInsightsOps as ot, hasUnverifiableParameterRefusal as ou, readRecordedConditionVerdicts as p, ProviderRegistry as pa, refuseMalformedState as pc, resolveStateBucketWithDefault as pd, supersededHolderOf as pi, unionOfSecretBags as pl, dropFailedCommands as pn, regionLessSecretName as po, recordUnderIdIsNotOwn as pr, malformedOrphanRecordsWarning as ps, DYNAMODB_DELETE_POLL_COST_MS as pt, applyCrossPrefixScan as pu, isTtlRateLimited as q, IntrinsicFunctionResolver as qa, noEchoOutputsComparison as qc, injectAwsRegion as qd, ccRoutedFinalSnapshotError as qi, splitImportedOps as ql, settleUnsettledPrevious as qn, shownType as qo, noEchoParameterValueSeed as qr, refuseMalformedOrphans as qs, chunks as qt, finchSecretArgvRefusal as qu, keptWholeReasonText as r, DBPROXY_TAGS_WHAT as ra, refuseMalformedOutputsForDestroy as rc, getDockerImageBySourceHash as rd, getStackRecords as ri, snapshotPassProvenance as rl, getNestedRevertRun as rn, explicitRoleArnOrThrow as ro, reserveStackCreateToken as rr, prefetchCreateOnlyPropertyPaths as rs, contributorInsightsRefusals as rt, shouldRetainResource as ru, crossStackOutputProvenanceSource as s, refuseMalformedDesiredTags as sa, malformedRenderedContainersWarning as sc, getLegacyStateBucketName as sd, deleteSupersededEntry as si, literalSplitDelimitersOf as sl, revertedNestedRowIds as sn, applyCallerIdentityCredentials as so, seedsDeleteFirstGuard as sr, parameterInputsFor as ss, readContributorInsightsSpec as st, PhaseClock as su, DeployEngine as t, definedAttributes as ta, refuseMalformedNestedChildOutputs as tc, runDockerStreaming as td, awaitInFlightSibling as ti, redactForState as tl, displacedPhysicalIdShown as tn, assertFlagRoleArn as to, earliestDefined as tr, toCfnInteger as ts, vectorIndexesShapeDetail as tt, orphansAfterRollback as tu, conditionFingerprint as u, isRefusedByName as ua, refuseMalformedResourcesForDeploy as uc, resolveAutoAssetStorage as ud, removeSuperseded as ui, recordLogOnlyParameterValue as ul, getCurrentNestedStackContext as un, classifyRecordedSecretRegion as uo, isReplacementOrphan as ur, deployRefusesOrphanRowsReason as us, stripIndexContributorInsights as ut, rebuildClientForBucketRegion as uu, renderNestedTemplateTreeDefect as v, applyCustomResourceResponseExpiration as va, STATE_RESOURCES_MALFORMED as vc, ssmResolvedValueType as vd, cyan as vi, scrubResourceRecord as vl, sameJournaledOrphans as vn, s3BucketWebsiteUrl as vo, REDACTED_DELETE_ADDRESS_SKIP_REASON as vr, refuseMalformedOrphansForOrphan as vs, resolveDynamoDbDeleteBudgetMs as vt, withStackInstanceIdWithheld as vu, deferredServiceTokenWarning as w, withPrintingSecrets as wa, findHandledUnwrittenCreateOnly as wc, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as wd, noEchoComparisonForTemplate as wi, spelledKeysOf as wl, constructPathOf as wn, isStalePlaceholderArnAttribute as wo, nameGenerationCarriedFrom as wr, malformedLocalResourcesWarning as ws, relayedIndexBusyDelete as wt, createAssetRedirectResolver as wu, pendingMovesOutOf as x, readsNoEchoDeleteValues as xa, hasReadableOutputs as xc, MIGRATE_TMP_PREFIX as xd, red as xi, DYNAMIC_REFERENCE_TOKEN_SCAN as xl, planOrphanAdoption as xn, parameterTypeMayLoseSecretIdentity as xo, redactedDeleteAddressSkip as xr, unreadableOrphanRecords as xs, TABLE_INDEX_NOUN as xt, stringifyValue as xu, templateIdentity as y, customResourceResponseExpirationWarning as ya, UNREADABLE_RESOURCES_MAP_ROW as yc, CFN_TEMPLATE_BODY_LIMIT as yd, gray as yi, withPhysicalNameCopies as yl, makeForeignHolderScan as yn, coerceParameterTypedValue as yo, isRedactedRecordedValue as yr, repairMalformedOrphanRecordsForReadOnly as ys, DELETE_INDEX_WAIT_PROCEED_NOTE as yt, AssetPublisher as yu, planStreamMemberOps as z, isTerminationProtectionPropagationError as za, canonicalCoordinates as zc, hasPlainPrototype$1 as zd, storedSecretNameNeedles as zi, recordNoEchoParameterFreshValue as zl, parseMappingFile as zn, INTRINSIC_KEYS as zo, exportAliasCollisionScrubWarning as zr, refuseMalformedResourcePropertiesForDrift as zs, refactorMarkerMovesOf as zt, resolveDockerContextDirectory as zu };
58750
- //# sourceMappingURL=deploy-engine-BZSAOzE6.js.map
58858
+ //# sourceMappingURL=deploy-engine-CGUvIYNR.js.map