@cdkd/cli 0.341.0 → 0.342.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.
- package/dist/{ambient-client-defaults-CtGTOtn9.js → ambient-client-defaults-3MwNEdTT.js} +4 -4
- package/dist/{ambient-client-defaults-CtGTOtn9.js.map → ambient-client-defaults-3MwNEdTT.js.map} +1 -1
- package/dist/{asg-provider-BT_0gh9s.js → asg-provider-ApHZ6Mae.js} +5 -5
- package/dist/{asg-provider-BT_0gh9s.js.map → asg-provider-ApHZ6Mae.js.map} +1 -1
- package/dist/{aws-client-defaults-BLXFsfMa.js → aws-client-defaults-BayGUTJ4.js} +31 -6
- package/dist/aws-client-defaults-BayGUTJ4.js.map +1 -0
- package/dist/{aws-clients-D3Z_tFc1.js → aws-clients-pNIHPxUe.js} +3 -2
- package/dist/aws-clients-pNIHPxUe.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/{db-instance-modify-retry-CCbm-DKl.js → db-instance-modify-retry-vrjXpAjl.js} +3 -3
- package/dist/{db-instance-modify-retry-CCbm-DKl.js.map → db-instance-modify-retry-vrjXpAjl.js.map} +1 -1
- package/dist/{deploy-engine-BZSAOzE6.js → deploy-engine-B9WzTRxL.js} +374 -48
- package/dist/deploy-engine-B9WzTRxL.js.map +1 -0
- package/dist/{ecr-uri-DmkrTyRF.js → ecr-uri-CLSVFzAB.js} +3 -3
- package/dist/{ecr-uri-DmkrTyRF.js.map → ecr-uri-CLSVFzAB.js.map} +1 -1
- package/dist/{iam-role-provider-CbUqsAAi.js → iam-role-provider-qyUDKsou.js} +5 -5
- package/dist/{iam-role-provider-CbUqsAAi.js.map → iam-role-provider-qyUDKsou.js.map} +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/{neptune-provider-DlQ-_thp.js → neptune-provider-CZNhWtyQ.js} +6 -6
- package/dist/{neptune-provider-DlQ-_thp.js.map → neptune-provider-CZNhWtyQ.js.map} +1 -1
- package/dist/{program-7VC8uSCL.js → program-CWnbFCjg.js} +384 -123
- package/dist/program-CWnbFCjg.js.map +1 -0
- package/dist/{provider-classes-0cQAzv7Y.js → provider-classes-9YIXh-it.js} +12 -12
- package/dist/{provider-classes-0cQAzv7Y.js.map → provider-classes-9YIXh-it.js.map} +1 -1
- package/dist/{rds-provider-CaaoK9Yu.js → rds-provider-CvaAoT1c.js} +261 -21
- package/dist/rds-provider-CvaAoT1c.js.map +1 -0
- package/dist/{read-replica-DyG0ZkQJ.js → read-replica-BA5570ms.js} +3 -3
- package/dist/{read-replica-DyG0ZkQJ.js.map → read-replica-BA5570ms.js.map} +1 -1
- package/dist/{update-removal-CNj3wKPR.js → update-removal-DLbbpOoJ.js} +3 -3
- package/dist/{update-removal-CNj3wKPR.js.map → update-removal-DLbbpOoJ.js.map} +1 -1
- package/dist/{version-B7cmr9JA.js → version-LNRY1BhV.js} +2 -2
- package/dist/{version-B7cmr9JA.js.map → version-LNRY1BhV.js.map} +1 -1
- package/package.json +2 -2
- package/dist/aws-client-defaults-BLXFsfMa.js.map +0 -1
- package/dist/aws-clients-D3Z_tFc1.js.map +0 -1
- package/dist/deploy-engine-BZSAOzE6.js.map +0 -1
- package/dist/program-7VC8uSCL.js.map +0 -1
- package/dist/rds-provider-CaaoK9Yu.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-CNh9ExCG.js";
|
|
2
2
|
import { $ as UNRENDERABLE, A as requireConfigString, B as currentNameGeneration, C as configBooleanRefusal, D as replayWarn, E as readConfigString, G as isNameGeneration, H as getCurrentStackInstanceId, I as generateResourceNameWithFallback, J as withStackScope, K as withNameGeneration, L as looksLikeCdkdGeneratedName, Q as STACK_REF_MAX_CODE_POINTS, S as coerceCfnInteger, T as configStringRefusal, U as getCurrentStackName, V as getCurrentSkipPrefix, X as SAFE_MSG_ALTERED_CHAR, Y as withStackScopeBeforeStateRead, Z as SECRET_REF_MAX_CODE_POINTS, _ as explicitNamePropertyFor, a as safeStringify$1, at as displayStackName, b as withoutGeneratedFallbackName, c as isStdoutReservedForPayload, ct as plainIdentOr, dt as terminalSafe, et as asIsMessage, f as currentLogLineMasker, ft as truncateCodePoints, g as applyDefaultNameForFallback, h as alternateNamePropertiesFor, it as displaySafe, k as requireConfigObject, lt as safeMsg, m as getLiveRenderer, n as describeAwsFailure, nt as displayAwsMessage, ot as isPasteableIdent, p as installLogLineMaskerSource, q as withSkipPrefix, rt as displayIdent, s as getLogger, t as VERBOSE_POINTER, v as fallbackNamePropertyFor, w as configIntegerRefusal, x as coerceCfnBoolean, y as generatedNameFor, z as stackInstanceNameSuffix } from "./aws-failure-text-zxW2CTmF.js";
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import { l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-
|
|
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-
|
|
7
|
-
import { t as getCdkdVersion } from "./version-
|
|
3
|
+
import { $ as CdkdError, A as stripControlChars, B as retryClassificationText, C as isNameCooldownError, D as markReplayMayCollide, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, N as formatRetryClassificationSignals, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AssetError, R as isRetryableTransientError, S as isNameCollisionErrorFrom, St as withheldTargetClause, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as AccountIdUnavailableError, _ as ResourceUpdateNotSupportedError, _t as physicalIdShownBesideCommand, a as normalizeAwsError, at as ResourceTimeoutError, b as isUpdateUnsupportedError, bt as shellBoundedDisplay, ct as isSoftAbort, d as MacroExpansionError, dt as SHELL_ACTIVE_WHY, ft as UNSHOWABLE_VALUE, gt as pasteableCommand, ht as isInertUnquoted, i as credentialFingerprint, it as ProvisioningError, k as escapeRegExp$3, m as ExportInUseError, n as ambientCredentialConfig, ot as StateError, p as DependencyError, pt as commandHole, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, rt as LockError, st as SynthesisError, t as ambientClientDefaults, tt as DeploymentNotApprovedError, ut as SHELL_ACTIVE, vt as plainOrDescribed, w as isRecreateRetryableError, x as hasReplayMayCollide, xt as shellQuote, yt as quotedOrDescribed, z as isTransientServerError } from "./ambient-client-defaults-3MwNEdTT.js";
|
|
4
|
+
import { a as getPreAssumeEnvCredentials, c as setPreAssumeEnvCredentials, i as getAssumedRoleCredentials, l as quietS3Logger, n as awsClientDefaults, o as setAssumedRoleCredentials, t as SECOND_ROLE_PUBLISH_REFUSAL, u as ambientRegion } from "./aws-client-defaults-BayGUTJ4.js";
|
|
5
|
+
import { l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-pNIHPxUe.js";
|
|
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-DLbbpOoJ.js";
|
|
7
|
+
import { t as getCdkdVersion } from "./version-LNRY1BhV.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";
|
|
@@ -2368,7 +2368,7 @@ async function resolveStateBucketWithDefaultAndSource(cliBucket, region, legacyF
|
|
|
2368
2368
|
logger.debug("No state bucket specified, resolving default from account...");
|
|
2369
2369
|
const { GetCallerIdentityCommand } = await import("@aws-sdk/client-sts");
|
|
2370
2370
|
const { S3Client, HeadBucketCommand, ListObjectsV2Command } = await import("@aws-sdk/client-s3");
|
|
2371
|
-
const { getAwsClients } = await import("./aws-clients-
|
|
2371
|
+
const { getAwsClients } = await import("./aws-clients-pNIHPxUe.js").then((n) => n.n);
|
|
2372
2372
|
const { expectedOwnerParam, recordResolvedAccountId } = await Promise.resolve().then(() => expected_bucket_owner_exports);
|
|
2373
2373
|
const probeDeps = {
|
|
2374
2374
|
HeadBucketCommand,
|
|
@@ -6734,6 +6734,7 @@ function refuseMalformedOperation(shownStack, where, op) {
|
|
|
6734
6734
|
if (o["changeType"] !== "UPDATE") refuseMalformed(shownStack, `${where}.replacementOrphaned is only valid on an UPDATE.`);
|
|
6735
6735
|
}
|
|
6736
6736
|
if (o["wasReplaced"] !== void 0 && typeof o["wasReplaced"] !== "boolean") fail("wasReplaced", o["wasReplaced"], "a boolean when present");
|
|
6737
|
+
if (o["oldPhysicalIdLeftForCleanup"] !== void 0 && o["oldPhysicalIdLeftForCleanup"] !== true) fail("oldPhysicalIdLeftForCleanup", o["oldPhysicalIdLeftForCleanup"], "true when present");
|
|
6737
6738
|
if (o["nameGeneration"] !== void 0 && !(typeof o["nameGeneration"] === "number" && Number.isSafeInteger(o["nameGeneration"]) && o["nameGeneration"] >= 0)) fail("nameGeneration", o["nameGeneration"], "a non-negative integer when present");
|
|
6738
6739
|
if (o["oldDeletedBeforeCreate"] !== void 0 && typeof o["oldDeletedBeforeCreate"] !== "boolean") fail("oldDeletedBeforeCreate", o["oldDeletedBeforeCreate"], "a boolean when present");
|
|
6739
6740
|
if (o["oldResourceMaySurvive"] !== void 0 && !["kept", "unconfirmed"].includes(o["oldResourceMaySurvive"])) fail("oldResourceMaySurvive", o["oldResourceMaySurvive"], "kept or unconfirmed when present");
|
|
@@ -15762,6 +15763,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
15762
15763
|
}],
|
|
15763
15764
|
["AWS::RDS::DBInstance", {
|
|
15764
15765
|
handled: /* @__PURE__ */ new Set([
|
|
15766
|
+
"AdditionalStorageVolumes",
|
|
15765
15767
|
"AllocatedStorage",
|
|
15766
15768
|
"AllowMajorVersionUpgrade",
|
|
15767
15769
|
"AssociatedRoles",
|
|
@@ -15824,7 +15826,6 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
15824
15826
|
"VPCSecurityGroups"
|
|
15825
15827
|
]),
|
|
15826
15828
|
sdkUnwired: /* @__PURE__ */ new Map([
|
|
15827
|
-
["AdditionalStorageVolumes", "not yet implemented by cdkd"],
|
|
15828
15829
|
["ApplyImmediately", "cdkd always applies modifications immediately (rds:ModifyDBInstance.ApplyImmediately=true is hardcoded); users wanting maintenance-window deferral should run aws rds modify-db-instance directly"],
|
|
15829
15830
|
["BackupTarget", "not yet implemented by cdkd"],
|
|
15830
15831
|
["CustomIAMInstanceProfile", "not yet implemented by cdkd"],
|
|
@@ -29288,7 +29289,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
29288
29289
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
29289
29290
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
29290
29291
|
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-
|
|
29292
|
+
const { ASGProvider } = await import("./asg-provider-ApHZ6Mae.js");
|
|
29292
29293
|
const delegateRegion = ambientRegion();
|
|
29293
29294
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
29294
29295
|
if (asgProvider === void 0) {
|
|
@@ -29442,7 +29443,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
|
|
|
29442
29443
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
29443
29444
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
29444
29445
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
29445
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
29446
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-CvaAoT1c.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-CZNhWtyQ.js"))).NeptuneProvider({ region: ccRegion });
|
|
29446
29447
|
this.sdkDeleteDelegates.set(family, {
|
|
29447
29448
|
region: ccRegion,
|
|
29448
29449
|
provider
|
|
@@ -31035,6 +31036,7 @@ async function update$1(logicalId, physicalId, resourceType, properties, previou
|
|
|
31035
31036
|
return {
|
|
31036
31037
|
physicalId: newPhysicalId,
|
|
31037
31038
|
wasReplaced,
|
|
31039
|
+
...wasReplaced && { oldPhysicalIdLeftForCleanup: true },
|
|
31038
31040
|
attributes,
|
|
31039
31041
|
...cfnResponse.NoEcho === true && { noEchoAttributes: true }
|
|
31040
31042
|
};
|
|
@@ -34977,6 +34979,7 @@ var ReplacementRunState = class {
|
|
|
34977
34979
|
restoredLostChildren = /* @__PURE__ */ new Set();
|
|
34978
34980
|
updatesThatSentNothing = /* @__PURE__ */ new Set();
|
|
34979
34981
|
updateWasReplaced = /* @__PURE__ */ new Map();
|
|
34982
|
+
oldIdLeftForCleanup = /* @__PURE__ */ new Set();
|
|
34980
34983
|
inPlaceCreateOnlyPaths = /* @__PURE__ */ new Map();
|
|
34981
34984
|
oldDeletedBeforeCreate = /* @__PURE__ */ new Set();
|
|
34982
34985
|
attemptedNameGeneration = /* @__PURE__ */ new Map();
|
|
@@ -35340,7 +35343,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
|
|
|
35340
35343
|
if (resourceType !== "AWS::RDS::DBInstance") return false;
|
|
35341
35344
|
if (region === void 0 || region === "") return false;
|
|
35342
35345
|
const mask = input.mask ?? ((text) => text);
|
|
35343
|
-
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-
|
|
35346
|
+
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-BA5570ms.js").then((n) => n.i);
|
|
35344
35347
|
let reason;
|
|
35345
35348
|
try {
|
|
35346
35349
|
const live = await describeDBInstanceInRegion(physicalId, region);
|
|
@@ -37073,6 +37076,7 @@ async function replaceDeleteFirstAndRecreate(run, deps, logicalId, resourceType,
|
|
|
37073
37076
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
37074
37077
|
...replacementDeleteContext(deps, updateReplacePolicy),
|
|
37075
37078
|
recordedAttributes: currentResource.attributes,
|
|
37079
|
+
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
37076
37080
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
37077
37081
|
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
37078
37082
|
maskSecrets: deleteMask
|
|
@@ -37342,7 +37346,10 @@ function removeSuperseded(host, entry) {
|
|
|
37342
37346
|
function supersededAfterRollback(base, pending) {
|
|
37343
37347
|
const added = Array.isArray(pending.supersededResources) ? pending.supersededResources : [];
|
|
37344
37348
|
if (added.length === 0) return {};
|
|
37345
|
-
return { supersededResources: [...
|
|
37349
|
+
return { supersededResources: [...ownNotPending(base, added), ...added] };
|
|
37350
|
+
}
|
|
37351
|
+
function ownNotPending(base, added) {
|
|
37352
|
+
return (Array.isArray(base.supersededResources) ? base.supersededResources : []).filter((entry) => !added.some((a) => a.state.physicalId === entry.state.physicalId && a.state.resourceType === entry.state.resourceType));
|
|
37346
37353
|
}
|
|
37347
37354
|
const SUPERSEDED_KEPT_REMEDY = "cdkd keeps it in state: the next `cdkd deploy` of this stack retries the delete, and `cdkd destroy` deletes it";
|
|
37348
37355
|
function withoutSuperseded(state) {
|
|
@@ -37362,6 +37369,7 @@ async function deleteSupersededEntry(entry, input) {
|
|
|
37362
37369
|
...input.removeProtection === true && { removeProtection: true },
|
|
37363
37370
|
...input.stackDestroy === true && { stackDestroy: true },
|
|
37364
37371
|
recordedAttributes: record.attributes,
|
|
37372
|
+
recordedCreateOnlyDrops: record.acceptedCreateOnlyDrops,
|
|
37365
37373
|
recordedNoEchoLeaves: record.noEchoLeaves,
|
|
37366
37374
|
maskSecrets: input.maskSecrets
|
|
37367
37375
|
});
|
|
@@ -37492,6 +37500,7 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
|
|
|
37492
37500
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
37493
37501
|
...replacementDeleteContext(deps, updateReplacePolicy),
|
|
37494
37502
|
recordedAttributes: currentResource.attributes,
|
|
37503
|
+
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
37495
37504
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
37496
37505
|
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
37497
37506
|
...inlinePolicyClaimed && { inlinePolicyClaimed },
|
|
@@ -37505,23 +37514,12 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
|
|
|
37505
37514
|
const deferred = run.deferredReplacedDeletes;
|
|
37506
37515
|
if (!isRetry && deferred !== void 0) {
|
|
37507
37516
|
deps.logger.info(safeMsg` Could not delete old ${logicalId} (${currentResource.physicalId}) yet: ${deleteMsg}. Retrying after the rest of the deploy.`);
|
|
37508
|
-
|
|
37509
|
-
|
|
37517
|
+
recordSupersededForDeferral(run, deps, logicalId, currentResource, {
|
|
37518
|
+
updateReplacePolicy,
|
|
37519
|
+
finalSnapshotIdentifier,
|
|
37510
37520
|
noEchoDeleteValues,
|
|
37511
37521
|
inlinePolicyClaimed
|
|
37512
|
-
})
|
|
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
|
-
}
|
|
37522
|
+
});
|
|
37525
37523
|
deferred.set(logicalId, {
|
|
37526
37524
|
physicalId: currentResource.physicalId,
|
|
37527
37525
|
resourceType: oldResourceType,
|
|
@@ -37554,6 +37552,24 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
|
|
|
37554
37552
|
deps.logger.info(isRetry ? safeMsg` ${green("✓")} Old ${logicalId} (${currentResource.physicalId}) deleted` : safeMsg` ${green("✓")} Old resource deleted`);
|
|
37555
37553
|
}
|
|
37556
37554
|
}
|
|
37555
|
+
function recordSupersededForDeferral(run, deps, logicalId, oldResource, context) {
|
|
37556
|
+
const host = run.supersededHost;
|
|
37557
|
+
if (host === void 0 || !canRecordSuperseded(oldResource, {
|
|
37558
|
+
noEchoDeleteValues: context.noEchoDeleteValues,
|
|
37559
|
+
inlinePolicyClaimed: context.inlinePolicyClaimed
|
|
37560
|
+
}) || Object.entries(deps.deployStateResources()).some(([id, record]) => id !== logicalId && record?.physicalId === oldResource.physicalId)) return;
|
|
37561
|
+
const entry = {
|
|
37562
|
+
logicalId,
|
|
37563
|
+
supersededAt: Date.now(),
|
|
37564
|
+
state: oldResource,
|
|
37565
|
+
...context.updateReplacePolicy !== void 0 && { updateReplacePolicy: context.updateReplacePolicy },
|
|
37566
|
+
...context.finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier: context.finalSnapshotIdentifier },
|
|
37567
|
+
...deps.options.forceStatefulRecreation === true && { forceDataDelete: true },
|
|
37568
|
+
...deps.options.skipFinalSnapshot === true && { skipFinalSnapshot: true }
|
|
37569
|
+
};
|
|
37570
|
+
addSuperseded(host, entry);
|
|
37571
|
+
run.supersededEntries.set(logicalId, entry);
|
|
37572
|
+
}
|
|
37557
37573
|
|
|
37558
37574
|
// src/deployment/deploy-engine/replacement/create-first.ts
|
|
37559
37575
|
async function createFirstThenDeleteOld(run, deps, input) {
|
|
@@ -37640,7 +37656,9 @@ async function retryDeferredReplacedDeletes(run, deps, stackName, counts) {
|
|
|
37640
37656
|
const deferred = run.deferredReplacedDeletes;
|
|
37641
37657
|
run.deferredReplacedDeletes = void 0;
|
|
37642
37658
|
if (deferred === void 0 || deferred.size === 0) return;
|
|
37643
|
-
|
|
37659
|
+
const retried = [...deferred.values()].filter((entry) => entry.failureMessage !== void 0);
|
|
37660
|
+
if (retried.length > 0) deps.logger.info(safeMsg`Retrying the delete of ${retried.length} replaced resource(s)`);
|
|
37661
|
+
if (retried.length < deferred.size) deps.logger.info(safeMsg`Deleting the old physical id of ${deferred.size - retried.length} replaced custom resource(s)`);
|
|
37644
37662
|
const retryOne = async (logicalId, entry) => {
|
|
37645
37663
|
const guards = [];
|
|
37646
37664
|
try {
|
|
@@ -37694,7 +37712,7 @@ function warnUnretriedReplacedDeletes(run, deps, why) {
|
|
|
37694
37712
|
run.deferredReplacedDeletes = void 0;
|
|
37695
37713
|
const cause = why === "failed" ? "the deploy failed first" : "the deploy was interrupted";
|
|
37696
37714
|
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)})`));
|
|
37715
|
+
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 sends the new id an Update with the old properties, and this id is tracked again if the handler answers it; 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
37716
|
}
|
|
37699
37717
|
|
|
37700
37718
|
// src/deployment/masking-retry-logger.ts
|
|
@@ -38928,6 +38946,142 @@ function withKeysFrom(bag, source, keys) {
|
|
|
38928
38946
|
return out;
|
|
38929
38947
|
}
|
|
38930
38948
|
|
|
38949
|
+
// src/deployment/rollback-executor/replay-moved-id-cleanup.ts
|
|
38950
|
+
function newMovedIdCleanupQueue(hooks) {
|
|
38951
|
+
return {
|
|
38952
|
+
pending: [],
|
|
38953
|
+
onSuperseded: hooks.onSuperseded,
|
|
38954
|
+
onSupersededSettled: hooks.onSupersededSettled
|
|
38955
|
+
};
|
|
38956
|
+
}
|
|
38957
|
+
function segmentCleanupOptions(shared, host, base) {
|
|
38958
|
+
const hooks = {
|
|
38959
|
+
onSuperseded: (entry) => addSuperseded(host, entry),
|
|
38960
|
+
onSupersededSettled: (entry) => {
|
|
38961
|
+
removeSuperseded(host, entry);
|
|
38962
|
+
if (base === void 0) return;
|
|
38963
|
+
for (const own of supersededResourcesOf(base)) if (own.state.physicalId === entry.state.physicalId && own.state.resourceType === entry.state.resourceType) removeSuperseded(base, own);
|
|
38964
|
+
}
|
|
38965
|
+
};
|
|
38966
|
+
return shared ? {
|
|
38967
|
+
...hooks,
|
|
38968
|
+
movedIdCleanups: newMovedIdCleanupQueue(hooks)
|
|
38969
|
+
} : hooks;
|
|
38970
|
+
}
|
|
38971
|
+
function queueMovedIdCleanup(queue, scope, op, sent, answer, route) {
|
|
38972
|
+
const { logicalId } = op;
|
|
38973
|
+
const { mask } = scope;
|
|
38974
|
+
if (queue === void 0 || answer?.oldPhysicalIdLeftForCleanup !== true) return;
|
|
38975
|
+
if (scope.stateResources[logicalId]?.physicalId === sent.physicalId) return;
|
|
38976
|
+
const shown = displaySafe(mask(String(displayPhysicalId(sent.resourceType, sent.physicalId))));
|
|
38977
|
+
const policy = sent.updateReplacePolicy;
|
|
38978
|
+
if (policy === "Retain") {
|
|
38979
|
+
scope.ctx.logger.info(mask(` Rollback: ${safe(logicalId)} has UpdateReplacePolicy: Retain — the physical id it moved off (${shown}) is not sent a Delete and is no longer tracked by cdkd`));
|
|
38980
|
+
return;
|
|
38981
|
+
}
|
|
38982
|
+
if (policy === "Snapshot" && scope.ctx.skipFinalSnapshot !== true) {
|
|
38983
|
+
scope.ctx.logger.warn(mask(` ⚠ Rollback: ${safe(logicalId)} has UpdateReplacePolicy: Snapshot, which a custom resource cannot take — the physical id it moved off (${shown}) is not sent a Delete and is no longer tracked by cdkd`));
|
|
38984
|
+
scope.result.warnings++;
|
|
38985
|
+
return;
|
|
38986
|
+
}
|
|
38987
|
+
const superseded = canRecordSuperseded(sent, {}) && queue.onSuperseded !== void 0 ? {
|
|
38988
|
+
logicalId,
|
|
38989
|
+
supersededAt: Date.now(),
|
|
38990
|
+
state: sent,
|
|
38991
|
+
...(policy === "Delete" || policy === "RetainExceptOnCreate") && { updateReplacePolicy: policy }
|
|
38992
|
+
} : void 0;
|
|
38993
|
+
if (superseded !== void 0) queue.onSuperseded?.(superseded);
|
|
38994
|
+
queue.pending.push({
|
|
38995
|
+
logicalId,
|
|
38996
|
+
sent,
|
|
38997
|
+
provider: route.provider,
|
|
38998
|
+
provisionedBy: route.provisionedBy,
|
|
38999
|
+
superseded,
|
|
39000
|
+
secrets: route.secrets,
|
|
39001
|
+
mask
|
|
39002
|
+
});
|
|
39003
|
+
scope.ctx.logger.info(mask(` Rollback: ${safe(logicalId)} moved off ${shown}, which is sent a Delete once the rollback completes`));
|
|
39004
|
+
}
|
|
39005
|
+
async function runMovedIdCleanups(queue, scope) {
|
|
39006
|
+
const { stateResources, stackName, ctx, result, afterOp } = scope;
|
|
39007
|
+
const { logger } = ctx;
|
|
39008
|
+
const entries = queue.pending.splice(0);
|
|
39009
|
+
for (const entry of entries) {
|
|
39010
|
+
const { logicalId, sent, mask, superseded } = entry;
|
|
39011
|
+
const shown = displaySafe(mask(String(displayPhysicalId(sent.resourceType, sent.physicalId))));
|
|
39012
|
+
const untracked = (why) => {
|
|
39013
|
+
ctx.recordEvent?.({
|
|
39014
|
+
eventType: "ROLLBACK_RESOURCE_SUCCEEDED",
|
|
39015
|
+
stackName,
|
|
39016
|
+
operation: "UPDATE",
|
|
39017
|
+
logicalId,
|
|
39018
|
+
resourceType: sent.resourceType,
|
|
39019
|
+
...entry.provisionedBy && { provisionedBy: entry.provisionedBy },
|
|
39020
|
+
physicalId: sent.physicalId,
|
|
39021
|
+
reason: mask(`The rollback moved ${logicalId} off ${shown}, which ${why}; it is no longer tracked by cdkd.`)
|
|
39022
|
+
});
|
|
39023
|
+
};
|
|
39024
|
+
if (scope.interrupted) {
|
|
39025
|
+
logger.warn(mask(` Rollback: the physical id ${safe(logicalId)} moved off (${shown}) was not sent its Delete: the rollback was interrupted. ` + (superseded !== void 0 ? `${SUPERSEDED_KEPT_REMEDY}.` : `It is no longer tracked by cdkd; delete what the handler made under it manually.`)));
|
|
39026
|
+
result.warnings++;
|
|
39027
|
+
if (superseded === void 0) untracked("was not sent its Delete (interrupted)");
|
|
39028
|
+
continue;
|
|
39029
|
+
}
|
|
39030
|
+
const settle = async () => {
|
|
39031
|
+
if (superseded === void 0) return;
|
|
39032
|
+
queue.onSupersededSettled?.(superseded);
|
|
39033
|
+
try {
|
|
39034
|
+
await afterOp?.(logicalId);
|
|
39035
|
+
} catch (saveError) {
|
|
39036
|
+
logger.warn(mask(` Rollback: saving state after settling the physical id ${safe(logicalId)} moved off (${shown}) failed: ${displaySafe(describeAwsFailure(saveError).detail)}`));
|
|
39037
|
+
result.warnings++;
|
|
39038
|
+
}
|
|
39039
|
+
};
|
|
39040
|
+
const holder = Object.entries(stateResources).find(([, record]) => typeof record === "object" && record !== null && record.physicalId === sent.physicalId)?.[0];
|
|
39041
|
+
if (holder !== void 0) {
|
|
39042
|
+
logger.warn(mask(` Rollback: the physical id ${safe(logicalId)} moved off (${shown}) is not sent a Delete: ${safe(holder)} records the same physical id, and cdkd never deletes an id a record names`));
|
|
39043
|
+
result.warnings++;
|
|
39044
|
+
await settle();
|
|
39045
|
+
continue;
|
|
39046
|
+
}
|
|
39047
|
+
let deleted = false;
|
|
39048
|
+
try {
|
|
39049
|
+
const outcome = await withReplayDeletePrinting({
|
|
39050
|
+
ctx,
|
|
39051
|
+
op: {
|
|
39052
|
+
logicalId,
|
|
39053
|
+
changeType: "UPDATE",
|
|
39054
|
+
resourceType: sent.resourceType
|
|
39055
|
+
},
|
|
39056
|
+
secrets: entry.secrets
|
|
39057
|
+
}, () => entry.provider.delete(logicalId, sent.physicalId, sent.resourceType, sent.properties, {
|
|
39058
|
+
expectedRegion: ctx.region,
|
|
39059
|
+
deletionPolicy: replacementDeletePolicy(sent.updateReplacePolicy),
|
|
39060
|
+
recordedAttributes: sent.attributes,
|
|
39061
|
+
recordedCreateOnlyDrops: sent.acceptedCreateOnlyDrops,
|
|
39062
|
+
recordedNoEchoLeaves: sent.noEchoLeaves,
|
|
39063
|
+
maskSecrets: mask
|
|
39064
|
+
}));
|
|
39065
|
+
throwIfDeleteSkipped(outcome, logicalId, sent.physicalId, "while deleting the physical id the rollback moved off", {
|
|
39066
|
+
ctx,
|
|
39067
|
+
stackName,
|
|
39068
|
+
resourceType: sent.resourceType,
|
|
39069
|
+
provisionedBy: entry.provisionedBy,
|
|
39070
|
+
mask
|
|
39071
|
+
});
|
|
39072
|
+
deleted = true;
|
|
39073
|
+
} catch (deleteError) {
|
|
39074
|
+
logger.warn(mask(` Rollback: ${shownLogicalId(logicalId)} was restored, but deleting the physical id it moved off (${shown}) failed: ${displaySafe(describeAwsFailure(deleteError).detail)}. ` + (superseded !== void 0 ? `${SUPERSEDED_KEPT_REMEDY}.` : `It is no longer tracked by cdkd; delete what the handler made under it manually.`)));
|
|
39075
|
+
result.warnings++;
|
|
39076
|
+
if (superseded === void 0) untracked("its Delete did not complete");
|
|
39077
|
+
}
|
|
39078
|
+
if (deleted) {
|
|
39079
|
+
logger.info(mask(` ✓ Rollback: ${safe(logicalId)}'s old physical id (${shown}) deleted`));
|
|
39080
|
+
await settle();
|
|
39081
|
+
}
|
|
39082
|
+
}
|
|
39083
|
+
}
|
|
39084
|
+
|
|
38931
39085
|
// src/provisioning/redacted-delete-address.ts
|
|
38932
39086
|
function isRedactedRecordedValue(value) {
|
|
38933
39087
|
if (carriesSecretMask(value)) return true;
|
|
@@ -39125,6 +39279,7 @@ function isTypeChangeOp(op) {
|
|
|
39125
39279
|
return stamped !== void 0 && stamped !== op.resourceType || recorded !== void 0 && recorded !== op.resourceType;
|
|
39126
39280
|
}
|
|
39127
39281
|
function isReplacementOp(op) {
|
|
39282
|
+
if (movedIdLeftForCleanup(op)) return false;
|
|
39128
39283
|
return op.changeType === "UPDATE" && op.previousState?.physicalId !== void 0 && (op.previousState.physicalId !== op.physicalId && op.wasReplaced !== false || sameIdRecreated(op) || isTypeChangeOp(op) || equalIdNamesDifferentResources({
|
|
39129
39284
|
resourceType: op.resourceType,
|
|
39130
39285
|
physicalId: op.physicalId,
|
|
@@ -39132,6 +39287,9 @@ function isReplacementOp(op) {
|
|
|
39132
39287
|
newProperties: op.properties
|
|
39133
39288
|
}));
|
|
39134
39289
|
}
|
|
39290
|
+
function movedIdLeftForCleanup(op) {
|
|
39291
|
+
return op.changeType === "UPDATE" && op.oldPhysicalIdLeftForCleanup === true && isCustomResourceType(op.resourceType) && op.wasReplaced === true && op.oldDeletedBeforeCreate !== true && typeof op.physicalId === "string" && typeof op.previousState?.physicalId === "string" && op.previousState.physicalId !== op.physicalId && !isTypeChangeOp(op);
|
|
39292
|
+
}
|
|
39135
39293
|
function sameIdRecreated(op) {
|
|
39136
39294
|
return op.oldDeletedBeforeCreate === true && op.wasReplaced !== false && op.physicalId !== void 0 && op.previousState?.physicalId === op.physicalId;
|
|
39137
39295
|
}
|
|
@@ -39217,6 +39375,7 @@ function classifyRollbackOp(op, stateResources, orphanLogicalIds) {
|
|
|
39217
39375
|
if (templatePoliciesDiffer(current, op.previousState)) return "restore-policies";
|
|
39218
39376
|
return "skip-already-done";
|
|
39219
39377
|
}
|
|
39378
|
+
if (movedIdLeftForCleanup(op) && current.physicalId !== op.physicalId) return "skip-mismatch";
|
|
39220
39379
|
return "revert";
|
|
39221
39380
|
}
|
|
39222
39381
|
function templatePoliciesDiffer(current, previous) {
|
|
@@ -39399,7 +39558,7 @@ function markDeleteFirstBlocked(operations, failedOperations = []) {
|
|
|
39399
39558
|
for (const op of operations) {
|
|
39400
39559
|
const prev = op.previousState?.physicalId;
|
|
39401
39560
|
if (typeof prev !== "string" || prev === "") continue;
|
|
39402
|
-
if (op.changeType === "DELETE" || op.changeType === "UPDATE" && op.physicalId !== prev && op.wasReplaced !== false && op.oldResourceRetained !== true) add(op.logicalId, prev, op.previousState?.attributes);
|
|
39561
|
+
if (op.changeType === "DELETE" || op.changeType === "UPDATE" && op.physicalId !== prev && op.wasReplaced !== false && op.oldResourceRetained !== true && !movedIdLeftForCleanup(op)) add(op.logicalId, prev, op.previousState?.attributes);
|
|
39403
39562
|
}
|
|
39404
39563
|
if (gone.length === 0) return;
|
|
39405
39564
|
for (const op of operations) {
|
|
@@ -39993,6 +40152,7 @@ async function replayDelete(s) {
|
|
|
39993
40152
|
...ctx.skipFinalSnapshot === true && { skipFinalSnapshot: true },
|
|
39994
40153
|
deletionPolicy: snapshotPolicy ? "Snapshot" : "Delete",
|
|
39995
40154
|
recordedAttributes: stateResources[op.logicalId]?.attributes,
|
|
40155
|
+
recordedCreateOnlyDrops: stateResources[op.logicalId]?.acceptedCreateOnlyDrops,
|
|
39996
40156
|
recordedNoEchoLeaves: stateResources[op.logicalId]?.noEchoLeaves,
|
|
39997
40157
|
maskSecrets: mask
|
|
39998
40158
|
}));
|
|
@@ -40845,6 +41005,7 @@ async function replayReadopt(s, survivor) {
|
|
|
40845
41005
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
40846
41006
|
deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
|
|
40847
41007
|
recordedAttributes: current.attributes,
|
|
41008
|
+
recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
|
|
40848
41009
|
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
40849
41010
|
maskSecrets: mask
|
|
40850
41011
|
}));
|
|
@@ -40952,12 +41113,17 @@ async function replayRevert(s) {
|
|
|
40952
41113
|
expectedRegion: ctx.region,
|
|
40953
41114
|
replayingState: true,
|
|
40954
41115
|
recordedAttributes: current.attributes,
|
|
41116
|
+
recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
|
|
40955
41117
|
...revertClaimed && { inlinePolicyClaimed: revertClaimed },
|
|
40956
41118
|
...unsettledContextOf(current, previousState)
|
|
40957
41119
|
}
|
|
40958
41120
|
], op.logicalId, logger, isInterrupted, secrets, mask));
|
|
40959
41121
|
if (revertResult) recordNoEchoAttributeValues(revertResult, secrets, desiredProps);
|
|
40960
|
-
|
|
41122
|
+
const restoreBase = movedIdLeftForCleanup(op) ? {
|
|
41123
|
+
...previousState,
|
|
41124
|
+
physicalId: current.physicalId
|
|
41125
|
+
} : previousState;
|
|
41126
|
+
stateResources[op.logicalId] = maskRestoredNoEchoRecord(redactRollbackRecord(recordAfterRollbackUpdate(restoreBase, revertResult), secrets, previousState.properties, previousState.attributes), restoreBase, noEcho.substituted);
|
|
40961
41127
|
stateResources[op.logicalId] = await withUnprovenUnsettled(stateResources[op.logicalId], {
|
|
40962
41128
|
provider,
|
|
40963
41129
|
logicalId: op.logicalId,
|
|
@@ -40968,6 +41134,11 @@ async function replayRevert(s) {
|
|
|
40968
41134
|
desired: desiredProps ?? {},
|
|
40969
41135
|
...unsettledContextOf(current, previousState).unsettledItems !== void 0 && { attemptedItems: unsettledContextOf(current, previousState).unsettledItems }
|
|
40970
41136
|
}, (message) => logger.warn(mask(message)));
|
|
41137
|
+
queueMovedIdCleanup(s.movedIdCleanups, s, op, current, revertResult, {
|
|
41138
|
+
provider,
|
|
41139
|
+
provisionedBy: revertVia,
|
|
41140
|
+
secrets
|
|
41141
|
+
});
|
|
40971
41142
|
if (updatePartialReason(revertResult) === void 0) inlinePolicyWriters.record(op.logicalId, "update", stateResources[op.logicalId], !deepEqual$2(previousState.properties?.["Policies"], current.properties?.["Policies"]), revertVia);
|
|
40972
41143
|
const rollbackPartial = updatePartialReason(revertResult);
|
|
40973
41144
|
if (rollbackPartial !== void 0) logger.warn(mask(` Rollback: ${safe(op.logicalId)} restored, ${updatePartialMessage(rollbackPartial)}`));
|
|
@@ -41045,6 +41216,7 @@ async function recreateOldResource(s, r) {
|
|
|
41045
41216
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
41046
41217
|
deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
|
|
41047
41218
|
recordedAttributes: current.attributes,
|
|
41219
|
+
recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
|
|
41048
41220
|
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
41049
41221
|
maskSecrets: mask
|
|
41050
41222
|
}));
|
|
@@ -41202,6 +41374,7 @@ async function finishReverseReplacement(s, r, createResult, deletedNewFirst) {
|
|
|
41202
41374
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
41203
41375
|
deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
|
|
41204
41376
|
recordedAttributes: current.attributes,
|
|
41377
|
+
recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
|
|
41205
41378
|
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
41206
41379
|
maskSecrets: mask
|
|
41207
41380
|
}));
|
|
@@ -41433,8 +41606,21 @@ async function replayRollbackUnbound(operations, stateResources, stackName, ctx,
|
|
|
41433
41606
|
orphaned: [],
|
|
41434
41607
|
rolledBackCreates: []
|
|
41435
41608
|
};
|
|
41609
|
+
const movedIdCleanups = options.movedIdCleanups ?? newMovedIdCleanupQueue({
|
|
41610
|
+
onSuperseded: options.onSuperseded,
|
|
41611
|
+
onSupersededSettled: options.onSupersededSettled
|
|
41612
|
+
});
|
|
41613
|
+
const runCleanups = () => runMovedIdCleanups(movedIdCleanups, {
|
|
41614
|
+
stateResources,
|
|
41615
|
+
stackName,
|
|
41616
|
+
ctx,
|
|
41617
|
+
result,
|
|
41618
|
+
afterOp: options.afterOp,
|
|
41619
|
+
interrupted: result.interrupted || options.isInterrupted?.() === true
|
|
41620
|
+
});
|
|
41436
41621
|
if (operations.length === 0) {
|
|
41437
41622
|
ctx.logger.info("No completed operations to roll back.");
|
|
41623
|
+
await runCleanups();
|
|
41438
41624
|
await restoreHeldInlinePolicies(inlinePolicyWriters, stateResources, stackName, ctx, result);
|
|
41439
41625
|
return result;
|
|
41440
41626
|
}
|
|
@@ -41463,7 +41649,7 @@ async function replayRollbackUnbound(operations, stateResources, stackName, ctx,
|
|
|
41463
41649
|
const runOp = async (op, deferral) => {
|
|
41464
41650
|
const failuresBefore = result.failures;
|
|
41465
41651
|
const skippedBefore = result.skipped;
|
|
41466
|
-
await replaySingle(op, stateResources, stackName, ctx, resolver, orphanLogicalIds, result, options.onOrphan, inlinePolicyWriters, options.afterOp, options.isInterrupted, createdInSegment, options.onRolledBackCreate, deferral);
|
|
41652
|
+
await replaySingle(op, stateResources, stackName, ctx, resolver, orphanLogicalIds, result, options.onOrphan, inlinePolicyWriters, options.afterOp, options.isInterrupted, createdInSegment, options.onRolledBackCreate, deferral, movedIdCleanups);
|
|
41467
41653
|
if (result.failures > failuresBefore || result.skipped > skippedBefore) failedOps.add(op);
|
|
41468
41654
|
};
|
|
41469
41655
|
const recreateAhead = async (refs) => {
|
|
@@ -41526,9 +41712,10 @@ async function replayRollbackUnbound(operations, stateResources, stackName, ctx,
|
|
|
41526
41712
|
result.interrupted = true;
|
|
41527
41713
|
break;
|
|
41528
41714
|
}
|
|
41529
|
-
await replaySingle(op, stateResources, stackName, ctx, resolver, orphanLogicalIds, result, options.onOrphan, inlinePolicyWriters, options.afterOp, options.isInterrupted, createdInSegment, options.onRolledBackCreate);
|
|
41715
|
+
await replaySingle(op, stateResources, stackName, ctx, resolver, orphanLogicalIds, result, options.onOrphan, inlinePolicyWriters, options.afterOp, options.isInterrupted, createdInSegment, options.onRolledBackCreate, void 0, movedIdCleanups);
|
|
41530
41716
|
}
|
|
41531
41717
|
}
|
|
41718
|
+
await runCleanups();
|
|
41532
41719
|
await restoreHeldInlinePolicies(inlinePolicyWriters, stateResources, stackName, ctx, result);
|
|
41533
41720
|
ctx.logger.info("Rollback completed. Some resources may remain if deletion failed.");
|
|
41534
41721
|
ctx.recordEvent?.({
|
|
@@ -41537,7 +41724,7 @@ async function replayRollbackUnbound(operations, stateResources, stackName, ctx,
|
|
|
41537
41724
|
});
|
|
41538
41725
|
return result;
|
|
41539
41726
|
}
|
|
41540
|
-
async function replaySingle(op, stateResources, stackName, ctx, resolver, orphanLogicalIds, result, onOrphan, inlinePolicyWriters, afterOp, isInterrupted, createdInSegment = /* @__PURE__ */ new Set(), onRolledBackCreate, deferral) {
|
|
41727
|
+
async function replaySingle(op, stateResources, stackName, ctx, resolver, orphanLogicalIds, result, onOrphan, inlinePolicyWriters, afterOp, isInterrupted, createdInSegment = /* @__PURE__ */ new Set(), onRolledBackCreate, deferral, movedIdCleanups) {
|
|
41541
41728
|
const action = classifyRollbackOp(op, stateResources, orphanLogicalIds);
|
|
41542
41729
|
const { logger } = ctx;
|
|
41543
41730
|
const secrets = /* @__PURE__ */ new Map();
|
|
@@ -41565,7 +41752,8 @@ async function replaySingle(op, stateResources, stackName, ctx, resolver, orphan
|
|
|
41565
41752
|
mask,
|
|
41566
41753
|
createdInSegment,
|
|
41567
41754
|
createRollbackRoute: void 0,
|
|
41568
|
-
deferral
|
|
41755
|
+
deferral,
|
|
41756
|
+
movedIdCleanups
|
|
41569
41757
|
};
|
|
41570
41758
|
const recordBefore = ownRecord(stateResources, op.logicalId);
|
|
41571
41759
|
try {
|
|
@@ -41863,6 +42051,7 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
41863
42051
|
...ctx.skipFinalSnapshot === true && { skipFinalSnapshot: true },
|
|
41864
42052
|
deletionPolicy: snapshotPolicy ? "Snapshot" : "Delete",
|
|
41865
42053
|
recordedAttributes: failedCreateRecord?.attributes,
|
|
42054
|
+
recordedCreateOnlyDrops: failedCreateRecord?.acceptedCreateOnlyDrops,
|
|
41866
42055
|
recordedNoEchoLeaves: nonEmptyOrUndefined([...maskedLeafCoordinatesOf(op.attemptedProperties ?? {}), ...failedCreateRecord?.noEchoLeaves ?? []]),
|
|
41867
42056
|
...op.physicalIdRecoveredFromError === true && {
|
|
41868
42057
|
failedCreateOrphan: true,
|
|
@@ -41979,6 +42168,7 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
41979
42168
|
expectedRegion: ctx.region,
|
|
41980
42169
|
replayingState: true,
|
|
41981
42170
|
recordedAttributes: current.attributes,
|
|
42171
|
+
recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
|
|
41982
42172
|
...revertFailedClaimed && { inlinePolicyClaimed: revertFailedClaimed },
|
|
41983
42173
|
...revertUnsettled
|
|
41984
42174
|
}
|
|
@@ -42000,6 +42190,11 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
42000
42190
|
const revertFailedPartial = updatePartialReason(revertFailedResult);
|
|
42001
42191
|
if (revertFailedPartial !== void 0) logger.warn(mask(` Rollback: ${safe(op.logicalId)} reverted, ${updatePartialMessage(revertFailedPartial)}`));
|
|
42002
42192
|
else logger.info(` Rollback: ${safe(op.logicalId)} reverted successfully`);
|
|
42193
|
+
queueMovedIdCleanup(options.movedIdCleanups, skipScope, op, current, revertFailedResult, {
|
|
42194
|
+
provider,
|
|
42195
|
+
provisionedBy: revertVia,
|
|
42196
|
+
secrets
|
|
42197
|
+
});
|
|
42003
42198
|
await options.afterOp?.(op.logicalId);
|
|
42004
42199
|
ctx.recordEvent?.({
|
|
42005
42200
|
eventType: "ROLLBACK_RESOURCE_SUCCEEDED",
|
|
@@ -42047,7 +42242,45 @@ async function replayRollback(...args) {
|
|
|
42047
42242
|
return await withProducerRegions(() => replayProducerRegionEvidence(args[3]), () => withStackRecords(replayStackRecordsView(args[1], args[4]?.orphanLogicalIds), () => replayRollbackUnbound(...args)));
|
|
42048
42243
|
}
|
|
42049
42244
|
async function replayFailedOperations(...args) {
|
|
42050
|
-
return await withProducerRegions(() => replayProducerRegionEvidence(args[3]), () => withStackRecords(replayStackRecordsView(args[1]), () =>
|
|
42245
|
+
return await withProducerRegions(() => replayProducerRegionEvidence(args[3]), () => withStackRecords(replayStackRecordsView(args[1]), async () => {
|
|
42246
|
+
const [ops, stateResources, stackName, ctx, options = {}] = args;
|
|
42247
|
+
if (options.movedIdCleanups !== void 0) {
|
|
42248
|
+
const result = await replayFailedOperationsUnbound(...args);
|
|
42249
|
+
if (result.interrupted) await runMovedIdCleanups(options.movedIdCleanups, {
|
|
42250
|
+
stateResources,
|
|
42251
|
+
stackName,
|
|
42252
|
+
ctx,
|
|
42253
|
+
result,
|
|
42254
|
+
afterOp: options.afterOp,
|
|
42255
|
+
interrupted: true
|
|
42256
|
+
});
|
|
42257
|
+
return result;
|
|
42258
|
+
}
|
|
42259
|
+
const movedIdCleanups = newMovedIdCleanupQueue(options);
|
|
42260
|
+
const envelope = options.emitEnvelope === true && ops.length > 0;
|
|
42261
|
+
if (envelope) ctx.recordEvent?.({
|
|
42262
|
+
eventType: "ROLLBACK_STARTED",
|
|
42263
|
+
stackName
|
|
42264
|
+
});
|
|
42265
|
+
const result = await replayFailedOperationsUnbound(ops, stateResources, stackName, ctx, {
|
|
42266
|
+
...options,
|
|
42267
|
+
emitEnvelope: false,
|
|
42268
|
+
movedIdCleanups
|
|
42269
|
+
});
|
|
42270
|
+
await runMovedIdCleanups(movedIdCleanups, {
|
|
42271
|
+
stateResources,
|
|
42272
|
+
stackName,
|
|
42273
|
+
ctx,
|
|
42274
|
+
result,
|
|
42275
|
+
afterOp: options.afterOp,
|
|
42276
|
+
interrupted: result.interrupted || options.isInterrupted?.() === true
|
|
42277
|
+
});
|
|
42278
|
+
if (envelope) ctx.recordEvent?.({
|
|
42279
|
+
eventType: "ROLLBACK_FINISHED",
|
|
42280
|
+
stackName
|
|
42281
|
+
});
|
|
42282
|
+
return result;
|
|
42283
|
+
}));
|
|
42051
42284
|
}
|
|
42052
42285
|
|
|
42053
42286
|
// src/deployment/deploy-engine/observed-capture.ts
|
|
@@ -44362,8 +44595,7 @@ async function revertNestedChildFromJournal(args) {
|
|
|
44362
44595
|
onRolledBackCreate: (create) => rolledBackCreates.push(create),
|
|
44363
44596
|
inlinePolicyWriters,
|
|
44364
44597
|
failedOperations: segment.failedOperations,
|
|
44365
|
-
|
|
44366
|
-
onSupersededSettled: (entry) => removeSuperseded(supersededHost, entry)
|
|
44598
|
+
...segmentCleanupOptions(false, supersededHost, base)
|
|
44367
44599
|
}));
|
|
44368
44600
|
for (const [id, below] of inner.settled) settledBelow.set(id, below);
|
|
44369
44601
|
return {
|
|
@@ -44547,7 +44779,8 @@ async function revertUnsettledFailedUpdates(deps, ctx, stackName, stateResources
|
|
|
44547
44779
|
emitEnvelope: options.emitEnvelope,
|
|
44548
44780
|
inlinePolicyWriters: options.inlinePolicyWriters,
|
|
44549
44781
|
isInterrupted,
|
|
44550
|
-
previousFromRecord: own
|
|
44782
|
+
previousFromRecord: own,
|
|
44783
|
+
...options.cleanup
|
|
44551
44784
|
}));
|
|
44552
44785
|
out.warnings += replay.warnings + replay.failures;
|
|
44553
44786
|
if (replay.interrupted) out.interrupted = true;
|
|
@@ -44621,6 +44854,7 @@ async function performRollback(deps, completedOperations, stateResources, stackN
|
|
|
44621
44854
|
};
|
|
44622
44855
|
const inlinePolicyWriters = new RollbackInlinePolicyWriters();
|
|
44623
44856
|
const supersededHost = {};
|
|
44857
|
+
const cleanup = segmentCleanupOptions(true, supersededHost);
|
|
44624
44858
|
const runId = deps.options.eventRecorder?.runId;
|
|
44625
44859
|
const { result, failed, unsettled, run } = await withNestedRevertRun(runId, async (scope) => {
|
|
44626
44860
|
return {
|
|
@@ -44634,14 +44868,14 @@ async function performRollback(deps, completedOperations, stateResources, stackN
|
|
|
44634
44868
|
unsettled: await revertUnsettledFailedUpdates(deps, ctx, stackName, stateResources, failedOperations, new Set(orphanIndexes), {
|
|
44635
44869
|
emitEnvelope: completedOperations.length === 0 && orphanOps.length === 0,
|
|
44636
44870
|
inlinePolicyWriters,
|
|
44637
|
-
hooks: unsettledRevert
|
|
44871
|
+
hooks: unsettledRevert,
|
|
44872
|
+
cleanup
|
|
44638
44873
|
}),
|
|
44639
44874
|
result: await withPrintingSecrets(replayPrintingBag(deps, completedReplayEntries(completedOperations), stateResources), () => replayRollback(completedOperations, stateResources, stackName, ctx, {
|
|
44640
44875
|
inlinePolicyWriters,
|
|
44641
44876
|
failedOperations,
|
|
44642
44877
|
isInterrupted: () => deps.userInterrupted(),
|
|
44643
|
-
|
|
44644
|
-
onSupersededSettled: (entry) => removeSuperseded(supersededHost, entry)
|
|
44878
|
+
...cleanup
|
|
44645
44879
|
})),
|
|
44646
44880
|
run: scope
|
|
44647
44881
|
};
|
|
@@ -44825,6 +45059,11 @@ function withoutPendingRequest(op) {
|
|
|
44825
45059
|
return rest;
|
|
44826
45060
|
}
|
|
44827
45061
|
|
|
45062
|
+
// src/deployment/deploy-engine/rollback/applied-nothing.ts
|
|
45063
|
+
function appliedNothing(op) {
|
|
45064
|
+
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;
|
|
45065
|
+
}
|
|
45066
|
+
|
|
44828
45067
|
// src/deployment/deploy-engine/rollback/journal-write.ts
|
|
44829
45068
|
async function writeRollbackJournalSegment(deps, stackName, completedOperations, failedOperations, reason, initialDeploy, nestedPending) {
|
|
44830
45069
|
if (!nestedPending && completedOperations.length === 0 && failedOperations.length === 0) return false;
|
|
@@ -44999,6 +45238,10 @@ async function settleJournalAfterCleanRollback(deps, stackName, failedOperations
|
|
|
44999
45238
|
for (const op of gone) deps.logger.warn(deletedOutsideCdkdMessage(op, true));
|
|
45000
45239
|
if (revertable.length === 0) return true;
|
|
45001
45240
|
if (!await writeRollbackJournalSegment(deps, stackName, [], revertable, "auto-rollback-clean", initialDeploy)) return true;
|
|
45241
|
+
if (revertable.every(appliedNothing)) {
|
|
45242
|
+
deps.logger.debug("Every failed operation applied nothing (a refused UPDATE); no --revert-failed remedy printed.");
|
|
45243
|
+
return true;
|
|
45244
|
+
}
|
|
45002
45245
|
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
45246
|
value: stackName,
|
|
45004
45247
|
hole: "stack"
|
|
@@ -46566,6 +46809,7 @@ Drop the record with: ${dropCommand}`);
|
|
|
46566
46809
|
deletionPolicy: governingPolicy ?? "Delete",
|
|
46567
46810
|
...deps.options.skipFinalSnapshot === true && { skipFinalSnapshot: true },
|
|
46568
46811
|
recordedAttributes: currentResource.attributes,
|
|
46812
|
+
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
46569
46813
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
46570
46814
|
maskSecrets: createUnionSecretMasker([secretNameBagFor(deps.secretsRun(), logicalId)])
|
|
46571
46815
|
}), logicalId, 3, 5e3, deleteProvider);
|
|
@@ -54836,14 +55080,14 @@ function refuseUnsafeReplacement(engine, { change, currentProps, currentResource
|
|
|
54836
55080
|
if (statefulReason && engine.options.forceStatefulRecreation !== true) {
|
|
54837
55081
|
const immutableProps = change.propertyChanges?.filter((pc) => pc.requiresReplacement).map((pc) => pc.path).join(", ") || "Type";
|
|
54838
55082
|
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"));
|
|
55083
|
+
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
55084
|
}
|
|
54841
55085
|
}
|
|
54842
55086
|
if (recreateViaCcApi) {
|
|
54843
55087
|
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"));
|
|
55088
|
+
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
55089
|
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"));
|
|
55090
|
+
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
55091
|
}
|
|
54848
55092
|
}
|
|
54849
55093
|
|
|
@@ -54881,6 +55125,7 @@ async function recreateDestroyThenCreate(engine, { currentResource, equalIdIsSam
|
|
|
54881
55125
|
...recreateFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: recreateFinalSnapshotId },
|
|
54882
55126
|
...replacementDeleteContext(engine.replacementDeps(), updateReplacePolicy),
|
|
54883
55127
|
recordedAttributes: currentResource.attributes,
|
|
55128
|
+
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
54884
55129
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
54885
55130
|
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
54886
55131
|
maskSecrets: createUnionSecretMasker([updateSecrets, secretNameBagFor(engine.secretsRun, logicalId)])
|
|
@@ -55199,6 +55444,64 @@ function ccAutoRouteUpdateFailureRemedy(logicalId, resourceType, autoRoutedPrope
|
|
|
55199
55444
|
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
55445
|
}
|
|
55201
55446
|
|
|
55447
|
+
// src/deployment/deploy-engine/replacement/cleanup-old-id.ts
|
|
55448
|
+
async function deleteOldIdAfterDeploy(run, deps, input) {
|
|
55449
|
+
const { logicalId, oldResource } = input;
|
|
55450
|
+
const shownOldId = displayPhysicalId(oldResource.resourceType, oldResource.physicalId);
|
|
55451
|
+
const keptBy = input.updateReplacePolicy === "Retain" ? "Retain" : input.updateReplacePolicy === "Snapshot" && deps.options.skipFinalSnapshot !== true ? "Snapshot" : void 0;
|
|
55452
|
+
if (keptBy === "Retain") {
|
|
55453
|
+
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`);
|
|
55454
|
+
return;
|
|
55455
|
+
}
|
|
55456
|
+
if (keptBy === "Snapshot") {
|
|
55457
|
+
run.replacedDeleteSkips.set(logicalId, `the old physical id ${oldResource.physicalId} was not sent a Delete (UpdateReplacePolicy: Snapshot) and is no longer tracked by cdkd`);
|
|
55458
|
+
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`);
|
|
55459
|
+
return;
|
|
55460
|
+
}
|
|
55461
|
+
let noEchoDeleteValues;
|
|
55462
|
+
try {
|
|
55463
|
+
noEchoDeleteValues = await input.noEchoDeleteValues();
|
|
55464
|
+
} catch {
|
|
55465
|
+
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`);
|
|
55466
|
+
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`);
|
|
55467
|
+
return;
|
|
55468
|
+
}
|
|
55469
|
+
const send = async (isRetry) => {
|
|
55470
|
+
const others = Object.fromEntries(Object.entries(deps.deployStateResources()).filter(([id]) => id !== logicalId));
|
|
55471
|
+
const holderId = Object.entries(others).find(([, record]) => record?.physicalId === oldResource.physicalId)?.[0];
|
|
55472
|
+
if (holderId !== void 0) {
|
|
55473
|
+
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`);
|
|
55474
|
+
const recorded = run.supersededEntries.get(logicalId);
|
|
55475
|
+
if (recorded !== void 0 && run.supersededHost !== void 0) {
|
|
55476
|
+
removeSuperseded(run.supersededHost, recorded);
|
|
55477
|
+
run.supersededEntries.delete(logicalId);
|
|
55478
|
+
}
|
|
55479
|
+
return;
|
|
55480
|
+
}
|
|
55481
|
+
await deleteReplacedAfterCreate(run, deps, logicalId, oldResource.resourceType, oldResource, input.deleteProvider, oldResource.properties ?? {}, void 0, input.updateReplacePolicy, input.secrets, input.deleteProvisionedBy, noEchoDeleteValues, isRetry);
|
|
55482
|
+
};
|
|
55483
|
+
const deferred = run.deferredReplacedDeletes;
|
|
55484
|
+
if (deferred === void 0) {
|
|
55485
|
+
deps.logger.info(safeMsg` Deleting old ${logicalId} (${shownOldId})...`);
|
|
55486
|
+
await send(false);
|
|
55487
|
+
return;
|
|
55488
|
+
}
|
|
55489
|
+
recordSupersededForDeferral(run, deps, logicalId, oldResource, {
|
|
55490
|
+
updateReplacePolicy: input.updateReplacePolicy,
|
|
55491
|
+
finalSnapshotIdentifier: void 0,
|
|
55492
|
+
noEchoDeleteValues,
|
|
55493
|
+
inlinePolicyClaimed: void 0
|
|
55494
|
+
});
|
|
55495
|
+
deferred.set(logicalId, {
|
|
55496
|
+
physicalId: oldResource.physicalId,
|
|
55497
|
+
resourceType: oldResource.resourceType,
|
|
55498
|
+
provisionedBy: input.deleteProvisionedBy,
|
|
55499
|
+
failureMessage: void 0,
|
|
55500
|
+
retry: () => send(true)
|
|
55501
|
+
});
|
|
55502
|
+
deps.logger.info(safeMsg` ${logicalId}'s old physical id (${shownOldId}) is deleted after the rest of the deploy succeeds`);
|
|
55503
|
+
}
|
|
55504
|
+
|
|
55202
55505
|
// src/deployment/deploy-engine/update-in-place/replace-fallback.ts
|
|
55203
55506
|
async function replaceFallbackFor(engine, { currentProps, currentResource, logicalId, replaceOptIn, resolvedProps, resourceType, stackName, stateResources, template, updateDecision, updateError, updateProvider, updateReplacePolicy, updateSecrets }) {
|
|
55204
55507
|
const retainOldOnReplace = updateReplacePolicy === "Retain";
|
|
@@ -55264,6 +55567,7 @@ async function replaceFallbackFor(engine, { currentProps, currentResource, logic
|
|
|
55264
55567
|
...fallbackFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: fallbackFinalSnapshotId },
|
|
55265
55568
|
...replacementDeleteContext(engine.replacementDeps(), fallbackUpdateReplacePolicy),
|
|
55266
55569
|
recordedAttributes: currentResource.attributes,
|
|
55570
|
+
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
55267
55571
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
55268
55572
|
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
55269
55573
|
maskSecrets: createUnionSecretMasker([updateSecrets, secretNameBagFor(engine.secretsRun, logicalId)])
|
|
@@ -55465,6 +55769,7 @@ async function updateInPlace(engine, { changedProperties, conditions, counts, cu
|
|
|
55465
55769
|
maskSecrets: createSecretMasker(updateSecrets),
|
|
55466
55770
|
expectedRegion: engine.stackRegion,
|
|
55467
55771
|
recordedAttributes: currentResource.attributes,
|
|
55772
|
+
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
55468
55773
|
...inlinePolicyClaimed && { inlinePolicyClaimed },
|
|
55469
55774
|
...removal.context,
|
|
55470
55775
|
changedProperties: changedForProvider,
|
|
@@ -55572,6 +55877,26 @@ async function updateInPlace(engine, { changedProperties, conditions, counts, cu
|
|
|
55572
55877
|
properties: resolvedProps
|
|
55573
55878
|
});
|
|
55574
55879
|
engine.logger.info(safeMsg`Resource ${logicalId} was replaced: ${displayPhysicalId(currentResource.resourceType, currentResource.physicalId)} -> ${displayPhysicalId(resourceType, result.physicalId)}`);
|
|
55880
|
+
if (result.oldPhysicalIdLeftForCleanup === true && result.physicalId !== currentResource.physicalId) {
|
|
55881
|
+
engine.replacementRun.oldIdLeftForCleanup.add(logicalId);
|
|
55882
|
+
await deleteOldIdAfterDeploy(engine.replacementRun, engine.replacementDeps(), {
|
|
55883
|
+
logicalId,
|
|
55884
|
+
oldResource: currentResource,
|
|
55885
|
+
deleteProvider: updateProvider,
|
|
55886
|
+
deleteProvisionedBy: updateDecision.provisionedBy,
|
|
55887
|
+
updateReplacePolicy,
|
|
55888
|
+
secrets: updateSecrets,
|
|
55889
|
+
noEchoDeleteValues: () => noEchoDeleteValuesFromResolved({
|
|
55890
|
+
record: currentResource,
|
|
55891
|
+
templateResource: template?.Resources?.[logicalId],
|
|
55892
|
+
resolvedProperties: resolvedProps,
|
|
55893
|
+
noEchoParameters: noEchoPositionSources(engine.noEchoRun, stateResources, template)?.parameters ?? /* @__PURE__ */ new Set(),
|
|
55894
|
+
conditions: engine.noEchoRun.noEchoConditions,
|
|
55895
|
+
secrets: updateSecrets,
|
|
55896
|
+
inputSources: template && maskedInputSources(engine.resolverContextDeps(), template, stateResources, engine.noEchoRun.noEchoConditions, stackName)
|
|
55897
|
+
})
|
|
55898
|
+
});
|
|
55899
|
+
}
|
|
55575
55900
|
}
|
|
55576
55901
|
const dischargedByReplacement = result.wasReplaced === true && result.physicalId !== currentResource.physicalId;
|
|
55577
55902
|
const keepsParameterRefusal = !dischargedByReplacement && hasUnverifiableParameterRefusal(currentResource);
|
|
@@ -56546,6 +56871,7 @@ async function provisionCreateUpdateNode(run, createUpdateExecutor, enqueueLostC
|
|
|
56546
56871
|
},
|
|
56547
56872
|
...change.changeType === "UPDATE" && engine.replacementRun.replacedOldMaySurvive.has(logicalId) && { oldResourceMaySurvive: engine.replacementRun.replacedOldMaySurvive.get(logicalId) },
|
|
56548
56873
|
...change.changeType === "UPDATE" && engine.replacementRun.updateWasReplaced.has(logicalId) && { wasReplaced: engine.replacementRun.updateWasReplaced.get(logicalId) },
|
|
56874
|
+
...change.changeType === "UPDATE" && engine.replacementRun.oldIdLeftForCleanup.has(logicalId) && { oldPhysicalIdLeftForCleanup: true },
|
|
56549
56875
|
...change.changeType === "UPDATE" && previousState !== void 0 && { previousResourceType: previousState.resourceType },
|
|
56550
56876
|
...change.changeType === "UPDATE" && engine.replacementRun.attemptedNameGeneration.has(logicalId) && newResources[logicalId]?.nameGeneration !== void 0 && { nameGeneration: newResources[logicalId].nameGeneration }
|
|
56551
56877
|
});
|
|
@@ -56654,7 +56980,7 @@ async function rollbackFailedDeploy(run, error, initialDeploy, currentEtag) {
|
|
|
56654
56980
|
if (autoRollbackJournaled && engine.options.parentStackInfo === void 0 && rollbackResult.remainingFailedOps.some((op) => op.changeType !== "DELETE")) {
|
|
56655
56981
|
const { gone, kept } = await partitionDeletedOutsideCdkd(deletedOutsideReadDeps(engine.rollbackDeps()), rollbackResult.remainingFailedOps);
|
|
56656
56982
|
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", [{
|
|
56983
|
+
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
56984
|
value: stackName,
|
|
56659
56985
|
hole: "stack"
|
|
56660
56986
|
}, { literal: "--revert-failed" }]).command}`);
|
|
@@ -57106,7 +57432,7 @@ async function settleJournalAtStart(engine, { stackName, template, currentState,
|
|
|
57106
57432
|
};
|
|
57107
57433
|
if (journal && journal.segments.length > 0) {
|
|
57108
57434
|
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", [{
|
|
57435
|
+
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
57436
|
value: stackName,
|
|
57111
57437
|
hole: "stack"
|
|
57112
57438
|
}, { 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", [{
|
|
@@ -58746,5 +59072,5 @@ var DeployEngine = class {
|
|
|
58746
59072
|
}
|
|
58747
59073
|
};
|
|
58748
59074
|
|
|
58749
|
-
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-
|
|
59075
|
+
export { vectorIndexesForCreate as $, applyRoleArnIfSet as $a, markSameGenerationBag as $c, buildFinalSnapshotIdentifier as $i, isReadableBag as $l, updatePartialMessage as $n, isWarmThroughputDecrease as $o, DEFAULT_RESOURCE_TIMEOUT_MS as $r, malformedOutputsWarning as $s, NESTED_PENDING_PARENT_REASON as $t, runDockerForeground as $u, PROTECTION_PROPERTY_BY_TYPE as A, RollbackInlinePolicyWriters as Aa, dbInstanceEngineChangeIsInPlace as Ac, AssemblyReader as Ad, maskEventTextWithBoundBags as Ai, recordPhysicalNameCopy as Al, rollbackOrphanIds as An, recordedReferenceRegions as Ao, retiredNameGenerationsLeaving as Ar, refuseMalformedResourceEntriesForImport as As, enclosingDeadlineExpired as At, isCrossRegionRedirect as Au, reverseMapStreamPolicy as B, reDisableInstanceApiTermination as Ba, maskAtCoordinates as Bc, ownValue as Bd, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Bi, wholeStringLeavesOf as Bl, propertiesChangedReason as Bn, unsettledItemsField as Bo, exportAliasCollisionScrubWarning as Br, refuseMalformedResourcePropertiesForOrphan as Bs, refactorMarkerRefusalMessage as Bt, describeDockerExecFailure as Bu, refusePendingMovesOut as C, withPrintingSecrets as Ca, findHandledUnwrittenCreateOnly as Cc, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Cd, noEchoComparisonForTemplate as Ci, spelledKeysOf as Cl, DeploymentEventsStore as Cn, isStalePlaceholderArnAttribute as Co, removeProtectionTypeList as Cr, malformedLocalResourcesWarning as Cs, maskedLogger as Ct, createAssetRedirectResolver as Cu, diffSecurity as D, resolvedResourceTimeoutMs as Da, NO_CC_HANDLERS_REASON as Dc, canonicalizeRegion as Dd, createReadOnlyAttributeHealerFactory as Di, recoverMaskedOutput as Dl, findRefactorHints as Dn, keepHeldTokenProvenance as Do, nameScopeOf as Dr, refuseMalformedResourceEntries as Ds, S3_AUTO_DELETE_OBJECTS_TAG as Dt, ensureAssetStorage as Du, serviceTokenBlockingReason as E, waitForGoneAfterDelete as Ea, withoutSdkUnwiredProperties as Ec, PARTITION_TABLE as Ed, withAttemptedItemsMasked as Ei, inheritNestedStackParameterAssociations as El, formatDestructiveChange as En, parseWebACLArn as Eo, nameGenerationHighWaterOf as Er, refuseMalformedResourceAttributesForOrphan as Es, ECR_AUTO_DELETE_IMAGES_TAG as Et, AssetModeResolver as Eu, STREAM_POLICY_KEY as F, withIndeterminateGuard as Fa, sameLambdaFunctionAddress as Fc, utf8ByteLength as Fd, secretNamedAttributeNamesOf as Fi, recordMaskOnlyValue as Fl, differingRemedy as Fn, carriesDynamicReference as Fo, namesAnyDeclaredParameter as Fr, malformedDriftResourcePropertiesWarning as Fs, keptForRetainedRecord as Ft, validateContainerRepoName as Fu, streamTagsMatchDeclared as G, DiffCalculator as Ga, noEchoLeavesOf as Gc, resolveAssemblyPath as Gd, PRE_DELETE_SNAPSHOT_TYPES as Gi, S3StateBackend as Gl, DELETED_RESOURCE_REMEDY as Gn, findReplacedReadersOfRecreateTargets as Go, exportNameNoEchoParameters as Gr, malformedOrphansWarning as Gs, markRefusedBeforeApplying as Gt, dockerSpawnEnvWithSensitive as Gu, streamDeclaresTags as H, onlySecretReferencesDiffer as Ha, maskWholeValue as Hc, describeFileReadFailure as Hd, secretSegmentsOfState as Hi, isSingleDynamicReferenceToken as Hl, referencedLogicalIds as Hn, unsettledPropertiesOf as Ho, secretBearingStateKeyWarning as Hr, UNREADABLE_ORPHANS_CONTAINER_ROW as Hs, sameMove as Ht, redactedCause as Hu, STREAM_TAGS_KEY as I, disableInstanceApiTermination as Ia, DagBuilder as Ic, defineOwnKey as Id, secretNamedRecordNeedles as Ii, recordMaskOnlyValuesIn as Il, isPairableType as In, keepsSecretReferenceToken as Io, reachableDivergentParameters as Ir, malformedResourcePropertiesWarning as Is, recordRetainedForReadoption as It, BOOTSTRAP_MARKER_PREFIX as Iu, planTimeToLive as J, poisonRenderedSpellingsCollidingIn as Ja, readbackPathFor as Jc, clearBucketRegionCache as Jd, effectiveDeletionPolicy as Ji, describeRegionValueKind as Jl, withUnprovenUnsettled as Jn, isStatefulRecreateTargetForReplace as Jo, noEchoParameterValueSeed as Jr, repairMalformedOrphansForReadOnly as Js, isAccessDeniedError as Jt, warnFinchArgvExposure as Ju, isTtlAlreadyDisabled as K, IntrinsicFunctionResolver as Ka, noEchoOutputsComparison as Kc, injectAwsRegion as Kd, ccRoutedFinalSnapshotError as Ki, splitImportedOps as Kl, recordAfterRollbackUpdate as Kn, shownType as Ko, exportNameSecretExposure as Kr, refuseMalformedOrphans as Ks, formatResourceLine as Kt, finchSecretArgvRefusal as Ku, declaredStreamPolicyMember as L, ec2InstanceProtectionSite as La, TemplateParser as Lc, hasOwnKey as Ld, stateSecretNameNeedles as Li, recordNoEchoAttributeValues as Ll, looselyEqual as Ln, withSharedDrainBudget as Lo, resourcesNamingDeclaredParameter as Lr, refuseMalformedResourcePropertiesForDestroy as Ls, readRefactorMarker as Lt, buildDockerImage as Lu, perType as M, deleteIndeterminateGuards as Ma, emrClusterInstancesReplaced as Mc, processStackMessages as Md, orphanRecordsPrintingBag as Mi, splitGetAttStringForm as Ml, changedReferenceInDiff as Mn, isImpossibleEmptyStoredAttribute as Mo, getCurrentProducerRegions as Mr, refuseMalformedResourceEntriesForOrphan as Ms, withResourceDeadline as Mt, parseBootstrapMarker as Mu, readProtection as N, deleteLeftInPlace as Na, canonicalLambdaFunctionName as Nc, describeJsonParseFailure as Nd, secretNamePrintingBag as Ni, carriesSecretMask as Nl, changedReferencePath as Nn, carriesFetchableDynamicReference as No, inheritProducerRegions as Nr, repairMalformedResourceEntriesForReadOnly as Ns, IMPLICIT_DELETE_DEPENDENCIES as Nt, readBootstrapMarkerBody as Nu, recordedProtectionEvidence as O, setResolvedResourceTimeouts as Oa, hasNoCloudControlHandlers as Oc, derivePartitionAndUrlSuffix as Od, completedReplayEntries as Oi, physicalNameCopiesOf as Ol, hintSidesOf as On, outputReferenceProvenanceOf as Oo, retiredAfterRollback as Or, refuseMalformedResourceEntriesForDeploy as Os, hasCdkAutoDeleteTag as Ot, buildDenyExternalAccessPolicy as Ou, DynamoDBGlobalTableProvider as P, deleteSkipReason as Pa, lambdaFunctionNameForMask as Pc, parseFailureDebugDetail as Pd, secretNamePrintingBags as Pi, provenPublicValue as Pl, changedReferenceReason as Pn, isNamelessDynamicReferenceError as Po, computeParameterTaint as Pr, unreadableResourceEntries as Ps, computeImplicitDeleteEdges as Pt, validateAssetBucketName as Pu, readbackVectorIndexes as Q, refuseUnreadableCdkCrossAccountRefs as Qa, liveMatchesUnresolvedTokenFrame as Qc, createPreDeleteFinalSnapshot as Qi, importableOutputs as Ql, undeclaredEmptyObservedKeys as Qn, coerceWarmThroughput as Qo, bindingSkippedOutputs as Qr, malformedOutputsRefusalMessage as Qs, resolvePendingCloudControlRequests as Qt, getDockerCmd as Qu, declaredStreamTagsMember as R, isTerminationProtectionPropagationError as Ra, canonicalCoordinates as Rc, hasPlainPrototype$1 as Rd, storedSecretNameNeedles as Ri, recordNoEchoParameterFreshValue as Rl, mappingPairs as Rn, INTRINSIC_KEYS as Ro, WITHHELD_NAME_DISPLAY as Rr, refuseMalformedResourcePropertiesForDrift as Rs, readRefactorMarkerOnce as Rt, resolveDockerContextDirectory as Ru, pendingMovesRefusalMessage as S, getCurrentResourceSecrets as Sa, findActionableSdkUnwired as Sc, uploadCfnTemplate as Sd, noEchoAttributeNamesOf as Si, isUncertifiedBaselineMaskPosition as Sl, DeploymentEventsReader as Sn, cfnRefValueFromPhysicalId as So, segmentCleanupOptions as Sr, malformedLocalResourceEntriesWarning as Ss, deleteTableWithIndexBusyRetry as St, buildAssetRedirectMap as Su, findServiceTokenRefusals as T, CloudControlProvider as Ta, unwrittenCreateOnlyReplacement as Tc, expectedOwnerParam as Td, noEchoParameterNamesOf as Ti, identityKeyFor as Tl, findDestructiveChanges as Tn, refStateLookupFromResource as To, nameGenerationCarriedFrom as Tr, malformedScrubResourceEntriesRefusalMessage as Ts, waitForIndexesSettled as Tt, rewriteTemplateAssetReferences as Tu, streamMemberRefusals as U, unchangedBehindSecretReference as Ua, maskedLeafCoordinatesOf as Uc, displayAssemblyPath as Ud, withSecretPhysicalIdsMaskedInState as Ui, LockManager as Ul, replayFailedOperations as Un, withUnsettledProperties as Uo, secretSafeKeyDisplay as Ur, hasReadableOrphans as Us, updateRefactorMarker as Ut, redactedDockerCause as Uu, streamDeclaresPolicy as V, reEnableInstanceApiTermination as Va, maskReadbackAtCoordinates as Vc, absoluteAssemblyPathEscape as Vd, maskedSecretSegment as Vi, WHOLE_DYNAMIC_REFERENCE_PATTERN as Vl, proposeRenames as Vn, unsettledItemsOf as Vo, secretBearing as Vr, repairMalformedResourcePropertiesForReadOnly as Vs, refuseRefactorMarker as Vt, describeDockerFailure as Vu, streamPolicyMatchesDeclared as W, isWaitAbandonedError as Wa, noEchoCoordinatesOf as Wc, renderAssemblyPathEscape as Wd, ATOMIC_FINAL_SNAPSHOT_TYPES as Wi, isLockInfoExpired as Wl, replayRollback as Wn, withoutUnsettledProperties as Wo, carriedExportAliasExposure as Wr, malformedOrphansRefusalMessage as Ws, getPriorAttempts as Wt, redactDockerArgvValues as Wu, sendTtlWaitingOutRateLimit as X, resolveDynamicReferences as Xa, recordedNoEchoValuesOf as Xc, refusesFinalSnapshot as Xi, hasReadableExportSet as Xl, equalModuloMarkedMask as Xn, renderStatefulReason as Xo, collectPublishedOutputNames as Xr, malformedExportSourceWarning as Xs, withApiLimit as Xt, isMalformedEnvKey as Xu, readTtlSpec as Y, isSettledInstanceState as Ya, readsNoEchoSource as Yc, resolveBucketRegion as Yd, isFinalSnapshotError as Yi, exportNamesCarriedFrom as Yl, calculateResourceDrift as Yn, isStatefulRecreateTargetSync as Yo, collectDeclaredOutputNames as Yr, malformedExportNamesWarning as Ys, lookupEachName as Yt, isDockerClientEnvKey as Yu, planVectorIndexUpdates as Z, producerLookupOver as Za, valueAtCoordinate as Zc, unsupportedFinalSnapshotError as Zi, importableOutputKeys as Zl, equalModuloMask as Zn, WARM_THROUGHPUT_MEMBERS as Zo, isExportAliasCollision as Zr, malformedLocalOutputsWarning as Zs, pendingRequestCount as Zt, formatDockerLoginError as Zu, listNestedTemplateRows as _, applyCustomResourceResponseExpiration as _a, STATE_RESOURCES_MALFORMED as _c, ssmResolvedValueType as _d, cyan as _i, scrubResourceRecord as _l, loadJournaledOrphans as _n, s3BucketWebsiteUrl as _o, findNestedStackTypeChanges as _r, refuseMalformedOrphansForOrphan as _s, resolveDynamoDbDeleteBudgetClock as _t, withStackInstanceIdWithheld as _u, scanActiveConsumers as a, readTagList as aa, refuseDivergentRecordRegionForDestroy as ac, getDefaultStateBucketName as ad, withStackRecords as ai, hasMaskableValues as al, recordDisplacedSkips as an, AWS_CREDENTIAL_ENV_KEYS as ao, acquireIdempotencyToken as ar, withRetry as as, planContributorInsightsOp as at, hasUnverifiableParameterRefusal as au, hasPendingMovesOut as b, readsNoEchoDeleteValues as ba, hasReadableOutputs as bc, MIGRATE_TMP_PREFIX as bd, red as bi, DYNAMIC_REFERENCE_TOKEN_SCAN as bl, makeSiblingClaimReader as bn, parameterTypeMayLoseSecretIdentity as bo, redactedDeleteAddressFields as br, unreadableOrphanRecords as bs, INDEX_SETTLE_POLL_INTERVAL_MS as bt, stringifyValue as bu, inheritedProvenanceForChildDiff as c, tagPlanWarning as ca, malformedStateRefusalMessage as cc, resolveApp as cd, holdsSupersededResources as ci, printingCorpusOf as cl, withNestedRevertRun as cn, envCredentialsAreAssumedRole as co, demoteSupersededOrphans as cr, declaresNoEcho as cs, reverseMapIndexContributorInsights as ct, timePhase as cu, conditionInputsFrom as d, CC_BROKEN_REASON as da, refuseMalformedResourcesForExport as dc, resolveSkipPrefix as dd, supersededHeldByOtherTypeWarning as di, shareLogOnlyValues as dl, withNestedStackContext as dn, producerRegionsFromState as do, planFailedOps as dr, malformedOrphanRecordsRefusalMessage as ds, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as dt, CrossPrefixScanCache as du, definedAttributes as ea, refuseMalformedNestedChildOutputs as ec, runDockerStreaming as ed, DEFAULT_RESOURCE_WARN_AFTER_MS as ei, redactForState as el, displacedOpClause as en, assertFlagRoleArn as eo, updatePartialReason as er, toCfnInteger as es, vectorIndexesSettled as et, orphansAfterRollback as eu, parentSuppliedValues as f, ProviderRegistry as fa, refuseMalformedState as fc, resolveStateBucketWithDefault as fd, supersededHolderOf as fi, unionOfSecretBags as fl, deleteJournaledOrphans as fn, regionLessSecretName as fo, recheckFailedPlan as fr, malformedOrphanRecordsWarning as fs, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as ft, applyCrossPrefixScan as fu, isAbsoluteAssetPath as g, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ga, withheldAccountClause as gc, warnDeprecatedNoPrefixCliFlag as gd, bold as gi, maskSecretsInText as gl, journaledOrphanLines as gn, s3BucketRegionalDomainName as go, withPreviousPolicies as gr, refuseMalformedOrphanRecordsForDestroy as gs, deleteBudgetKey as gt, stackInstanceIdOf as gu, findNestedTemplateTreeDefect as h, wouldReturnToSdkProvider as ha, accountArgs as hc, stateBucketExistenceConfirmed as hd, refuseRestoreFromItself as hi, maskSecretsInError as hl, isHandledOrphan as hn, s3BucketDualStackDomainName as ho, resolveReplacementOldType as hr, refuseMalformedOrphanRecords as hs, compensateRemovedDeletionProtection as ht, isNotImplemented as hu, mergeNoChangeOutputs as i, planTagDiff as ia, STATE_REGION_DIVERGED as ic, synthesisStatusMessage as id, getStackRecords as ii, createUnionSecretMasker as il, nestedChildStackName as in, sendableAssumeRoleCommand as io, withCreateTokenLedger as ir, describeTypeWithThrottleRetry as is, indexDeclaresContributorInsights as it, hasReasonlessBaselineRefusal as iu, isProtectionValueActive as j, UNSPECIFIED_SKIP_REASON as ja, ecsServiceLaunchTypeSetOrChanged as jc, StageLoadError as jd, namingSecretsWithRecordedNoEcho as ji, recordNestedStackParameterExpressions as jl, withMovedTo as jn, getAccountInfo as jo, withNameGenerationReached as jr, refuseMalformedResourceEntriesForImportSave as js, enclosingDeadlineRemainingMs as jt, getBootstrapMarkerKey as ju, recordedProtectionNote as k, slowCcOperationTimeoutMs as ka, blockDeviceMappingsDifferOnlyInDeleteOnTermination as kc, refuseFailedLookups as kd, journaledOrphanPrintingBag as ki, recordAttributeIdCopy as kl, movedToHint as kn, recordedOutputReferenceRegions as ko, retiredNameGenerationsAfter as kr, refuseMalformedResourceEntriesForDestroy as ks, isTruthyCfnBoolean as kt, assertAssetBucketRegion as ku, makeCanonicalizePropertiesFn as l, isRefusedByName as la, refuseMalformedResourcesForDeploy as lc, resolveAutoAssetStorage as ld, isSupersededResourceRecord as li, recordLogOnlyParameterValue as ll, collectNestedChildUnaddressed as ln, classifyRecordedSecretRegion as lo, isJournaledOrphan as lr, deployRefusesOrphanRowsReason as ls, reverseMapTableContributorInsights as lt, rebuildClientForBucketRegion as lu, childTemplateLoader as m, isCustomResource as ma, JSON_LISTING_HOLE_VALUE as mc, resolveUseCdkBootstrapAssets as md, withoutSuperseded as mi, errorCauseChain as ml, dropFailedHint as mn, s3BucketDomainName as mo, replacementNeverSwapped as mr, previewableOrphanRecords as ms, beginDeleteWait as mt, isAccessDenied$1 as mu, isSecretBearingReferenceString as n, DBPROXY_TAGS_WHAT as na, refuseMalformedOutputsForDestroy as nc, getDockerImageBySourceHash as nd, awaitInFlightSibling as ni, snapshotPassProvenance as nl, dropSettledNestedJournals as nn, explicitRoleArnOrThrow as no, ledgerForStack as nr, prefetchCreateOnlyPropertyPaths as ns, CONTRIBUTOR_INSIGHTS_KEY as nt, shouldRetainResource as nu, inRunStackKey as o, refuseMalformedDesiredTags as oa, malformedRenderedContainersWarning as oc, getLegacyStateBucketName as od, replacedDeleteFailureVerdict as oi, literalSplitDelimitersOf as ol, revertNestedChildFromJournal as on, applyCallerIdentityCredentials as oo, planRollback as or, parameterInputsFor as os, planIndexContributorInsightsOps as ot, PhaseClock as ou, readRecordedConditionVerdicts as p, ccBrokenReason as pa, repairMalformedResourcesForReadOnly as pc, resolveStateBucketWithDefaultAndSource as pd, supersededResourcesOf as pi, createSecretMasker as pl, dropFailedCommands as pn, s3BucketArn as po, recordUnderIdIsNotOwn as pr, malformedOrphanRowsKeptWarning as ps, DYNAMODB_DELETE_POLL_COST_MS as pt, crossPrefixDeniedWarning as pu, isTtlRateLimited as q, isAlwaysLiveAttribute as qa, passedNoEchoParametersOf as qc, injectedAwsRegionValue as qd, ccRoutedInstanceTakesNoSnapshot as qi, acceptedCreateOnlyDropsOf as ql, settleUnsettledPrevious as qn, MULTI_REGION_RECREATE_BLOCKED_TYPES as qo, isWholeDynamicReferenceValue as qr, refuseMalformedOrphansForDestroy as qs, chunks as qt, partitionSensitiveEnv as qu, keptWholeReasonText as r, DBPROXY_TAG_OPTIONS as ra, repairMalformedOutputsForReadOnly as rc, Synthesizer as rd, destroyStackRecordsView as ri, carryLogOnlyValues as rl, getNestedRevertRun as rn, isIamRoleArn as ro, reserveStackCreateToken as rr, templateResourceTypes as rs, contributorInsightsRefusals as rt, stackInstanceIdCarriedFrom as ru, crossStackOutputProvenanceSource as s, tagMapAsList as sa, malformedResourcesWarning as sc, loadCdkJson as sd, deleteSupersededEntry as si, logOnlyValueCount as sl, revertedNestedRowIds as sn, callerEnvCredentials as so, seedsDeleteFirstGuard as sr, passedParameterClassesOf as ss, readContributorInsightsSpec as st, renderPhaseTimings as su, DeployEngine as t, stringifyIfAssigned as ta, refuseMalformedOutputs as tc, AssetManifestLoader as td, maskingRetryLogger as ti, recordReferenceProvenanceEntry as tl, displacedPhysicalIdShown as tn, assertSendableRoleArn as to, earliestDefined as tr, toFiniteNumber as ts, vectorIndexesShapeDetail as tt, orphansCarriedFrom as tu, conditionFingerprint as u, markDeleteStarted as ua, refuseMalformedResourcesForDestroy as uc, resolveCaptureObservedState as ud, supersededAfterRollback as ui, recordLogOnlyValue as ul, getCurrentNestedStackContext as un, classifyReplaySecretRegion as uo, isReplacementOrphan as ur, isReadableOrphanRecord as us, stripIndexContributorInsights as ut, CrossPrefixReadError as uu, renderNestedTemplateTreeDefect as v, customResourceResponseExpirationWarning as va, UNREADABLE_RESOURCES_MAP_ROW as vc, CFN_TEMPLATE_BODY_LIMIT as vd, gray as vi, withPhysicalNameCopies as vl, sameJournaledOrphans as vn, coerceParameterTypedValue as vo, REDACTED_DELETE_ADDRESS_SKIP_REASON as vr, repairMalformedOrphanRecordsForReadOnly as vs, resolveDynamoDbDeleteBudgetMs as vt, AssetPublisher as vu, deferredServiceTokenWarning as w, waitForLambdaFunctionActive as wa, findSdkUnwiredProperties as wc, decodeListingKey as wd, noEchoExactEchoLeavesOf as wi, pathCrossesDottedKey as wl, constructPathOf as wn, lacksRecordedTableArn as wo, orphanNeedsIdentity as wr, malformedResourceEntriesWarning as ws, relayedIndexBusyDelete as wt, loadPublishableAssetManifest as wu, pendingMovesOutOf as x, isCustomResourceType as xa, hasReadableResources as xc, findLargeInlineResources as xd, yellow as xi, dynamicReferenceTokens as xl, planOrphanAdoption as xn, AWS_NO_VALUE as xo, redactedDeleteAddressSkip as xr, isReadableResourceEntry as xs, TABLE_INDEX_NOUN as xt, WorkGraph as xu, templateIdentity as y, TemplateNoEchoReresolver as ya, displayLogicalId as yc, CFN_TEMPLATE_URL_LIMIT as yd, green as yi, withoutPhysicalNameCopies as yl, makeForeignHolderScan as yn, isUnboundTemplateParameter as yo, isRedactedRecordedValue as yr, unpreviewableOrphanRecords as ys, DELETE_INDEX_WAIT_PROCEED_NOTE as yt, isSensitiveAttributeName as yu, planStreamMemberOps as z, observeThenDisableInstanceApiTermination as za, isMarkedCoordinate as zc, nullPrototypeRecord as zd, extractDeploymentEventError as zi, recordProvenPublicExpression as zl, parseMappingFile as zn, isUsableAttemptedName as zo, displayTextOrWithheld as zr, refuseMalformedResourcePropertiesForExport as zs, refactorMarkerMovesOf as zt, describeDockerCapturedOutput as zu };
|
|
59076
|
+
//# sourceMappingURL=deploy-engine-B9WzTRxL.js.map
|