@cdkd/cli 0.363.0 → 0.364.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-B0X_cHw6.js → ambient-client-defaults-BKnLt9R9.js} +4 -3
- package/dist/ambient-client-defaults-BKnLt9R9.js.map +1 -0
- package/dist/{asg-provider-DTR9KTuD.js → asg-provider-D-wGQIgg.js} +6 -6
- package/dist/{asg-provider-DTR9KTuD.js.map → asg-provider-D-wGQIgg.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-D_FKAsKw.js → custom-resource-runtime-BDRipTIL.js} +6 -6
- package/dist/{custom-resource-runtime-D_FKAsKw.js.map → custom-resource-runtime-BDRipTIL.js.map} +1 -1
- package/dist/{db-associated-roles-CuhoLHiQ.js → db-associated-roles-cQd3Zmr5.js} +2 -2
- package/dist/{db-associated-roles-CuhoLHiQ.js.map → db-associated-roles-cQd3Zmr5.js.map} +1 -1
- package/dist/{delete-started-B-oT5k3k.js → delete-started-DHQvQxWa.js} +13 -9
- package/dist/delete-started-DHQvQxWa.js.map +1 -0
- package/dist/{deploy-engine-Df4iprdW.js → deploy-engine-9rzhYsZc.js} +496 -298
- package/dist/deploy-engine-9rzhYsZc.js.map +1 -0
- package/dist/{ec2-termination-protection-DPiykJlb.js → ec2-termination-protection-Dttj-XrE.js} +8 -6
- package/dist/ec2-termination-protection-Dttj-XrE.js.map +1 -0
- package/dist/{ecr-uri-DmQer3M1.js → ecr-uri-BYWBRpzv.js} +2 -2
- package/dist/{ecr-uri-DmQer3M1.js.map → ecr-uri-BYWBRpzv.js.map} +1 -1
- package/dist/{expected-bucket-owner-IZ5-Kowg.js → expected-bucket-owner-DWEAlmAk.js} +2 -2
- package/dist/{expected-bucket-owner-IZ5-Kowg.js.map → expected-bucket-owner-DWEAlmAk.js.map} +1 -1
- package/dist/{iam-role-provider-lpDjrxOC.js → iam-role-provider-fCKVbuHw.js} +385 -14
- package/dist/iam-role-provider-fCKVbuHw.js.map +1 -0
- package/dist/{image-plan-CjcTwOTQ.js → image-plan-XyUNOBmz.js} +8 -8
- package/dist/{image-plan-CjcTwOTQ.js.map → image-plan-XyUNOBmz.js.map} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-BGwxRQKX.js → logger-xueeC0uS.js} +2 -2
- package/dist/{logger-BGwxRQKX.js.map → logger-xueeC0uS.js.map} +1 -1
- package/dist/{neptune-provider-DvqSeTAi.js → neptune-provider-ClN-LvMb.js} +7 -7
- package/dist/{neptune-provider-DvqSeTAi.js.map → neptune-provider-ClN-LvMb.js.map} +1 -1
- package/dist/{program-DYOdBiyw.js → program-Dz-HwMKe.js} +85 -64
- package/dist/program-Dz-HwMKe.js.map +1 -0
- package/dist/{provider-classes-DSmPsWi6.js → provider-classes-Bmipcl6d.js} +397 -201
- package/dist/provider-classes-Bmipcl6d.js.map +1 -0
- package/dist/{rds-provider-Brs1PVkX.js → rds-provider-X8pB7V-7.js} +10 -10
- package/dist/{rds-provider-Brs1PVkX.js.map → rds-provider-X8pB7V-7.js.map} +1 -1
- package/dist/{read-replica-Cnind5V_.js → read-replica-B9F3-d8h.js} +3 -3
- package/dist/{read-replica-Cnind5V_.js.map → read-replica-B9F3-d8h.js.map} +1 -1
- package/dist/{replacement-rules-D36vABVQ.js → replacement-rules-TNt9wPax.js} +3 -3
- package/dist/{replacement-rules-D36vABVQ.js.map → replacement-rules-TNt9wPax.js.map} +1 -1
- package/dist/{resource-deadline-vWMKeI6W.js → resource-deadline-CUApArbf.js} +4 -4
- package/dist/{resource-deadline-vWMKeI6W.js.map → resource-deadline-CUApArbf.js.map} +1 -1
- package/dist/{restore-source-guard-B4OUKYQG.js → restore-source-guard-jCM5yJzQ.js} +4 -4
- package/dist/{restore-source-guard-B4OUKYQG.js.map → restore-source-guard-jCM5yJzQ.js.map} +1 -1
- package/dist/{run-cli-DYcKa6BY.js → run-cli-BDjbpUsh.js} +2 -2
- package/dist/{run-cli-DYcKa6BY.js.map → run-cli-BDjbpUsh.js.map} +1 -1
- package/dist/{settle-own-write-members-CvwPYXi7.js → settle-own-write-members-CSkozE9A.js} +13 -135
- package/dist/settle-own-write-members-CSkozE9A.js.map +1 -0
- package/dist/{version-CBDLbnZ4.js → version-BXn3jGiB.js} +2 -2
- package/dist/{version-CBDLbnZ4.js.map → version-BXn3jGiB.js.map} +1 -1
- package/package.json +3 -3
- package/dist/ambient-client-defaults-B0X_cHw6.js.map +0 -1
- package/dist/delete-started-B-oT5k3k.js.map +0 -1
- package/dist/deploy-engine-Df4iprdW.js.map +0 -1
- package/dist/ec2-termination-protection-DPiykJlb.js.map +0 -1
- package/dist/iam-role-provider-lpDjrxOC.js.map +0 -1
- package/dist/program-DYOdBiyw.js.map +0 -1
- package/dist/provider-classes-DSmPsWi6.js.map +0 -1
- package/dist/settle-own-write-members-CvwPYXi7.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, E as cutMarker, F as stringifyJsonPayload, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, b as setPasteableVerbFlags, c as deployReplaceCommand, d as pasteableCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE, x as SAFE_MSG_ALTERED_CHAR, y as setPasteableRunFlags } from "./version-
|
|
2
|
-
import { $ as renderStacksNoLongerSelected, $t as deployOptions, A as followContainerLogs, At as namedEnvAwsRegion, B as resolveRuntimeCodeMountPath, Bt as regionNeedsReconciliation, C as waitForRieReady, Cn as STATE_FILE_SUFFIX, Ct as resolveContainerRegion, Dn as listAllStateKeys, Dt as warnAwsEmulatorStateSourceHint, E as SENSITIVE_ENV_KEYS, En as listAllLockKeys, Et as taskRoleAssumedInRealAws, F as removeContainer, Ft as legacyStateBucketFallbackRegion, G as nestedOwnerOfLogicalId, Gt as withOtherIndexRemoval, H as resolveRuntimeImage, Ht as resolveEffectiveRegion, It as namedCliRegion, J as renderAllLeftOutStageStacks, Jt as annotationMessageOptions, K as partitionTopLevel, Kt as strandedProfileCredentialsNotice, L as runDetached, Lt as rawCliRegion, M as killAndDrainContainerLogs, Mt as adoptRegionFlag, N as pickFreePort, Nt as exportInferredRegionForSdk, O as ensureDockerAvailable, On as parseStateKey, Ot as workloadGetsEmulatorKeysOnly, P as pullImage, Pt as foldRegionOption, Q as renderNotInAppWarning, Qt as contextOptions, Rt as reconcileExportIndexRegion, S as invokeRie, Sn as LOCK_FILE_SUFFIX, St as realAwsException, T as DockerRunnerError, Tn as describeStateKey, Tt as stateRoleRecordIsEmulatorSide, U as describeStack, Ut as stackRegionResolver, V as resolveRuntimeFileExtension, Vt as regionShown, W as matchStacks, Wt as stateWithRegion, X as renderAmbiguousTargetStack, Xt as applyWaitFlagEnv, Y as renderAllNoTopLevelStacks, Yt as appOptions, Z as renderNoStackMatch, Zt as commonOptions, _ as probeHostGatewaySupport, _n as parseDuration, _t as localAwsEmulatorCredentials, a as materializeLayerFromArn, an as noLocalCustomResourcesOption, at as unmatchedPatterns, b as substituteImagePlaceholders, bn as cliArgParser, bt as prepareLocalLoopbackForwarder, cn as regionOption, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as stateOptions, dt as activateLocalAwsAndRoleArn, en as destroyOptions, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as useCdkBootstrapAssetsOption, ft as assertAwsEmulatorValue, g as HOST_GATEWAY_MIN_VERSION, gn as allowUnsupportedTypesOption, gt as localAwsEmulatorActive, h as layerAssetDirectory, hn as parseAssumeRoleToken, ht as keepEmulatorIssuedCredentials, i as resolveInlineCodeFilePath, in as noCfnFallbackOption, it as stacksNoLongerSelected, jt as recordEmulatorDefaultRegion, k as flushStdio, kt as emulatorDefaultRegion, l as resolveLambdaLayers, ln as skipFinalSnapshotOption, lt as stackForConstructPath, m as copyLayerTreeLastWins, mn as normalizeStartApiAssumeRole, mt as getActiveWorkloadAwsWiring$1, n as resolveTmpfsForLambda, nn as exclusivelyOption, nt as stackMatchesPattern, o as resolveLambdaTarget, on as parseContextOptions, ot as buildCdkPathIndex, p as buildContainerImage$1, pn as effectiveAssumeRoleArn, pt as attachLocalLoopbackForwarder, q as refuseStackNameRegionCollisions, qt as writeProfileCredentialsFile, r as resolveZipImagePlan, rn as guardStackRegionOptions, rt as stacksForDependency, s as extractEphemeralStorageMb, sn as parseStackRegion, st as readCdkPathOrUndefined, t as resolveLocalBuildPlan$1, tn as diffUpdatePolicyOptions, tt as selectTargetStack, u as assetPathDirs, un as stackOptions, ut as stackForPathFormTarget, v as resolveHostGatewayExtraHosts, vn as resourceTimeoutOptions, vt as mixedModeActive, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as STATE_KEY_MAX_CODE_POINTS, wt as setContainerRegion, x as tryResolveImageFnJoin, xn as parsePositiveIntegerOption, xt as profileCredentialsForWorkload, y as derivePseudoParametersFromRegion$1, yn as validateResourceTimeouts, yt as mixedModeEmulatorOverride, z as streamLogs, zt as reconcileMarkerRegionWithLegacyDefault } from "./image-plan-
|
|
3
|
-
import { A as assertRegionMatch, Dt as readRecordedPrincipals, Ht as maskDeep, It as resourceTypeShown, O as DriftReadRefusedError, Pt as logicalIdShown, St as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, V as isMarkedNotGone, _n as withPasteableAwsProfile, _t as endCommandInterruptScope, an as buildLockContentionMessage, at as runDeleteAttempt, bn as producerCoordinateKey, cn as formatLockOperation, fn as CUSTOM_RESOURCE_RESPONSE_PREFIX, ft as isAwsCliLiteral, gn as setPasteableAwsProfile, gt as beginCommandInterruptScope, hn as setPasteableAwsCaBundle, ht as renderDisableCommand, i as withResourceDeadline, in as buildForceUnlockCommand, j as VALUE_NOT_SHOWN, k as RESOURCE_NOT_FOUND, ln as formatLockOwner, mn as WAIT_CONDITION_SIGNAL_PREFIX, on as forceQuitRecoveryClause, pn as DEFAULT_STATE_PREFIX, rn as UNREPRODUCIBLE_LOCK_CLAUSE, sn as formatLockExpiry, vn as injectiveKey, vt as interruptWatchListenerCount, xn as producerRecordKey, xt as IAM_PRINCIPAL_NAME, yt as isInterruptedWaitError, z as remedyLogicalId } from "./resource-deadline-
|
|
1
|
+
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, E as cutMarker, F as stringifyJsonPayload, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, b as setPasteableVerbFlags, c as deployReplaceCommand, d as pasteableCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE, x as SAFE_MSG_ALTERED_CHAR, y as setPasteableRunFlags } from "./version-BXn3jGiB.js";
|
|
2
|
+
import { $ as renderStacksNoLongerSelected, $t as deployOptions, A as followContainerLogs, At as namedEnvAwsRegion, B as resolveRuntimeCodeMountPath, Bt as regionNeedsReconciliation, C as waitForRieReady, Cn as STATE_FILE_SUFFIX, Ct as resolveContainerRegion, Dn as listAllStateKeys, Dt as warnAwsEmulatorStateSourceHint, E as SENSITIVE_ENV_KEYS, En as listAllLockKeys, Et as taskRoleAssumedInRealAws, F as removeContainer, Ft as legacyStateBucketFallbackRegion, G as nestedOwnerOfLogicalId, Gt as withOtherIndexRemoval, H as resolveRuntimeImage, Ht as resolveEffectiveRegion, It as namedCliRegion, J as renderAllLeftOutStageStacks, Jt as annotationMessageOptions, K as partitionTopLevel, Kt as strandedProfileCredentialsNotice, L as runDetached, Lt as rawCliRegion, M as killAndDrainContainerLogs, Mt as adoptRegionFlag, N as pickFreePort, Nt as exportInferredRegionForSdk, O as ensureDockerAvailable, On as parseStateKey, Ot as workloadGetsEmulatorKeysOnly, P as pullImage, Pt as foldRegionOption, Q as renderNotInAppWarning, Qt as contextOptions, Rt as reconcileExportIndexRegion, S as invokeRie, Sn as LOCK_FILE_SUFFIX, St as realAwsException, T as DockerRunnerError, Tn as describeStateKey, Tt as stateRoleRecordIsEmulatorSide, U as describeStack, Ut as stackRegionResolver, V as resolveRuntimeFileExtension, Vt as regionShown, W as matchStacks, Wt as stateWithRegion, X as renderAmbiguousTargetStack, Xt as applyWaitFlagEnv, Y as renderAllNoTopLevelStacks, Yt as appOptions, Z as renderNoStackMatch, Zt as commonOptions, _ as probeHostGatewaySupport, _n as parseDuration, _t as localAwsEmulatorCredentials, a as materializeLayerFromArn, an as noLocalCustomResourcesOption, at as unmatchedPatterns, b as substituteImagePlaceholders, bn as cliArgParser, bt as prepareLocalLoopbackForwarder, cn as regionOption, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as stateOptions, dt as activateLocalAwsAndRoleArn, en as destroyOptions, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as useCdkBootstrapAssetsOption, ft as assertAwsEmulatorValue, g as HOST_GATEWAY_MIN_VERSION, gn as allowUnsupportedTypesOption, gt as localAwsEmulatorActive, h as layerAssetDirectory, hn as parseAssumeRoleToken, ht as keepEmulatorIssuedCredentials, i as resolveInlineCodeFilePath, in as noCfnFallbackOption, it as stacksNoLongerSelected, jt as recordEmulatorDefaultRegion, k as flushStdio, kt as emulatorDefaultRegion, l as resolveLambdaLayers, ln as skipFinalSnapshotOption, lt as stackForConstructPath, m as copyLayerTreeLastWins, mn as normalizeStartApiAssumeRole, mt as getActiveWorkloadAwsWiring$1, n as resolveTmpfsForLambda, nn as exclusivelyOption, nt as stackMatchesPattern, o as resolveLambdaTarget, on as parseContextOptions, ot as buildCdkPathIndex, p as buildContainerImage$1, pn as effectiveAssumeRoleArn, pt as attachLocalLoopbackForwarder, q as refuseStackNameRegionCollisions, qt as writeProfileCredentialsFile, r as resolveZipImagePlan, rn as guardStackRegionOptions, rt as stacksForDependency, s as extractEphemeralStorageMb, sn as parseStackRegion, st as readCdkPathOrUndefined, t as resolveLocalBuildPlan$1, tn as diffUpdatePolicyOptions, tt as selectTargetStack, u as assetPathDirs, un as stackOptions, ut as stackForPathFormTarget, v as resolveHostGatewayExtraHosts, vn as resourceTimeoutOptions, vt as mixedModeActive, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as STATE_KEY_MAX_CODE_POINTS, wt as setContainerRegion, x as tryResolveImageFnJoin, xn as parsePositiveIntegerOption, xt as profileCredentialsForWorkload, y as derivePseudoParametersFromRegion$1, yn as validateResourceTimeouts, yt as mixedModeEmulatorOverride, z as streamLogs, zt as reconcileMarkerRegionWithLegacyDefault } from "./image-plan-XyUNOBmz.js";
|
|
3
|
+
import { A as assertRegionMatch, Dt as readRecordedPrincipals, Ht as maskDeep, It as resourceTypeShown, O as DriftReadRefusedError, Pt as logicalIdShown, St as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, V as isMarkedNotGone, _n as withPasteableAwsProfile, _t as endCommandInterruptScope, an as buildLockContentionMessage, at as runDeleteAttempt, bn as producerCoordinateKey, cn as formatLockOperation, fn as CUSTOM_RESOURCE_RESPONSE_PREFIX, ft as isAwsCliLiteral, gn as setPasteableAwsProfile, gt as beginCommandInterruptScope, hn as setPasteableAwsCaBundle, ht as renderDisableCommand, i as withResourceDeadline, in as buildForceUnlockCommand, j as VALUE_NOT_SHOWN, k as RESOURCE_NOT_FOUND, ln as formatLockOwner, mn as WAIT_CONDITION_SIGNAL_PREFIX, on as forceQuitRecoveryClause, pn as DEFAULT_STATE_PREFIX, rn as UNREPRODUCIBLE_LOCK_CLAUSE, sn as formatLockExpiry, vn as injectiveKey, vt as interruptWatchListenerCount, xn as producerRecordKey, xt as IAM_PRINCIPAL_NAME, yt as isInterruptedWaitError, z as remedyLogicalId } from "./resource-deadline-CUApArbf.js";
|
|
4
4
|
import { a as runWithStackAwsClients, i as resetAwsClients, l as s3ClientDefaults, o as setAwsClients, s as resolveS3ClientDefaults, t as AwsClients, u as setS3ClientDefaultsDebugLog } from "./aws-clients-DOkPjjAW.js";
|
|
5
|
-
import { $ as withStackScope, A as configStringRefusal, B as generateResourceName, E as coerceCfnBoolean, F as requireConfigString, I as PATTERN_B_NAME_OPTIONS, L as PATTERN_B_NAME_PROPERTIES, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, R as PATTERN_B_RESOURCE_TYPES, S as explicitNamePropertyFor, X as isNameGeneration, a as reserveStdoutForPayload, i as releaseStdoutForPayload, m as verboseAwareText, n as getLogger, p as safeStringify, r as isStdoutReservedForPayload, s as runStackBuffered, u as describeAwsFailure, y as getLiveRenderer, z as derivesPatternBName } from "./logger-
|
|
6
|
-
import { A as stripControlChars, B as retryClassificationText, F as isAmbiguousOutcomeError, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, ct as SynthesisError, et as CdkdError, g as PartialFailureError, h as NestedStackChildDirectDestroyError, i as credentialFingerprint, j as stripForDisplay, k as escapeRegExp, l as withErrorHandling, n as ambientCredentialConfig, o as formatError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, rt as LocalInvokeBuildError$1, s as handleError, st as StateError, t as ambientClientDefaults, tt as DeployCancelledError, u as LocalStartServiceError, v as StackHasActiveImportsError, y as StackTerminationProtectionError, z as isTransientServerError } from "./ambient-client-defaults-
|
|
5
|
+
import { $ as withStackScope, A as configStringRefusal, B as generateResourceName, E as coerceCfnBoolean, F as requireConfigString, I as PATTERN_B_NAME_OPTIONS, L as PATTERN_B_NAME_PROPERTIES, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, R as PATTERN_B_RESOURCE_TYPES, S as explicitNamePropertyFor, X as isNameGeneration, a as reserveStdoutForPayload, i as releaseStdoutForPayload, m as verboseAwareText, n as getLogger, p as safeStringify, r as isStdoutReservedForPayload, s as runStackBuffered, u as describeAwsFailure, y as getLiveRenderer, z as derivesPatternBName } from "./logger-xueeC0uS.js";
|
|
6
|
+
import { A as stripControlChars, B as retryClassificationText, F as isAmbiguousOutcomeError, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, ct as SynthesisError, et as CdkdError, g as PartialFailureError, h as NestedStackChildDirectDestroyError, i as credentialFingerprint, j as stripForDisplay, k as escapeRegExp, l as withErrorHandling, n as ambientCredentialConfig, o as formatError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, rt as LocalInvokeBuildError$1, s as handleError, st as StateError, t as ambientClientDefaults, tt as DeployCancelledError, u as LocalStartServiceError, v as StackHasActiveImportsError, y as StackTerminationProtectionError, z as isTransientServerError } from "./ambient-client-defaults-BKnLt9R9.js";
|
|
7
7
|
import { a as getAssumedRoleCredentials, c as setAssumedRoleCredentials, h as formatAuthority, l as setAwsEndpointOverrideSource, m as runInStackAwsScope, n as awsClientDefaults, r as awsEndpointOverrideActive, s as runWithRealAws } from "./aws-client-defaults-DAebi99J.js";
|
|
8
|
-
import { $ as
|
|
9
|
-
import { $c as refuseMalformedResourcePropertiesForDrift, $i as cyan, $l as hasUnverifiableParameterRefusal, $n as propertiesChangedReason, $o as applyRoleArnIfSet, $t as macWriteOnlyKeys, $u as BOOTSTRAP_MARKER_PREFIX, A as recordedProtectionEvidence, Aa as createPreDeleteFinalSnapshot, Ac as refuseMalformedOrphanRecordsForDestroy, Ai as isExportAliasCollision, Al as accountArgs, An as crossStackReadsForPartialSave, Ao as UNSPECIFIED_SKIP_REASON, Ar as updatePartialReason, Bc as refuseMalformedResourceAttributesForOrphan, Bi as holdsSupersededResources, Bl as unwrittenCreateOnlyReplacement, Bn as findRefactorHints, Bo as isAlwaysLiveAttribute, Br as demoteSupersededOrphans, Bs as isImpossibleEmptyStoredAttribute, C as pendingMovesOutOf, Ca as PRE_DELETE_SNAPSHOT_TYPES, Cc as deployRefusesOrphanRowsReason, Ci as carriedExportAliasExposure, Cl as malformedStateRefusalMessage, Cn as loadJournaledOrphans, Cr as settleUnsettledPrevious, Cs as AWS_NO_VALUE, Cu as decodeListingKey, D as findServiceTokenRefusals, Da as isFinalSnapshotError, Dc as malformedOrphanRowsKeptWarning, Di as noEchoParameterValueSeed, Dl as refuseMalformedState, Dn as planOrphanAdoption, Do as CloudControlProvider, Dr as equalModuloMask, Ds as lacksRecordedRefArn, Du as createAssetRedirectResolver, E as deferredServiceTokenWarning, Ea as effectiveDeletionPolicy, Ec as malformedOrphanRecordsWarning, Ei as isWholeDynamicReferenceValue, El as refuseMalformedResourcesForExport, En as makeSiblingClaimReader, Er as equalModuloMarkedMask, Es as refStateLookupFromResource, Eu as buildAssetRedirectMap, F as readProtection, Fc as isReadableResourceEntry, Fl as hasReadableOutputs, Fn as noEchoMacVerdict, Fo as getReadOnlyPropertyPaths, Fu as rewriteTemplateAssetReferences, Ga as lambdaPermissionMatchesDeclared, Gc as refuseMalformedResourceEntriesForImportSave, Gi as supersededResourcesOf, Gl as hasNoCloudControlHandlers, Gn as changedReferenceInDiff, Go as displayPhysicalId, Gr as recordUnderIdIsNotOwn, Gs as withSharedDrainBudget, Gt as refactorMarkerMovesOf, Gu as buildDenyExternalAccessPolicy, H as readStreamPolicy, Ha as declaredMemberDocument, Hc as refuseMalformedResourceEntriesForDeploy, Hi as supersededAfterRollback, Hn as movedToHint, Ho as stackIdTailOf, Hr as isReplacementOrphan, Hs as isNamelessDynamicReferenceError, Ht as recordRetainedForReadoption, Ic as malformedLocalResourceEntriesWarning, Ii as destroyStackRecordsView, Il as hasReadableResources, In as noEchoValueMacsOf, Io as isWaitAbandonedError, Ir as withCreateTokenLedger, Is as recordedReferenceRegions, Iu as AssetManifestLoader, Ja as reReadUntilSettled, Jc as unreadableResourceEntries, Ji as snapshotSegmentSurvivors, Jl as S3StateBackend, Jn as differingRemedy, Jo as secretSegmentsOfState, Jr as computeImplicitDeleteEdges, Jt as sameMove, Ju as getBootstrapMarkerKey, Ka as memberReadFailure, Kc as refuseMalformedResourceEntriesForOrphan, Ki as withoutSuperseded, Kl as PROPERTY_COVERAGE_BY_TYPE, Kn as changedReferencePath, Kr as replacementNeverSwapped, Kt as refactorMarkerRefusalMessage, Ku as assertAssetBucketRegion, Lc as malformedLocalResourcesWarning, Ll as findActionableSdkUnwired, Ln as constructPathOf$1, Lu as getDockerImageBySourceHash, M as PROTECTION_PROPERTY_BY_TYPE, Mc as repairMalformedOrphanRecordsForReadOnly, Mi as DEFAULT_RESOURCE_TIMEOUT_MS, Ml as STATE_RESOURCES_MALFORMED, Mn as createNoEchoValueMacs, Mo as deleteLeftInPlace, Mr as replacementCreateRoutesToCloudControl, Ms as keepHeldTokenProvenance, Mu as loadPublishableAssetManifest, N as isProtectionValueActive, Nc as unpreviewableOrphanRecords, Ni as DEFAULT_RESOURCE_WARN_AFTER_MS, Nl as UNREADABLE_RESOURCES_MAP_ROW, Nn as noEchoMacBinding, No as deleteSkipReason, O as serviceTokenBlockingReason, Oa as refusesFinalSnapshot, Oc as previewableOrphanRecords, Oi as collectDeclaredOutputNames, Ol as repairMalformedResourcesForReadOnly, On as DeploymentEventsReader, Or as undeclaredEmptyObservedKeys, Os as lacksRecordedTableArn, Ou as createLazyAssetModeContext, P as perType, Pc as unreadableOrphanRecords, Pi as maskingRetryLogger, Pl as displayLogicalId, Pn as noEchoMacParametersOf, Pr as ledgerForStack, Ps as recordedOutputReferenceRegions, Qc as refuseMalformedResourcePropertiesForDestroy, Qi as bold, Ql as hasReasonlessBaselineRefusal, Qn as parseMappingFile, Qo as refuseUnreadableCdkCrossAccountRefs, Qr as isRedactedRecordedValue, Qt as removeSignalReceiverNamed, Qu as validateContainerRepoName, Rc as malformedResourceEntriesWarning, Ri as withStackRecords, Rl as findHandledUnwrittenCreateOnly, Rn as findDestructiveChanges, Ro as IntrinsicFunctionResolver, Rr as planRollback, S as hasPendingMovesOut, Sa as ATOMIC_FINAL_SNAPSHOT_TYPES, Sc as maskedPropertyFingerprint, Si as secretSafeKeyDisplay, Sl as malformedResourcesWarning, Sn as journaledOrphanLines, So as localCustomResourceCommand, Sr as recordAfterRollbackUpdate, Ss as parameterTypeMayLoseSecretIdentity, T as refusePendingMovesOut, Ta as ccRoutedInstanceTakesNoSnapshot, Tc as malformedOrphanRecordsRefusalMessage, Ti as exportNameSecretExposure, Tl as refuseMalformedResourcesForDestroy, Tn as makeForeignHolderScan, To as withCustomResourceStack, Tr as calculateResourceDrift, Ts as isStalePlaceholderArnAttribute, Ua as declaredPolicyDocument, Uc as refuseMalformedResourceEntriesForDestroy, Ui as supersededHeldByOtherTypeWarning, Un as rollbackOrphanIds, Ur as planFailedOps, Us as carriesDynamicReference, Ut as readRefactorMarker, Uu as AssetModeResolver, Vc as refuseMalformedResourceEntries, Vi as isSupersededResourceRecord, Vn as hintSidesOf, Vo as poisonRenderedSpellingsCollidingIn, Vr as isJournaledOrphan, Vs as carriesFetchableDynamicReference, Vt as keptForRetainedRecord, Wa as efsPolicyMatchesDeclared, Wc as refuseMalformedResourceEntriesForImport, Wi as supersededHolderOf, Wl as NO_CC_HANDLERS_REASON, Wn as withMovedTo, Wr as recheckFailedPlan, Ws as keepsSecretReferenceToken, Wt as readRefactorMarkerOnce, Wu as ensureAssetStorage, Xc as malformedResourcePropertiesWarning, Xi as withPreviousPolicies, Xn as looselyEqual, Xo as resolveDynamicReferences, Xr as readsRegeneratingSecret, Xt as deleteSignalReceiver, Xu as readBootstrapMarkerBody, Yc as malformedDriftResourcePropertiesWarning, Yi as resolveReplacementOldType, Yl as splitImportedOps, Yn as isPairableType, Yo as withSecretPhysicalIdsMaskedInState, Yr as attemptUsesCompletedCreate, Yt as updateRefactorMarker, Yu as parseBootstrapMarker, Z as declaredTagsReadback, Za as verbatimEchoDriftKeys, Zi as findNestedStackTypeChanges, Zl as readOnlyStateVersionOf, Zn as mappingPairs, Zo as producerLookupOver, Zt as isReceiver, Zu as validateAssetBucketName, _ as conditionFingerprint, _i as WITHHELD_NAME_DISPLAY, _l as refuseMalformedOutputsForDestroy, _n as withNestedStackContext, _o as withPrintingSecrets, _r as replayRollback, _u as templateIdentity, a as scanActiveConsumers, aa as noEchoComparisonForTemplate, ac as isStatefulRecreateTargetSync, ad as nullPrototypeRecord, ai as nameGenerationHighWaterOf, al as malformedOrphansRefusalMessage, an as NESTED_PENDING_PARENT_REASON, ao as WaitConditionSignalStore, ar as recordedRuleIdOf, as as sendableAssumeRoleCommand, au as isAccessDenied, b as readRecordedConditionVerdicts, ba as storedSecretNameNeedles, bi as secretBearing, bl as refuseDivergentRecordRegionForDestroy, bn as dropFailedHint, bo as customResourcesFailedWithoutApp, br as earlyDeletedOld, bs as coerceParameterTypedValue, bu as ssmResolvedValueType, c as nestedSsmNameDeferredNote, ca as withAttemptedItemsMasked, ci as retiredNameGenerationsAfter, cl as refuseMalformedOrphansForDestroy, cn as dropSettledNestedJournals, co as isSignalKey, cs as callerEnvCredentials, cu as withStackInstanceIdWithheld, d as slashedSsmNameHealAdoptedNote, da as journaledOrphanPrintingBag, dl as malformedExportSourceWarning, dn as recordDisplacedSkips, do as customResourceResponseExpirationWarning, ds as classifyReplaySecretRegion, ea as gray, ec as findReplacedReadersOfRecreateTargets, el as refuseMalformedResourcePropertiesForExport, en as readsOnlyNoEchoParameters, eo as CC_BROKEN_REASON, er as proposeRenames, es as assertFlagRoleArn, eu as rebuildClientForBucketRegion, f as slashedSsmNameHealNote, fa as maskEventTextWithBoundBags, fc as getSettledWriteOnlyPropertyPaths, fd as renderAssemblyPathEscape, fi as inheritProducerRegions, fl as malformedLocalOutputsWarning, fr as cfnIngressPortValue, fs as producerRegionsFromState, g as makeCanonicalizePropertiesFn, ga as secretNamePrintingBags, gc as maskedPropertyFingerprintsOf, gi as resourcesNamingDeclaredParameter, gl as refuseMalformedOutputs, gn as getCurrentNestedStackContext, gr as replayFailedOperations, gu as renderNestedTemplateTreeDefect, h as inheritedProvenanceForChildDiff, ha as secretNamePrintingBag, hd as resolveBucketRegion, hi as reachableDivergentParameters, hn as collectNestedChildUnaddressed, ho as isCustomResourceType$1, hr as canonicalizeIpProtocolValue, hu as listNestedTemplateRows, i as mergeNoChangeOutputs, ia as noEchoAttributeNamesOf, ic as isStatefulRecreateTargetForReplace, id as hasPlainPrototype, ii as nameGenerationCarriedFrom, il as hasReadableOrphans, in as resolvePendingCloudControlRequests, io as wouldReturnToSdkProvider, ir as undeclaredGrantSiblingMembers, is as parseIamRoleArn, iu as crossPrefixDeniedWarning, j as recordedProtectionNote, ja as buildFinalSnapshotIdentifier, jc as refuseMalformedOrphansForOrphan, ji as bindingSkippedOutputs, jl as withheldAccountClause, jn as NOECHO_MAC_KEY_ALIAS, jo as deleteIndeterminateGuards, jr as findUpdatePolicyReplacementRefusals, k as diffSecurity, ka as unsupportedFinalSnapshotError, kc as refuseMalformedOrphanRecords, ki as collectPublishedOutputNames, kl as JSON_LISTING_HOLE_VALUE, kn as DeploymentEventsStore, ko as RollbackInlinePolicyWriters, kr as updatePartialMessage, l as nestedSsmNameRowNote, la as createReadOnlyAttributeHealerFactory, ld as describeFileReadFailure, li as retiredNameGenerationsLeaving, ll as repairMalformedOrphansForReadOnly, lo as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, lr as siblingRecordedSgRuleIds, ls as envCredentialsAreAssumedRole, lu as isSecretValuedAttribute, m as crossStackOutputProvenanceSource, ma as orphanRecordsPrintingBag, mc as tryGetTopLevelWriteOnlyProperties, mi as namesAnyDeclaredParameter, ml as malformedOutputsWarning, mn as withNestedRevertRun, mo as readsNoEchoDeleteValues, mr as sgProtocolKey, ms as isUnexposedRecordedIdentity, mu as isAbsoluteAssetPath, n as isSecretBearingReferenceString, na as red, nc as shownType, nd as defineOwnKey, ni as removeProtectionTypeList, nl as repairMalformedResourcePropertiesForReadOnly, nn as formatResourceLine, no as ccBrokenReason, nr as siblingOwnedRevertDesired, ns as explicitRoleArnOrThrow, nu as CrossPrefixScanCache, o as inRunStackKey, oa as noEchoExactEchoLeavesOf, oc as renderStatefulReason, od as ownValue, oi as nameScopeOf, ol as malformedOrphansWarning, on as displacedOpClause, oo as classifyHandleUrl, or as sgRuleOwnershipIdentity, os as AWS_CREDENTIAL_ENV_KEYS, ou as isNotImplemented, p as slashedSsmNameHealPendingNote, pa as namingSecretsWithRecordedNoEcho, pc as getTopLevelKeysHoldingUnreadableCreateOnly, pd as resolveAssemblyPath, pi as computeParameterTaint, pl as malformedOutputsRefusalMessage, pn as revertedNestedRowIds, po as TemplateNoEchoReresolver, pr as recordedSgRuleId, ps as regionLessSecretName, pu as findNestedTemplateTreeDefect, q as streamPolicyMatchesDeclared, qa as policyDocumentMatchesDeclared, qc as repairMalformedResourceEntriesForReadOnly, ql as TemplateParser, qn as changedReferenceReason, qo as secretPhysicalIdSegment, qr as IMPLICIT_DELETE_DEPENDENCIES, qs as INTRINSIC_KEYS, qt as refuseRefactorMarker, qu as isCrossRegionRedirect, r as keptWholeReasonText, ra as yellow, rc as MULTI_REGION_RECREATE_BLOCKED_TYPES, rd as hasOwnKey, ri as orphanNeedsIdentity, rl as UNREADABLE_ORPHANS_CONTAINER_ROW, rn as pendingRequestCount, ro as isCustomResource, rr as stripSiblingOwnedParentMembers, rs as isIamRoleArn, ru as applyCrossPrefixScan, s as checkNestedSsmNames, sa as noEchoParameterNamesOf, si as retiredAfterRollback, sl as refuseMalformedOrphans, sn as displacedPhysicalIdShown, sr as sgSiblingDecidedById, ss as applyCallerIdentityCredentials, su as stackInstanceIdOf, t as DeployEngine, ta as green, ti as segmentCleanupOptions, tl as refuseMalformedResourcePropertiesForOrphan, to as ProviderRegistry, tr as referencedLogicalIds, ts as assertSendableRoleArn, tt as tagsMatchDeclared, tu as CrossPrefixReadError, u as healSlashedSsmParameterNames, ua as completedReplayEntries, ud as displayAssemblyPath, ui as withNameGenerationReached, ul as malformedExportNamesWarning, un as nestedChildStackName$1, uo as applyCustomResourceResponseExpiration, us as classifyRecordedSecretRegion, uu as isSensitiveAttributeName, v as conditionInputsFrom, va as secretNamedRecordNeedles, vc as parameterInputsFor, vi as displayTextOrWithheld, vl as repairMalformedOutputsForReadOnly, vn as deleteJournaledOrphans, vo as NO_LOCAL_CUSTOM_RESOURCES_FLAG, vr as DELETED_RESOURCE_REMEDY, w as pendingMovesRefusalMessage, wa as ccRoutedFinalSnapshotError, wc as isReadableOrphanRecord, wi as exportNameNoEchoParameters, wl as refuseMalformedResourcesForDeploy, wn as sameJournaledOrphans, wo as setLocalCustomResourceRuntimeEnabled, wr as withUnprovenUnsettled, ws as cfnRefValueFromPhysicalId, x as childTemplateLoader, xa as extractDeploymentEventError, xc as declaresNoEcho, xi as secretBearingStateKeyWarning, xl as malformedRenderedContainersWarning, xn as isHandledOrphan, xo as customResourcesRunWithoutApp, xr as buildReadCurrentStateContext, xs as isUnboundTemplateParameter, xu as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, y as parentSuppliedValues, ya as stateSecretNameNeedles, yc as maskedInputProof, yi as exportAliasCollisionScrubWarning, yl as STATE_REGION_DIVERGED, yn as dropFailedCommands, yr as earlyDeleteWhen, za as LAMBDA_PERMISSION_STATEMENT_KEYS, zc as malformedScrubResourceEntriesRefusalMessage, zi as deleteSupersededEntry, zn as formatDestructiveChange, zo as isSelectOutOfBounds, zr as seedsDeleteFirstGuard, zs as getAccountInfo } from "./deploy-engine-Df4iprdW.js";
|
|
8
|
+
import { $ as MIGRATE_TMP_PREFIX, A as formatDockerLoginError, B as resolveApp, C as redactDockerArgvValues, D as warnFinchArgvExposure, E as partitionSensitiveEnv, F as Synthesizer, G as resolveStateBucketWithDefaultAndSource, H as resolveCaptureObservedState, I as synthesisStatusMessage, J as resolveUseCdkBootstrapAssets, K as resolveStateBucketWithSource, L as getDefaultStateBucketName, M as runDockerForeground, N as runDockerStreaming, O as isDockerClientEnvKey, P as abortInFlightMultipartUploads, Q as CFN_TEMPLATE_URL_LIMIT, R as getLegacyStateBucketName, S as redactedDockerCause, T as finchSecretArgvRefusal, U as resolveSkipPrefix, V as resolveAutoAssetStorage, W as resolveStateBucketWithDefault, X as warnDeprecatedNoPrefixCliFlag, Y as stateBucketExistenceConfirmed, Z as CFN_TEMPLATE_BODY_LIMIT, _ as resolveDockerContextDirectory, at as bindLegacyStackAssetParameters, b as describeDockerFailure, ct as predictedAutoCreatedAssetMode, d as DagBuilder, dt as processStackMessages, et as findLargeInlineResources, f as LockManager, ft as setChildProcessAwsEnv, g as buildDockerImage, h as WorkGraph, i as mergeDeclaredEntries, it as StageLoadError, j as getDockerCmd, k as isMalformedEnvKey, l as DiffCalculator, lt as prepareLegacyStackAssets, m as AssetPublisher, n as declaredStringList, nt as refuseFailedLookups, ot as createLegacyAssetParameterBinder, p as isLockInfoExpired, q as resolveUpdatePolicy, r as inlinePoliciesAreDeclared, rt as AssemblyReader, s as stringListIsDeclared, st as legacyPlanAssetCount, t as declaredInlinePolicies, tt as uploadCfnTemplate, u as LEGACY_HANDLE_HEAL_REASON, ut as CdkToolkitBucketMissingError, w as dockerSpawnEnvWithSensitive, x as redactedCause, y as describeDockerExecFailure, z as loadCdkJson } from "./settle-own-write-members-CSkozE9A.js";
|
|
9
|
+
import { $c as malformedDriftResourcePropertiesWarning, $i as green, $n as parseMappingFile, $o as assertSendableRoleArn, $t as removeSignalReceiverNamed, $u as ensureAssetStorage, A as recordedProtectionEvidence, Ac as malformedOrphanRecordsWarning, Ai as collectDeclaredOutputNames, Al as refuseMalformedResourcesForExport, An as DeploymentEventsStore, Ar as undeclaredEmptyObservedKeys, As as keepHeldTokenProvenance, Au as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Bc as malformedLocalResourceEntriesWarning, Bi as supersededAfterRollback, Bl as hasReadableResources, Bn as formatDestructiveChange, Bo as isWaitAbandonedError, Br as planRollback, Bs as isNamelessDynamicReferenceError, C as pendingMovesOutOf, Ca as ccRoutedInstanceTakesNoSnapshot, Cc as maskedInputProof, Ci as secretBearingStateKeyWarning, Cl as STATE_REGION_DIVERGED, Cn as journaledOrphanLines, Cr as buildReadCurrentStateContext, Cs as isStalePlaceholderArnAttribute, Cu as isAbsoluteAssetPath, D as findServiceTokenRefusals, Da as unsupportedFinalSnapshotError, Dc as deployRefusesOrphanRowsReason, Di as exportNameSecretExposure, Dl as malformedStateRefusalMessage, Dn as makeSiblingClaimReader, Dr as calculateResourceDrift, E as deferredServiceTokenWarning, Ea as refusesFinalSnapshot, Ec as maskedPropertyFingerprint, Ei as exportNameNoEchoParameters, El as malformedResourcesWarning, En as makeForeignHolderScan, Eo as localCustomResourceCommand, Er as withUnprovenUnsettled, Es as lacksRecordedTableArn, Eu as templateIdentity, F as readProtection, Fc as refuseMalformedOrphansForOrphan, Fi as DEFAULT_RESOURCE_WARN_AFTER_MS, Fl as withheldAccountClause, Fn as noEchoMacParametersOf, Fo as deleteIndeterminateGuards, Fu as buildAssetRedirectMap, Gc as refuseMalformedResourceEntries, Gn as withMovedTo, Go as poisonRenderedSpellingsCollidingIn, Gr as planFailedOps, Gs as INTRINSIC_KEYS, Gt as readRefactorMarkerOnce, Gu as AssetManifestLoader, H as readStreamPolicy, Hc as malformedResourceEntriesWarning, Hi as supersededHolderOf, Hl as findHandledUnwrittenCreateOnly, Hn as hintSidesOf, Ho as IntrinsicFunctionResolver, Hr as demoteSupersededOrphans, Hs as keepsSecretReferenceToken, Ht as keptForRetainedRecord, Ic as repairMalformedOrphanRecordsForReadOnly, Ii as maskingRetryLogger, Il as STATE_RESOURCES_MALFORMED, In as noEchoMacVerdict, Io as deleteLeftInPlace, Ir as ledgerForStack, Iu as createAssetRedirectResolver, Ja as efsPolicyMatchesDeclared, Jc as refuseMalformedResourceEntriesForImport, Ji as withPreviousPolicies, Jl as NO_CC_HANDLERS_REASON, Jn as changedReferenceReason, Jo as resolveDynamicReferences, Jr as replacementNeverSwapped, Jt as refuseRefactorMarker, Ka as declaredMemberDocument, Kc as refuseMalformedResourceEntriesForDeploy, Ki as snapshotSegmentSurvivors, Kn as changedReferenceInDiff, Ko as stackIdTailOf, Kr as recheckFailedPlan, Kt as refactorMarkerMovesOf, Ku as getDockerImageBySourceHash, La as destroyStackRecordsView, Lc as unpreviewableOrphanRecords, Li as deleteSupersededEntry, Ll as UNREADABLE_RESOURCES_MAP_ROW, Ln as noEchoValueMacsOf, Lo as deleteSkipReason, Ls as getAccountInfo, Lu as createLazyAssetModeContext, M as PROTECTION_PROPERTY_BY_TYPE, Mc as previewableOrphanRecords, Mi as isExportAliasCollision, Ml as repairMalformedResourcesForReadOnly, Mn as NOECHO_MAC_KEY_ALIAS, Mr as updatePartialReason, Ms as recordedOutputReferenceRegions, Mu as decodeListingKey, N as isProtectionValueActive, Nc as refuseMalformedOrphanRecords, Ni as bindingSkippedOutputs, Nl as JSON_LISTING_HOLE_VALUE, Nn as createNoEchoValueMacs, No as RollbackInlinePolicyWriters, Nr as findUpdatePolicyReplacementRefusals, O as serviceTokenBlockingReason, Oa as createPreDeleteFinalSnapshot, Oc as isReadableOrphanRecord, Oi as isWholeDynamicReferenceValue, Ol as refuseMalformedResourcesForDeploy, On as planOrphanAdoption, Oo as setLocalCustomResourceRuntimeEnabled, Or as equalModuloMarkedMask, P as perType, Pc as refuseMalformedOrphanRecordsForDestroy, Pi as DEFAULT_RESOURCE_TIMEOUT_MS, Pl as accountArgs, Pn as noEchoMacBinding, Po as UNSPECIFIED_SKIP_REASON, Pr as replacementCreateRoutesToCloudControl, Ps as recordedReferenceRegions, Qa as reReadUntilSettled, Qc as unreadableResourceEntries, Qi as gray, Ql as providerReplacementOldDeleted, Qn as mappingPairs, Qo as assertFlagRoleArn, Qr as readsRegeneratingSecret, Qs as findReplacedReadersOfRecreateTargets, Qt as isReceiver, Qu as AssetModeResolver, Rc as unreadableOrphanRecords, Ri as holdsSupersededResources, Rl as displayLogicalId, Rn as constructPathOf$1, Rr as withCreateTokenLedger, Rs as isImpossibleEmptyStoredAttribute, S as hasPendingMovesOut, Sa as ccRoutedFinalSnapshotError, Sc as parameterInputsFor, Sd as resolveAssemblyPath, Si as secretBearing, Sl as repairMalformedOutputsForReadOnly, Sn as isHandledOrphan, So as NO_LOCAL_CUSTOM_RESOURCES_FLAG, Sr as earlyDeletedOld, Ss as cfnRefValueFromPhysicalId, Su as findNestedTemplateTreeDefect, T as refusePendingMovesOut, Ta as isFinalSnapshotError, Tc as declaresNoEcho, Ti as carriedExportAliasExposure, Tl as malformedRenderedContainersWarning, Tn as sameJournaledOrphans, To as customResourcesRunWithoutApp, Tr as settleUnsettledPrevious, Ts as lacksRecordedRefArn, Tu as renderNestedTemplateTreeDefect, Ua as LAMBDA_PERMISSION_STATEMENT_KEYS, Uc as malformedScrubResourceEntriesRefusalMessage, Ui as supersededResourcesOf, Un as movedToHint, Uo as isSelectOutOfBounds, Ur as isJournaledOrphan, Us as withSharedDrainBudget, Ut as recordRetainedForReadoption, Va as withStackRecords, Vc as malformedLocalResourcesWarning, Vi as supersededHeldByOtherTypeWarning, Vl as findActionableSdkUnwired, Vn as findRefactorHints, Vr as seedsDeleteFirstGuard, Vs as carriesDynamicReference, Vu as loadPublishableAssetManifest, Wc as refuseMalformedResourceAttributesForOrphan, Wi as withoutSuperseded, Wl as unwrittenCreateOnlyReplacement, Wn as rollbackOrphanIds, Wo as isAlwaysLiveAttribute, Wr as isReplacementOrphan, Wt as readRefactorMarker, Wu as rewriteTemplateAssetReferences, Xa as memberReadFailure, Xc as refuseMalformedResourceEntriesForOrphan, Xi as bold, Xl as PROPERTY_COVERAGE_BY_TYPE, Xn as isPairableType, Xo as refuseUnreadableCdkCrossAccountRefs, Xr as computeImplicitDeleteEdges, Xt as updateRefactorMarker, Ya as lambdaPermissionMatchesDeclared, Yc as refuseMalformedResourceEntriesForImportSave, Yi as findNestedStackTypeChanges, Yl as hasNoCloudControlHandlers, Yn as differingRemedy, Yo as producerLookupOver, Yr as IMPLICIT_DELETE_DEPENDENCIES, Yt as sameMove, Z as declaredTagsReadback, Za as policyDocumentMatchesDeclared, Zc as repairMalformedResourceEntriesForReadOnly, Zi as cyan, Zn as looselyEqual, Zo as applyRoleArnIfSet, Zr as attemptUsesCompletedCreate, Zt as deleteSignalReceiver, _ as conditionFingerprint, _a as stateSecretNameNeedles, _c as getTopLevelKeysHoldingUnreadableCreateOnly, _i as reachableDivergentParameters, _l as malformedOutputsRefusalMessage, _n as getCurrentNestedStackContext, _o as TemplateNoEchoReresolver, _r as replayFailedOperations, _u as withStackInstanceIdWithheld, a as scanActiveConsumers, aa as noEchoParameterNamesOf, ad as readBootstrapMarkerBody, ai as orphanNeedsIdentity, al as refuseMalformedResourcePropertiesForOrphan, an as resolvePendingCloudControlRequests, ao as ProviderRegistry, ar as undeclaredGrantSiblingMembers, as as applyCallerIdentityCredentials, b as readRecordedConditionVerdicts, ba as ATOMIC_FINAL_SNAPSHOT_TYPES, bc as maskedPropertyFingerprintsOf, bi as displayTextOrWithheld, bl as refuseMalformedOutputs, bn as dropFailedCommands, br as PLANNED_EARLY_DELETE_CONSEQUENCE, bs as parameterTypeMayLoseSecretIdentity, c as nestedSsmNameDeferredNote, ca as completedReplayEntries, cd as BOOTSTRAP_MARKER_PREFIX, ci as nameScopeOf, cl as hasReadableOrphans, cn as displacedPhysicalIdShown, co as wouldReturnToSdkProvider, cr as sgSiblingDecidedById, cs as classifyRecordedSecretRegion, cu as hasUnverifiableParameterRefusal, d as slashedSsmNameHealAdoptedNote, da as namingSecretsWithRecordedNoEcho, dc as displayPhysicalId, dd as defineOwnKey, di as retiredNameGenerationsLeaving, dl as refuseMalformedOrphans, dn as nestedChildStackName$1, ds as regionLessSecretName, du as CrossPrefixScanCache, ea as red, ec as shownType, ed as buildDenyExternalAccessPolicy, ei as isRedactedRecordedValue, el as malformedResourcePropertiesWarning, en as macWriteOnlyKeys, er as propertiesChangedReason, es as explicitRoleArnOrThrow, f as slashedSsmNameHealNote, fa as orphanRecordsPrintingBag, fd as hasOwnKey, fi as withNameGenerationReached, fl as refuseMalformedOrphansForDestroy, fn as recordDisplacedSkips, fo as isSignalKey, fs as isUnexposedRecordedIdentity, fu as applyCrossPrefixScan, g as makeCanonicalizePropertiesFn, ga as secretNamedRecordNeedles, gc as getSettledWriteOnlyPropertyPaths, gi as namesAnyDeclaredParameter, gl as malformedLocalOutputsWarning, gn as collectNestedChildUnaddressed, gr as canonicalizeIpProtocolValue, gu as stackInstanceIdOf, h as inheritedProvenanceForChildDiff, hc as withSecretPhysicalIdsMaskedInState, hd as ownValue, hi as computeParameterTaint, hl as malformedExportSourceWarning, hn as withNestedRevertRun, ho as customResourceResponseExpirationWarning, hr as sgProtocolKey, hu as isNotImplemented, i as mergeNoChangeOutputs, ia as noEchoExactEchoLeavesOf, ic as renderStatefulReason, id as parseBootstrapMarker, ii as removeProtectionTypeList, il as refuseMalformedResourcePropertiesForExport, in as pendingRequestCount, io as CC_BROKEN_REASON, ir as stripSiblingOwnedParentMembers, is as AWS_CREDENTIAL_ENV_KEYS, iu as splitImportedOps, j as recordedProtectionNote, jc as malformedOrphanRowsKeptWarning, ji as collectPublishedOutputNames, jl as refuseMalformedState, jn as crossStackReadsForPartialSave, jo as CloudControlProvider, jr as updatePartialMessage, k as diffSecurity, ka as buildFinalSnapshotIdentifier, kc as malformedOrphanRecordsRefusalMessage, ki as noEchoParameterValueSeed, kl as refuseMalformedResourcesForDestroy, kn as DeploymentEventsReader, ko as withCustomResourceStack, kr as equalModuloMask, ku as ssmResolvedValueType, l as nestedSsmNameRowNote, la as journaledOrphanPrintingBag, li as retiredAfterRollback, ll as malformedOrphansRefusalMessage, ln as dropSettledNestedJournals, lo as WaitConditionSignalStore, ls as classifyReplaySecretRegion, lu as rebuildClientForBucketRegion, m as crossStackOutputProvenanceSource, ma as secretNamePrintingBags, mc as secretSegmentsOfState, md as nullPrototypeRecord, mi as inheritProducerRegions, ml as malformedExportNamesWarning, mn as revertedNestedRowIds, mo as applyCustomResourceResponseExpiration, mr as recordedSgRuleId, mu as isAccessDenied, n as isSecretBearingReferenceString, na as noEchoAttributeNamesOf, nc as isStatefulRecreateTargetForReplace, nd as isCrossRegionRedirect, nl as refuseMalformedResourcePropertiesForDestroy, nr as referencedLogicalIds, ns as parseIamRoleArn, nu as TemplateParser, o as inRunStackKey, oa as withAttemptedItemsMasked, od as validateAssetBucketName, oi as nameGenerationCarriedFrom, ol as repairMalformedResourcePropertiesForReadOnly, on as NESTED_PENDING_PARENT_REASON, oo as ccBrokenReason, or as recordedRuleIdOf, os as callerEnvCredentials, ou as readOnlyStateVersionOf, p as slashedSsmNameHealPendingNote, pa as secretNamePrintingBag, pc as secretPhysicalIdSegment, pd as hasPlainPrototype, pl as repairMalformedOrphansForReadOnly, po as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, pr as cfnIngressPortValue, pu as crossPrefixDeniedWarning, q as streamPolicyMatchesDeclared, qa as declaredPolicyDocument, qc as refuseMalformedResourceEntriesForDestroy, qi as resolveReplacementOldType, qn as changedReferencePath, qr as recordUnderIdIsNotOwn, qt as refactorMarkerRefusalMessage, r as keptWholeReasonText, ra as noEchoComparisonForTemplate, rc as isStatefulRecreateTargetSync, rd as getBootstrapMarkerKey, ri as segmentCleanupOptions, rl as refuseMalformedResourcePropertiesForDrift, rn as formatResourceLine, rr as siblingOwnedRevertDesired, rs as sendableAssumeRoleCommand, ru as S3StateBackend, s as checkNestedSsmNames, sa as createReadOnlyAttributeHealerFactory, sd as validateContainerRepoName, si as nameGenerationHighWaterOf, sl as UNREADABLE_ORPHANS_CONTAINER_ROW, sn as displacedOpClause, so as isCustomResource, sr as sgRuleOwnershipIdentity, ss as envCredentialsAreAssumedRole, su as hasReasonlessBaselineRefusal, t as DeployEngine, ta as yellow, tc as MULTI_REGION_RECREATE_BLOCKED_TYPES, td as assertAssetBucketRegion, tn as readsOnlyNoEchoParameters, to as verbatimEchoDriftKeys, tr as proposeRenames, ts as isIamRoleArn, tt as tagsMatchDeclared, u as healSlashedSsmParameterNames, ua as maskEventTextWithBoundBags, ui as retiredNameGenerationsAfter, ul as malformedOrphansWarning, uo as classifyHandleUrl, ur as siblingRecordedSgRuleIds, us as producerRegionsFromState, uu as CrossPrefixReadError, v as conditionInputsFrom, va as storedSecretNameNeedles, vc as tryGetTopLevelWriteOnlyProperties, vd as describeFileReadFailure, vi as resourcesNamingDeclaredParameter, vl as malformedOutputsWarning, vn as withNestedStackContext, vo as readsNoEchoDeleteValues, vr as replayRollback, vs as coerceParameterTypedValue, vu as isSecretValuedAttribute, w as pendingMovesRefusalMessage, wa as effectiveDeletionPolicy, wd as resolveBucketRegion, wi as secretSafeKeyDisplay, wl as refuseDivergentRecordRegionForDestroy, wn as loadJournaledOrphans, wo as customResourcesFailedWithoutApp, wr as recordAfterRollbackUpdate, ws as refStateLookupFromResource, wu as listNestedTemplateRows, x as childTemplateLoader, xa as PRE_DELETE_SNAPSHOT_TYPES, xd as renderAssemblyPathEscape, xi as exportAliasCollisionScrubWarning, xl as refuseMalformedOutputsForDestroy, xn as dropFailedHint, xo as withPrintingSecrets, xr as earlyDeleteWhen, xs as AWS_NO_VALUE, y as parentSuppliedValues, ya as extractDeploymentEventError, yd as displayAssemblyPath, yi as WITHHELD_NAME_DISPLAY, yn as deleteJournaledOrphans, yo as isCustomResourceType$1, yr as DELETED_RESOURCE_REMEDY, ys as isUnboundTemplateParameter, yu as isSensitiveAttributeName, za as revertStackRecordsView, zc as isReadableResourceEntry, zi as isSupersededResourceRecord, zl as hasReadableOutputs, zn as findDestructiveChanges, zo as getReadOnlyPropertyPaths, zs as carriesFetchableDynamicReference } from "./deploy-engine-9rzhYsZc.js";
|
|
10
10
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix, t as PARTITION_TABLE } from "./aws-partition-DA0r2sr-.js";
|
|
11
|
-
import { C as prefetchCreateOnlyPropertyPaths, E as describeTypeWithThrottleRetry, J as parseFailureDebugDetail, K as describeJsonParseFailure, U as renderPhaseTimings, W as timePhase, X as utf8ByteLength, j as withRetry, l as setResolvedResourceTimeouts, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, z as PhaseClock } from "./ec2-termination-protection-
|
|
12
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
13
|
-
import { Bt as
|
|
14
|
-
import { An as recordNoEchoAttributeValues, Bt as identityKeyFor, D as recordedNoEchoValuesOf, Fn as WHOLE_DYNAMIC_REFERENCE_PATTERN, Ft as keepTemplateLiteralLeaves, Ln as isSingleDynamicReferenceToken, Lt as spelledKeysOf, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, On as recordMaskOnlyValue, Ot as scrubResourceRecord, Pt as isUncertifiedBaselineMaskPosition, Rt as pathCrossesDottedKey, T as readsNoEchoSource, Tn as provenPublicValue, W as redactForState, Yt as inheritNestedStackParameterAssociations, _t as maskSecretsInText, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, ct as recordLogOnlyParameterValue, dt as shareLogOnlyValues, et as carryLogOnlyValues, f as isMarkedCoordinate, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gt as maskSecretsInError, h as maskWholeValue, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as recordNoEchoParameterFreshValue, k as valueAtCoordinate, kn as recordMaskOnlyValuesIn, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, sn as physicalNameCopiesOf, st as printingCorpusOf, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, y as noEchoLeavesOf } from "./replacement-rules-
|
|
15
|
-
import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-
|
|
16
|
-
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-
|
|
11
|
+
import { C as prefetchCreateOnlyPropertyPaths, E as describeTypeWithThrottleRetry, J as parseFailureDebugDetail, K as describeJsonParseFailure, U as renderPhaseTimings, W as timePhase, X as utf8ByteLength, j as withRetry, l as setResolvedResourceTimeouts, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, z as PhaseClock } from "./ec2-termination-protection-Dttj-XrE.js";
|
|
12
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-DWEAlmAk.js";
|
|
13
|
+
import { Bt as describeRegionValueKind, Gt as isReadableBag, Ht as hasReadableExportSet, Jt as shouldRetainResource, Kt as orphansAfterRollback, Tt as differingIdentityWarning, Ut as importableOutputKeys, Vt as exportNamesCarriedFrom, Wt as importableOutputs, Xt as stackInstanceIdCarriedFrom, kt as slowCcOperationTimeoutMs, qt as orphansCarriedFrom, zt as acceptedCreateOnlyDropsOf } from "./delete-started-DHQvQxWa.js";
|
|
14
|
+
import { An as recordNoEchoAttributeValues, Bt as identityKeyFor, D as recordedNoEchoValuesOf, Fn as WHOLE_DYNAMIC_REFERENCE_PATTERN, Ft as keepTemplateLiteralLeaves, Ln as isSingleDynamicReferenceToken, Lt as spelledKeysOf, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, On as recordMaskOnlyValue, Ot as scrubResourceRecord, Pt as isUncertifiedBaselineMaskPosition, Rt as pathCrossesDottedKey, T as readsNoEchoSource, Tn as provenPublicValue, W as redactForState, Yt as inheritNestedStackParameterAssociations, _t as maskSecretsInText, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, ct as recordLogOnlyParameterValue, dt as shareLogOnlyValues, et as carryLogOnlyValues, f as isMarkedCoordinate, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gt as maskSecretsInError, h as maskWholeValue, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as recordNoEchoParameterFreshValue, k as valueAtCoordinate, kn as recordMaskOnlyValuesIn, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, sn as physicalNameCopiesOf, st as printingCorpusOf, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, y as noEchoLeavesOf } from "./replacement-rules-TNt9wPax.js";
|
|
15
|
+
import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-jCM5yJzQ.js";
|
|
16
|
+
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-BYWBRpzv.js";
|
|
17
17
|
import { t as cdkdCacheHome } from "./cache-home-BVYKj3de.js";
|
|
18
18
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
19
19
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutBucketVersioningCommand, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -32,7 +32,7 @@ import { execFile } from "node:child_process";
|
|
|
32
32
|
import { devNull, tmpdir } from "node:os";
|
|
33
33
|
import { BatchDeleteImageCommand, DeleteRepositoryCommand, DescribeImagesCommand as DescribeImagesCommand$1, ECRClient, GetAuthorizationTokenCommand } from "@aws-sdk/client-ecr";
|
|
34
34
|
import { CreateAliasCommand, CreateKeyCommand, DescribeKeyCommand, KMSClient, ScheduleKeyDeletionCommand } from "@aws-sdk/client-kms";
|
|
35
|
-
import { A2A_CONTAINER_PORT, A2A_PATH, AGENTCORE_A2A_PROTOCOL, AGENTCORE_AGUI_PROTOCOL, AGENTCORE_MCP_PROTOCOL, ConnectionRegistry, DEFAULT_AWS_EMULATOR_URL, DynamicReferenceResolver, EMULATOR_SCRUBBED_ENV_KEYS, EcsTaskResolutionError, MCP_CONTAINER_PORT, MCP_PATH, UNNAMED_WORKLOAD, a2aInvokeOnce, addAlbSpecificOptions, addAwsEndpointOptions, addCommonEcsServiceOptions, addImageOverrideOptions, addStartServiceSpecificOptions, albStrategy, applyWorkloadAwsWiringToEnv, attachAuthorizers, attachStageContext, availableApiIdentifiers, awaitLoopbackForwarderStatus, awsEmulatorEnvName, awsEmulatorRealServices, awsEmulatorSqsHostBlocks, bufferToBody, buildAgentCoreCodeImage, buildCognitoJwksUrl, buildConnectEvent, buildCorsConfigByApiId, buildCorsConfigFromCloudFrontChain, buildDisconnectEvent, buildJwksUrlFromIssuer, buildMessageEvent, buildMgmtEndpointEnvUrl, buildNamespaceOwnerForwarderDockerArgs, buildStageMap, canonicalizeImageOverrideKeys, classifySourceChange, containsCrossStackIntrinsic, containsDynamicReference, createAuthorizerCache, createFileWatcher, createFileWatcher as createFileWatcher$1, createJwksCache, createMixedModeStateProvider, createWatchPredicates, defaultCredentialsLoader, describeAwsFailureForWarn, describeForwarderFailure, discoverRoutes, discoverWebSocketApis, dockerRegistryEnv, downloadAndExtractS3Bundle, effectiveLoopbackPorts, enforceImageOverrideOrphans, expandNestedStacks, filterRoutesByApiIdentifier, firstUsableRegion, getActiveWorkloadAwsWiring, getAwsEndpointOverride, groupRoutesByServer, groupWorkloadsRoutedApart, handleConnectionsRequest, invokeAgentCore, invokeAgentCoreWs, isAwsServiceRoutedToEmulator, keysNotFromTemplate, keysOverriddenBy, logMixedModeForWorkload, loopbackForwarderPlan, mcpInvokeOnce, noImplicitEcrPullArgs, parseAwsEndpoint, parseConnectionsPath, parseImageOverrideFlags, parseSelectionExpressionPath, pickAgentCoreCandidateStack, pickAgentCoreCandidateStack as pickAgentCoreCandidateStack$1, readAwsEmulatorEnvVarsFile, readEmulatorRunFiles, readEnvVarsFileText, readMtlsMaterialsFromDisk, realAwsServicesOf, resolveAgentCoreTarget, resolveAwsEmulatorOption, resolveDynamicReferencesInEnv, resolveEnvVars, resolveHostDefaultCredentials, resolveImageOverrides, resolveJwtAuthorizerIntrinsics, resolveSingleTarget, resolveWatchConfig, resolveWorkloadAwsWiring, runEcsServiceEmulator, runImageOverrideBuilds, setActiveWorkloadAwsWiring, setAwsEndpointOverride, signAgentCoreInvocation, startApiServer, topLevelStacks, verifyJwtViaDiscovery, waitForAgentCorePing, withNestedDescendants, withoutKeys } from "cdk-local/internal";
|
|
35
|
+
import { A2A_CONTAINER_PORT, A2A_PATH, AGENTCORE_A2A_PROTOCOL, AGENTCORE_AGUI_PROTOCOL, AGENTCORE_MCP_PROTOCOL, ConnectionRegistry, DEFAULT_AWS_EMULATOR_URL, DynamicReferenceResolver, EMULATOR_SCRUBBED_ENV_KEYS, EcsTaskResolutionError, MCP_CONTAINER_PORT, MCP_PATH, UNNAMED_WORKLOAD, a2aInvokeOnce, addAlbSpecificOptions, addAwsEndpointOptions, addCommonEcsServiceOptions, addImageOverrideOptions, addStartServiceSpecificOptions, albStrategy, applyWorkloadAwsWiringToEnv, attachAuthorizers, attachStageContext, availableApiIdentifiers, awaitLoopbackForwarderStatus, awsEmulatorEnvName, awsEmulatorRealServices, awsEmulatorSqsHostBlocks, bufferToBody, buildAgentCoreCodeImage, buildCognitoJwksUrl, buildConnectEvent, buildCorsConfigByApiId, buildCorsConfigFromCloudFrontChain, buildDisconnectEvent, buildJwksUrlFromIssuer, buildMessageEvent, buildMgmtEndpointEnvUrl, buildNamespaceOwnerForwarderDockerArgs, buildStageMap, canonicalizeImageOverrideKeys, classifySourceChange, containsCrossStackIntrinsic, containsDynamicReference, createAuthorizerCache, createFileWatcher, createFileWatcher as createFileWatcher$1, createJwksCache, createMixedModeStateProvider, createWatchPredicates, defaultCredentialsLoader, describeAwsFailureForWarn, describeForwarderFailure, discoverRoutes, discoverWebSocketApis, dockerRegistryEnv, downloadAndExtractS3Bundle, effectiveLoopbackPorts, enforceImageOverrideOrphans, expandNestedStacks, filterRoutesByApiIdentifier, firstUsableRegion, getActiveWorkloadAwsWiring, getAwsEndpointOverride, groupRoutesByServer, groupWorkloadsRoutedApart, handleConnectionsRequest, invokeAgentCore, invokeAgentCoreWs, isAwsServiceRoutedToEmulator, keysNotFromTemplate, keysOverriddenBy, logMixedModeForWorkload, loopbackForwarderPlan, mcpInvokeOnce, noImplicitEcrPullArgs, parseAwsEndpoint, parseConnectionsPath, parseImageOverrideFlags, parseSelectionExpressionPath, pickAgentCoreCandidateStack, pickAgentCoreCandidateStack as pickAgentCoreCandidateStack$1, readAwsEmulatorEnvVarsFile, readEmulatorRunFiles, readEnvVarsFileText, readMtlsMaterialsFromDisk, realAwsServicesOf, resolveAgentCoreTarget, resolveAwsEmulatorOption, resolveDynamicReferencesInEnv, resolveEnvVars, resolveHostDefaultCredentials, resolveImageOverrides, resolveJwtAuthorizerIntrinsics, resolveSingleTarget, resolveWatchConfig, resolveWorkloadAwsWiring, runEcsServiceEmulator, runImageOverrideBuilds, setActiveWorkloadAwsWiring, setAwsEndpointOverride, signAgentCoreInvocation, startApiServer, topLevelStacks, verifyJwtViaDiscovery, waitForAgentCorePing, warnUnenforcedRouteAuthSettings, withNestedDescendants, withoutKeys } from "cdk-local/internal";
|
|
36
36
|
import { isDeepStrictEqual, promisify } from "node:util";
|
|
37
37
|
import graphlib from "graphlib";
|
|
38
38
|
import { Command, InvalidArgumentError, Option } from "commander";
|
|
@@ -1541,7 +1541,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
1541
1541
|
// src/provisioning/register-providers.ts
|
|
1542
1542
|
let providerClasses;
|
|
1543
1543
|
function loadProviderClasses() {
|
|
1544
|
-
providerClasses ??= import("./provider-classes-
|
|
1544
|
+
providerClasses ??= import("./provider-classes-Bmipcl6d.js");
|
|
1545
1545
|
return providerClasses;
|
|
1546
1546
|
}
|
|
1547
1547
|
function registerAllProviders(registry, classes) {
|
|
@@ -2725,7 +2725,7 @@ async function probeStatefulRecreateTargetsAsync(targets, clients, logger = getL
|
|
|
2725
2725
|
statefulReason: "has-objects"
|
|
2726
2726
|
});
|
|
2727
2727
|
else if (truncated) {
|
|
2728
|
-
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: S3 answered the emptiness probe for ${target.logicalId} (bucket ${target.physicalId}) without settling it (an empty page carrying a continuation marker); treating the bucket as NOT provably empty. Re-run to retry the probe, or — only if the bucket really is disposable — re-run with --force-stateful-recreation (that flag has NO per-resource granularity and clears the guard for every target in the run).`);
|
|
2728
|
+
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: S3 answered the emptiness probe for ${target.logicalId} (bucket ${displayPhysicalId(target.resourceType, target.physicalId)}) without settling it (an empty page carrying a continuation marker); treating the bucket as NOT provably empty. Re-run to retry the probe, or — only if the bucket really is disposable — re-run with --force-stateful-recreation (that flag has NO per-resource granularity and clears the guard for every target in the run).`);
|
|
2729
2729
|
promoted.push({
|
|
2730
2730
|
...target,
|
|
2731
2731
|
statefulReason: "has-objects"
|
|
@@ -2736,7 +2736,7 @@ async function probeStatefulRecreateTargetsAsync(targets, clients, logger = getL
|
|
|
2736
2736
|
promoted.push({ ...target });
|
|
2737
2737
|
continue;
|
|
2738
2738
|
}
|
|
2739
|
-
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: live S3 probe failed for ${target.logicalId} (bucket ${target.physicalId}); leaving stateful guard at the sync result. If the bucket might be non-empty, re-run with --force-stateful-recreation. Underlying error: ${describeAwsFailure(e).detail}`);
|
|
2739
|
+
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: live S3 probe failed for ${target.logicalId} (bucket ${displayPhysicalId(target.resourceType, target.physicalId)}); leaving stateful guard at the sync result. If the bucket might be non-empty, re-run with --force-stateful-recreation. Underlying error: ${describeAwsFailure(e).detail}`);
|
|
2740
2740
|
promoted.push({
|
|
2741
2741
|
...target,
|
|
2742
2742
|
probeUnresolved: true
|
|
@@ -2757,7 +2757,7 @@ async function probeStatefulRecreateTargetsAsync(targets, clients, logger = getL
|
|
|
2757
2757
|
statefulReason: "has-log-events"
|
|
2758
2758
|
});
|
|
2759
2759
|
else {
|
|
2760
|
-
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: CloudWatch Logs answered the emptiness probe for ${target.logicalId} (log group ${target.physicalId}) without settling it (${streams === void 0 ? "no logStreams field in the response" : "an empty page carrying a continuation token"}); treating the log group as NOT provably empty. An unset or zero RetentionInDays is CloudWatch Logs' "never expire", so an unprovable emptiness must not read as empty. Re-run to retry the probe, or — only if the log group really is disposable — re-run with --force-stateful-recreation (that flag has NO per-resource granularity and clears the guard for every target in the run).`);
|
|
2760
|
+
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: CloudWatch Logs answered the emptiness probe for ${target.logicalId} (log group ${displayPhysicalId(target.resourceType, target.physicalId)}) without settling it (${streams === void 0 ? "no logStreams field in the response" : "an empty page carrying a continuation token"}); treating the log group as NOT provably empty. An unset or zero RetentionInDays is CloudWatch Logs' "never expire", so an unprovable emptiness must not read as empty. Re-run to retry the probe, or — only if the log group really is disposable — re-run with --force-stateful-recreation (that flag has NO per-resource granularity and clears the guard for every target in the run).`);
|
|
2761
2761
|
promoted.push({
|
|
2762
2762
|
...target,
|
|
2763
2763
|
statefulReason: "has-log-events"
|
|
@@ -2768,7 +2768,7 @@ async function probeStatefulRecreateTargetsAsync(targets, clients, logger = getL
|
|
|
2768
2768
|
let regionVerified = true;
|
|
2769
2769
|
if (clients.expectedRegionDiverged) {
|
|
2770
2770
|
regionVerified = false;
|
|
2771
|
-
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: CloudWatch Logs reported ${target.logicalId} (log group ${target.physicalId}) missing, but this stack's state record names a region that is not the one its S3 key holds, so cdkd cannot attribute that not-found to any region — run ${proseQuoted(cdkdRemedy("cdkd state show"))} with --verbose to see what the record claims, and repair it. Re-run with --force-stateful-recreation if the log group really is disposable (that flag clears the data guard for every target in the run). Until then it is treated as NOT provably empty.`);
|
|
2771
|
+
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: CloudWatch Logs reported ${target.logicalId} (log group ${displayPhysicalId(target.resourceType, target.physicalId)}) missing, but this stack's state record names a region that is not the one its S3 key holds, so cdkd cannot attribute that not-found to any region — run ${proseQuoted(cdkdRemedy("cdkd state show"))} with --verbose to see what the record claims, and repair it. Re-run with --force-stateful-recreation if the log group really is disposable (that flag clears the data guard for every target in the run). Until then it is treated as NOT provably empty.`);
|
|
2772
2772
|
}
|
|
2773
2773
|
const recordedRegion = clients.expectedRegionDiverged ? void 0 : foldRegion(clients.expectedRegion);
|
|
2774
2774
|
if (recordedRegion) {
|
|
@@ -2779,11 +2779,11 @@ async function probeStatefulRecreateTargetsAsync(targets, clients, logger = getL
|
|
|
2779
2779
|
} catch {
|
|
2780
2780
|
regionVerified = false;
|
|
2781
2781
|
const cause = clientRegion ? `the client region (${clientRegion}) does not match the region cdkd state records for it (${recordedRegion}) — a not-found from the wrong region says nothing about the log group. Fix the region mismatch, or` : `the CloudWatch Logs client's own region could not be resolved, so the not-found cannot be attributed to the region cdkd state records (${recordedRegion}). Fix the client's region configuration, or`;
|
|
2782
|
-
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: CloudWatch Logs reported ${target.logicalId} (log group ${target.physicalId}) missing, but ${cause} re-run with --force-stateful-recreation if the log group really is disposable (that flag clears the data guard for every target in the run). Until then it is treated as NOT provably empty.`);
|
|
2782
|
+
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: CloudWatch Logs reported ${target.logicalId} (log group ${displayPhysicalId(target.resourceType, target.physicalId)}) missing, but ${cause} re-run with --force-stateful-recreation if the log group really is disposable (that flag clears the data guard for every target in the run). Until then it is treated as NOT provably empty.`);
|
|
2783
2783
|
}
|
|
2784
2784
|
}
|
|
2785
2785
|
if (regionVerified) {
|
|
2786
|
-
logger.debug(`--recreate-via-cc-api / --recreate-via-sdk-provider: log group ${target.physicalId} (${target.logicalId}) does not exist, so it holds no events — not stateful.`);
|
|
2786
|
+
logger.debug(`--recreate-via-cc-api / --recreate-via-sdk-provider: log group ${displayPhysicalId(target.resourceType, target.physicalId)} (${target.logicalId}) does not exist, so it holds no events — not stateful.`);
|
|
2787
2787
|
promoted.push({ ...target });
|
|
2788
2788
|
continue;
|
|
2789
2789
|
}
|
|
@@ -2793,7 +2793,7 @@ async function probeStatefulRecreateTargetsAsync(targets, clients, logger = getL
|
|
|
2793
2793
|
});
|
|
2794
2794
|
continue;
|
|
2795
2795
|
}
|
|
2796
|
-
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: live CloudWatch Logs probe failed for ${target.logicalId} (log group ${target.physicalId}); treating the log group as NOT provably empty. An unset or zero RetentionInDays is CloudWatch Logs' "never expire", so an unprovable emptiness must not read as empty. Fixes, cheapest first: grant logs:DescribeLogStreams and re-run, or re-run as-is if this was transient (CloudWatch Logs throttles this API aggressively). Only if the log group really is disposable, re-run with --force-stateful-recreation — that flag has NO per-resource granularity and clears the guard for every target in the run. Underlying error: ${describeAwsFailure(e).detail}`);
|
|
2796
|
+
logger.warn(`--recreate-via-cc-api / --recreate-via-sdk-provider: live CloudWatch Logs probe failed for ${target.logicalId} (log group ${displayPhysicalId(target.resourceType, target.physicalId)}); treating the log group as NOT provably empty. An unset or zero RetentionInDays is CloudWatch Logs' "never expire", so an unprovable emptiness must not read as empty. Fixes, cheapest first: grant logs:DescribeLogStreams and re-run, or re-run as-is if this was transient (CloudWatch Logs throttles this API aggressively). Only if the log group really is disposable, re-run with --force-stateful-recreation — that flag has NO per-resource granularity and clears the guard for every target in the run. Underlying error: ${describeAwsFailure(e).detail}`);
|
|
2797
2797
|
promoted.push({
|
|
2798
2798
|
...target,
|
|
2799
2799
|
statefulReason: "has-log-events"
|
|
@@ -3026,7 +3026,7 @@ async function promptMigrationConfirm(renames, opts) {
|
|
|
3026
3026
|
const logger = getLogger();
|
|
3027
3027
|
logger.warn("");
|
|
3028
3028
|
logger.warn(`WARNING: --no-prefix-user-supplied-names will REPLACE ${renames.length} resource(s) whose AWS physical name is still prefixed with the stack name:`);
|
|
3029
|
-
for (const r of renames) logger.warn(` - ${r.logicalId} (${r.resourceType}): from ${r.oldPhysicalId} to ${r.newPhysicalId}`);
|
|
3029
|
+
for (const r of renames) logger.warn(` - ${r.logicalId} (${r.resourceType}): from ${displayPhysicalId(r.resourceType, r.oldPhysicalId)} to ${displayPhysicalId(r.resourceType, r.newPhysicalId)}`);
|
|
3030
3030
|
logger.warn("These resources will be REPLACED because the new naming convention drops the stack-name prefix.");
|
|
3031
3031
|
if (opts.yes) return true;
|
|
3032
3032
|
if (process.stdin.isTTY !== true) throw new Error("--no-prefix-user-supplied-names migration confirm prompt cannot run in a non-interactive environment. Pass --yes / -y to confirm the REPLACEMENT, or run the deploy from a real terminal.");
|
|
@@ -6290,12 +6290,13 @@ function diffTreeToJson(node) {
|
|
|
6290
6290
|
unreadable: node.unreadable,
|
|
6291
6291
|
unreadableContainers: node.unreadableContainers,
|
|
6292
6292
|
unreadableOrphans: node.unreadableOrphans,
|
|
6293
|
-
destructiveChanges: node.destructiveChanges.map(({ logicalId, resourceType, constructPath, impact, movedTo }) => ({
|
|
6293
|
+
destructiveChanges: node.destructiveChanges.map(({ logicalId, resourceType, constructPath, impact, movedTo, earlyDelete }) => ({
|
|
6294
6294
|
logicalId,
|
|
6295
6295
|
resourceType,
|
|
6296
6296
|
...constructPath !== void 0 && { constructPath },
|
|
6297
6297
|
impact,
|
|
6298
|
-
...movedTo !== void 0 && { movedTo }
|
|
6298
|
+
...movedTo !== void 0 && { movedTo },
|
|
6299
|
+
...earlyDelete !== void 0 && { earlyDelete }
|
|
6299
6300
|
})),
|
|
6300
6301
|
children: node.children.map(diffTreeToJson)
|
|
6301
6302
|
};
|
|
@@ -6372,7 +6373,10 @@ function renderChangeLines(changes, logFn, ccApiRoutes, adoptedOrphans, refactor
|
|
|
6372
6373
|
updateCount++;
|
|
6373
6374
|
logFn(` [~] ${logicalId} (${change.resourceType})${annotateAdoption(logicalId)}${annotateRouting(logicalId)}`);
|
|
6374
6375
|
if (change.providerReplacement === "issues a signal URL in place of the placeholder id an earlier cdkd recorded") logFn(` [new physical id: ${LEGACY_HANDLE_HEAL_REASON}]`);
|
|
6375
|
-
else if (change.providerReplacement !== void 0)
|
|
6376
|
+
else if (change.providerReplacement !== void 0) {
|
|
6377
|
+
const early = providerReplacementOldDeleted(change.resourceType);
|
|
6378
|
+
logFn(` [requires replacement: ${stripForDisplay(change.providerReplacement)}; deleted, then created again]` + (early !== void 0 ? ` — ${PLANNED_EARLY_DELETE_CONSEQUENCE}` : ""));
|
|
6379
|
+
}
|
|
6376
6380
|
if (change.propertyChanges && change.propertyChanges.length > 0) for (const propChange of change.propertyChanges) {
|
|
6377
6381
|
const requiresReplace = propChange.requiresReplacement && (propChange.inPlacePropagated === true || propChange.replacementPropagated === true) ? " [may require replacement]" : propChange.requiresReplacement ? " [requires replacement]" : "";
|
|
6378
6382
|
const propagated = propChange.replacementPropagated ? " [replacement propagated]" : propChange.readProvenancePromoted === true ? " [read value moved upstream]" : propChange.inPlacePropagated ? " [attribute propagated]" : propChange.maskedExpressionChanged === true ? " [masked input or expression changed]" : propChange.unsettled === true ? " [unsettled after a failed update; sent again]" : propChange.newValueKnownAfterDeploy === true ? " [reads a resource this deploy changes]" : "";
|
|
@@ -9651,7 +9655,7 @@ function outcomeExitSignal(outcome) {
|
|
|
9651
9655
|
drifted: () => "drifted",
|
|
9652
9656
|
notCompared: (n) => n.notComparedCause === "unresolvedToken" || n.notComparedCause === "noEchoParameter" ? "none" : "incomplete",
|
|
9653
9657
|
clean: () => "none",
|
|
9654
|
-
unsupported: () => "
|
|
9658
|
+
unsupported: () => "incomplete",
|
|
9655
9659
|
skipped: () => "none",
|
|
9656
9660
|
deleted: () => "drifted"
|
|
9657
9661
|
});
|
|
@@ -9677,6 +9681,10 @@ const UNCOMPARED_REASONS = {
|
|
|
9677
9681
|
kind: "unknown",
|
|
9678
9682
|
phrase: "not compared AT ALL: a `cdkd import` run refused to capture their observed baseline"
|
|
9679
9683
|
},
|
|
9684
|
+
unsupported: {
|
|
9685
|
+
kind: "unknown",
|
|
9686
|
+
phrase: "not compared AT ALL: their provider does not support drift detection yet"
|
|
9687
|
+
},
|
|
9680
9688
|
refused: {
|
|
9681
9689
|
kind: "unknown",
|
|
9682
9690
|
phrase: "only PARTIALLY compared: cdkd refused to resolve a dynamic reference their state records"
|
|
@@ -9693,10 +9701,6 @@ const UNCOMPARED_REASONS = {
|
|
|
9693
9701
|
kind: "unknown",
|
|
9694
9702
|
phrase: "only PARTIALLY compared: their state holds a NoEcho parameter value only as the redaction mask, which no re-run can clear"
|
|
9695
9703
|
},
|
|
9696
|
-
unsupported: {
|
|
9697
|
-
kind: "byDesign",
|
|
9698
|
-
phrase: "not compared AT ALL: their provider does not support drift detection yet"
|
|
9699
|
-
},
|
|
9700
9704
|
skipped: {
|
|
9701
9705
|
kind: "byDesign",
|
|
9702
9706
|
phrase: "not compared AT ALL: cdkd does not drift-check the type"
|
|
@@ -9729,7 +9733,9 @@ function uncomparedTally(reports) {
|
|
|
9729
9733
|
clean: () => {},
|
|
9730
9734
|
notCompared: () => {},
|
|
9731
9735
|
unsupported: () => bump("unsupported"),
|
|
9732
|
-
skipped: () =>
|
|
9736
|
+
skipped: (sk) => {
|
|
9737
|
+
if (sk.resourceType !== "AWS::CloudFormation::Stack") bump("skipped");
|
|
9738
|
+
},
|
|
9733
9739
|
deleted: () => {}
|
|
9734
9740
|
});
|
|
9735
9741
|
}
|
|
@@ -11575,11 +11581,14 @@ function writeHumanReport(reports) {
|
|
|
11575
11581
|
const inspected = inspectedCount;
|
|
11576
11582
|
const notCompared = notComparedOutcomes(report);
|
|
11577
11583
|
const checked = inspected - notCompared.length;
|
|
11584
|
+
const customExcluded = skippedCount - nestedCoveredCount;
|
|
11585
|
+
const customExcludedClause = customExcluded > 0 ? ` — excludes ${customExcluded} custom resource${customExcluded === 1 ? "" : "s"}, which cdkd does not drift-check` : "";
|
|
11578
11586
|
if (drifted.length === 0 && deleted.length === 0) {
|
|
11579
11587
|
if (notCompared.length === 0 && nestedCoveredCount > 0 && nestedCoveredCount === report.outcomes.length) process.stdout.write(`✓ ${reportHeading(report)}: no drift detected here — ${nestedCoveredCount} nested stack${nestedCoveredCount === 1 ? "" : "s"}, each checked in its own block\n`);
|
|
11580
11588
|
else if (notCompared.length === 0 && checked === 0 && report.outcomes.length > 0) process.stdout.write(`⚠ ${reportHeading(report)}: no drift detected, but NOTHING was compared — 0 of ${report.outcomes.length} resource${report.outcomes.length === 1 ? "" : "s"} checked (${unsupported.length} unsupported, ${skippedCount} skipped)\n`);
|
|
11581
|
-
else if (notCompared.length > 0) process.stdout.write(`⚠ ${reportHeading(report)}: no drift detected, but ${checked} of ${inspected} resource${inspected === 1 ? "" : "s"} fully checked ` + (notCompared.some((n) => !ANY_OF_IT_COMPARED[n.cause]) ? `(${notCompared.length} not fully compared), ` : `(${notCompared.length} only partially compared), `) + `${unsupported.length} unsupported\n`);
|
|
11582
|
-
else process.stdout.write(
|
|
11589
|
+
else if (notCompared.length > 0) process.stdout.write(`⚠ ${reportHeading(report)}: no drift detected, but ${checked} of ${inspected} resource${inspected === 1 ? "" : "s"} fully checked ` + (notCompared.some((n) => !ANY_OF_IT_COMPARED[n.cause]) ? `(${notCompared.length} not fully compared), ` : `(${notCompared.length} only partially compared), `) + `${unsupported.length} unsupported${customExcludedClause}\n`);
|
|
11590
|
+
else if (unsupported.length > 0) process.stdout.write(`⚠ ${reportHeading(report)}: no drift detected in ${checked} resource${checked === 1 ? "" : "s"} checked, but ${unsupported.length} resource${unsupported.length === 1 ? "" : "s"} could not be compared (${unsupported.length} unsupported, drift unknown)${customExcludedClause}\n`);
|
|
11591
|
+
else process.stdout.write(`✓ ${reportHeading(report)}: no drift detected (${checked} resource${checked === 1 ? "" : "s"} checked, ${unsupported.length} unsupported)${customExcludedClause}\n`);
|
|
11583
11592
|
} else {
|
|
11584
11593
|
const driftCount = drifted.length + deleted.length;
|
|
11585
11594
|
const word = driftCount === 1 ? "resource" : "resources";
|
|
@@ -13515,7 +13524,10 @@ function refuseCcGroupRevertChangingRules(logicalId, groupId, resourceType, prop
|
|
|
13515
13524
|
}
|
|
13516
13525
|
|
|
13517
13526
|
// src/cli/commands/drift/revert-apply.ts
|
|
13518
|
-
|
|
13527
|
+
function applyRevertUpdate(args) {
|
|
13528
|
+
return withStackRecords(revertStackRecordsView(args.report.state.resources), () => applyRevertUpdateInScope(args));
|
|
13529
|
+
}
|
|
13530
|
+
async function applyRevertUpdateInScope(args) {
|
|
13519
13531
|
const { logger, tally, report, narrowedByLogicalId, settledByRevert, outcome, stateResource, provider, secrets, revertBaseline, newProperties } = args;
|
|
13520
13532
|
try {
|
|
13521
13533
|
const revertPrevious = await settleUnsettledPrevious({
|
|
@@ -13541,7 +13553,7 @@ async function applyRevertUpdate(args) {
|
|
|
13541
13553
|
recordedCreateOnlyDrops: stateResource.acceptedCreateOnlyDrops,
|
|
13542
13554
|
removedProperties: /* @__PURE__ */ new Set()
|
|
13543
13555
|
}), outcome.logicalId, { logger: maskingRetryLogger(logger, secrets) });
|
|
13544
|
-
const replacedBy = revertReplacementOf(stateResource.physicalId, updateResult);
|
|
13556
|
+
const replacedBy = revertReplacementOf(stateResource.physicalId, updateResult, stateResource.resourceType);
|
|
13545
13557
|
if (replacedBy !== void 0) {
|
|
13546
13558
|
tally.totalFailed++;
|
|
13547
13559
|
logger.error(safeMsg` ✗ ${report.stackName}/${outcome.logicalId} (${outcome.resourceType}): the provider REPLACED the resource or changed its identity instead of reverting it in place (${maskSecretsInText(replacedBy, secrets)}). A drift revert must never replace a resource — this is a cdkd bug, please report it. State records the identity the provider returned for a replacement, so it is not orphaned; check its consumers.`);
|
|
@@ -13590,10 +13602,12 @@ async function applyRevertUpdate(args) {
|
|
|
13590
13602
|
logger.error(` ✗ ${report.stackName}/${outcome.logicalId} (${outcome.resourceType}): AWS update failed — ${msg}`);
|
|
13591
13603
|
}
|
|
13592
13604
|
}
|
|
13593
|
-
function revertReplacementOf(recordedPhysicalId, updateResult) {
|
|
13605
|
+
function revertReplacementOf(recordedPhysicalId, updateResult, resourceType) {
|
|
13594
13606
|
if (updateResult === void 0) return void 0;
|
|
13595
|
-
|
|
13596
|
-
|
|
13607
|
+
const idChanged = typeof updateResult.physicalId === "string" && updateResult.physicalId !== "" && updateResult.physicalId !== recordedPhysicalId;
|
|
13608
|
+
const recordedShown = displayPhysicalId(resourceType, recordedPhysicalId);
|
|
13609
|
+
if (idChanged) return `physical id ${recordedShown} became ${displayPhysicalId(resourceType, updateResult.physicalId)}`;
|
|
13610
|
+
return updateResult.wasReplaced === true ? `reported a replacement under the same physical id ${recordedShown}` : void 0;
|
|
13597
13611
|
}
|
|
13598
13612
|
function recordReturnedIdentity(args, updateResult, verdict) {
|
|
13599
13613
|
const { logger, report, reRecordedByLogicalId, outcome, stateResource, secrets, newProperties } = args;
|
|
@@ -14450,7 +14464,7 @@ async function announceOrphansAndConfirm({ state, logger, stackNoEchoValues, jou
|
|
|
14450
14464
|
logger.info(`\n${orphansAtDestroy.length} resource(s) are still in AWS from an earlier failed deploy. cdkd left them there because their DeletionPolicy is Retain (CDK's RemovalPolicy.RETAIN), and has been tracking them so a later deploy of this stack could adopt them back instead of colliding with their names.`);
|
|
14451
14465
|
logger.info("Destroying this stack deletes that record. The resources stay in AWS, may continue to incur charges, and cdkd will no longer know about them:");
|
|
14452
14466
|
const orphanListing = orphanRecordsPrintingBag(orphansAtDestroy, await stackNoEchoValues());
|
|
14453
|
-
for (const entry of orphansAtDestroy) withPrintingSecrets(orphanListing, () => logger.info(` - ${displaySafe(entry.logicalId)} (${displaySafe(entry.state.resourceType)}) ${displaySafe(entry.state.physicalId)}`));
|
|
14467
|
+
for (const entry of orphansAtDestroy) withPrintingSecrets(orphanListing, () => logger.info(` - ${displaySafe(entry.logicalId)} (${displaySafe(entry.state.resourceType)}) ${displaySafe(displayPhysicalId(entry.state.resourceType, entry.state.physicalId))}`));
|
|
14454
14468
|
}
|
|
14455
14469
|
if (journaledOrphans.count > 0) {
|
|
14456
14470
|
logger.info(`\n${journaledOrphans.count} resource(s) were created by a failed deploy and are recorded only in the rollback journal. Each is deleted first as its DeletionPolicy directs (Retain keeps it in AWS, Snapshot takes the final snapshot), unless state or a later deploy may own it, which is warned about instead:`);
|
|
@@ -15323,8 +15337,9 @@ async function destroyStackUnderLock({ stackName, state, ctx, logger, result, re
|
|
|
15323
15337
|
if (holder.resourceType !== resourceType) withPrintingSecrets(bag, () => logger.warn(safeMsg` ⚠ ${supersededHeldByOtherTypeWarning(entry, holder.resourceType)}`));
|
|
15324
15338
|
return false;
|
|
15325
15339
|
}
|
|
15340
|
+
const shownId = displayPhysicalId(resourceType, physicalId);
|
|
15326
15341
|
return withPrintingSecrets(bag, async () => {
|
|
15327
|
-
logger.info(safeMsg`Deleting ${logicalId}'s superseded ${resourceType} (${
|
|
15342
|
+
logger.info(safeMsg`Deleting ${logicalId}'s superseded ${resourceType} (${shownId})...`);
|
|
15328
15343
|
let outcome;
|
|
15329
15344
|
try {
|
|
15330
15345
|
outcome = await withStackRecords({
|
|
@@ -15362,13 +15377,13 @@ async function destroyStackUnderLock({ stackName, state, ctx, logger, result, re
|
|
|
15362
15377
|
if (outcome.kind === "gone" || outcome.kind === "notOurs") {
|
|
15363
15378
|
drop();
|
|
15364
15379
|
if (outcome.kind === "gone") logger.info(safeMsg` ✓ ${logicalId}'s superseded ${resourceType} is already gone`);
|
|
15365
|
-
else logger.warn(safeMsg` ⚠ ${logicalId}'s superseded ${resourceType} (${
|
|
15380
|
+
else logger.warn(safeMsg` ⚠ ${logicalId}'s superseded ${resourceType} (${shownId}) was not deleted: ${outcome.cause}. The replaced resource is gone, and cdkd no longer tracks it in state.`);
|
|
15366
15381
|
return false;
|
|
15367
15382
|
}
|
|
15368
15383
|
const replacement = outcome.kind === "failed" ? outcome.replacement : void 0;
|
|
15369
15384
|
if (replacement !== void 0) remainingSuperseded = (remainingSuperseded ?? []).map((row) => row === entry ? replacement : row);
|
|
15370
15385
|
if (early) {
|
|
15371
|
-
logger.info(safeMsg` ${logicalId}'s superseded ${resourceType} (${
|
|
15386
|
+
logger.info(safeMsg` ${logicalId}'s superseded ${resourceType} (${shownId}) was not deleted yet; retrying after the stack's own resources`);
|
|
15372
15387
|
return true;
|
|
15373
15388
|
}
|
|
15374
15389
|
const why = outcome.kind === "notDeleted" ? outcome.reason : maskSecretsInText(describeAwsFailure(outcome.error).detail, bag);
|
|
@@ -15376,11 +15391,11 @@ async function destroyStackUnderLock({ stackName, state, ctx, logger, result, re
|
|
|
15376
15391
|
drop();
|
|
15377
15392
|
result.skippedCount++;
|
|
15378
15393
|
result.journaledOrphanSkips++;
|
|
15379
|
-
logger.warn(safeMsg` ⚠ ${logicalId}'s superseded ${resourceType} (${
|
|
15394
|
+
logger.warn(safeMsg` ⚠ ${logicalId}'s superseded ${resourceType} (${shownId}) was not deleted: ${why}. ` + "Delete it manually — it is no longer tracked in state.");
|
|
15380
15395
|
return false;
|
|
15381
15396
|
}
|
|
15382
15397
|
result.errorCount++;
|
|
15383
|
-
logger.warn(safeMsg` ⚠ ${logicalId}'s superseded ${resourceType} (${
|
|
15398
|
+
logger.warn(safeMsg` ⚠ ${logicalId}'s superseded ${resourceType} (${shownId}) was not deleted: ${why}. ` + "State preserved: it stays recorded, and a re-run of the destroy retries it.");
|
|
15384
15399
|
return false;
|
|
15385
15400
|
});
|
|
15386
15401
|
};
|
|
@@ -17210,7 +17225,7 @@ async function printStackResources(stackName, options, setup) {
|
|
|
17210
17225
|
for (const detail of details) {
|
|
17211
17226
|
lines.push(stripForDisplay(detail.logicalId));
|
|
17212
17227
|
lines.push(` Type: ${formatAttributeValue(detail.resourceType)}`);
|
|
17213
|
-
lines.push(` PhysicalID: ${formatAttributeValue(detail.physicalId)}`);
|
|
17228
|
+
lines.push(` PhysicalID: ${formatAttributeValue(displayPhysicalId(detail.resourceType, detail.physicalId))}`);
|
|
17214
17229
|
lines.push(` Dependencies: ${formatDependencyList(detail.dependencies)}`);
|
|
17215
17230
|
const attrEntries = Object.entries(detail.attributes);
|
|
17216
17231
|
if (attrEntries.length === 0) lines.push(" Attributes: (none)");
|
|
@@ -17231,7 +17246,7 @@ async function printStackResources(stackName, options, setup) {
|
|
|
17231
17246
|
}));
|
|
17232
17247
|
const idWidth = Math.max(...rows.map((r) => r.logicalId.length));
|
|
17233
17248
|
const typeWidth = Math.max(...rows.map((r) => r.resourceType.length));
|
|
17234
|
-
for (const row of rows) process.stdout.write(`${row.logicalId.padEnd(idWidth)} ${row.resourceType.padEnd(typeWidth)} ${row.physicalId}\n`);
|
|
17249
|
+
for (const row of rows) process.stdout.write(`${row.logicalId.padEnd(idWidth)} ${row.resourceType.padEnd(typeWidth)} ${displayPhysicalId(row.resourceType, row.physicalId)}\n`);
|
|
17235
17250
|
}
|
|
17236
17251
|
function formatAttributeValue(value) {
|
|
17237
17252
|
if (value === null) return "null";
|
|
@@ -17930,12 +17945,12 @@ function restApiChildSplitter(options) {
|
|
|
17930
17945
|
return (physicalId, properties) => {
|
|
17931
17946
|
if (!physicalId.trim()) throw new Error(`empty physical id for ${resourceType} (expected a ${childField})`);
|
|
17932
17947
|
const parts = physicalId.split("|");
|
|
17933
|
-
if (parts.length > 2) throw new Error(`expected a bare ${childField} or '${compositeShape}', got ${parts.length} parts: ${showRecordValue(physicalId)}`);
|
|
17948
|
+
if (parts.length > 2) throw new Error(`expected a bare ${childField} or '${compositeShape}', got ${parts.length} parts: ${showRecordValue(displayPhysicalId(resourceType, physicalId))}`);
|
|
17934
17949
|
let restApiId;
|
|
17935
17950
|
let childValue;
|
|
17936
17951
|
if (parts.length === 2) {
|
|
17937
17952
|
const [a, b] = parts;
|
|
17938
|
-
if (!a || !b) throw new Error(`empty part in '${compositeShape}': ${showRecordValue(physicalId)}`);
|
|
17953
|
+
if (!a || !b) throw new Error(`empty part in '${compositeShape}': ${showRecordValue(displayPhysicalId(resourceType, physicalId))}`);
|
|
17939
17954
|
[restApiId, childValue] = childFirstInCompositeId ? [b, a] : [a, b];
|
|
17940
17955
|
} else {
|
|
17941
17956
|
restApiId = readStringProperty(properties, "RestApiId", resourceType);
|
|
@@ -18205,12 +18220,12 @@ const COMPOSITE_ID_SPLITTERS = {
|
|
|
18205
18220
|
propertiesOverlay: { ApiId: apiId }
|
|
18206
18221
|
};
|
|
18207
18222
|
}
|
|
18208
|
-
if (trimmed.startsWith("arn:")) throw new Error(`${showRecordValue(physicalId)} looks like an ARN but is not an AppSync API key ARN (expected arn:<partition>:appsync:<region>:<account>:apis/<apiId>/apikeys/<apiKeyId>)`);
|
|
18223
|
+
if (trimmed.startsWith("arn:")) throw new Error(`${showRecordValue(displayPhysicalId("AWS::AppSync::ApiKey", physicalId))} looks like an ARN but is not an AppSync API key ARN (expected arn:<partition>:appsync:<region>:<account>:apis/<apiId>/apikeys/<apiKeyId>)`);
|
|
18209
18224
|
const parts = trimmed.split("|");
|
|
18210
|
-
if (parts.length > 2) throw new Error(`expected 'apiId|apiKeyId', the key ARN, or a bare apiKeyId, got ${parts.length} parts: ${showRecordValue(physicalId)}`);
|
|
18225
|
+
if (parts.length > 2) throw new Error(`expected 'apiId|apiKeyId', the key ARN, or a bare apiKeyId, got ${parts.length} parts: ${showRecordValue(displayPhysicalId("AWS::AppSync::ApiKey", physicalId))}`);
|
|
18211
18226
|
if (parts.length === 2) {
|
|
18212
18227
|
const [apiId, apiKeyId] = parts;
|
|
18213
|
-
if (!apiId.trim() || !apiKeyId.trim()) throw new Error(`empty part in 'apiId|apiKeyId': ${showRecordValue(physicalId)}`);
|
|
18228
|
+
if (!apiId.trim() || !apiKeyId.trim()) throw new Error(`empty part in 'apiId|apiKeyId': ${showRecordValue(displayPhysicalId("AWS::AppSync::ApiKey", physicalId))}`);
|
|
18214
18229
|
return {
|
|
18215
18230
|
resourceIdentifier: {
|
|
18216
18231
|
ApiId: apiId,
|
|
@@ -18756,7 +18771,7 @@ function policyTemplateCheck(targets, templateProperties, recordedProperties, te
|
|
|
18756
18771
|
};
|
|
18757
18772
|
}
|
|
18758
18773
|
function preDeleteListingLines(entry) {
|
|
18759
|
-
const head = `${rowIdent(entry.logicalId)} (${rowIdent(entry.resourceType)}) — physicalId: ` + recordValueOrNotShown(entry.physicalId);
|
|
18774
|
+
const head = `${rowIdent(entry.logicalId)} (${rowIdent(entry.resourceType)}) — physicalId: ` + recordValueOrNotShown(displayPhysicalId(entry.resourceType, entry.physicalId));
|
|
18760
18775
|
if (entry.resourceType !== "AWS::IAM::Policy") return [head];
|
|
18761
18776
|
const targets = policyDetachTargets(entry);
|
|
18762
18777
|
if ("refusal" in targets) return [head, ` the pre-delete will refuse: ${targets.refusal}`];
|
|
@@ -19832,9 +19847,9 @@ async function runPerStackImportPhases(ctx) {
|
|
|
19832
19847
|
} catch (err) {
|
|
19833
19848
|
const msg = describeAwsFailure(err).detail;
|
|
19834
19849
|
const importedSummary = importedStacks.map((s) => `${quotedOrNotShown(s.cdkdStackName)} → ${quotedOrNotShown(s.cfnStackName)}`).join(", ");
|
|
19835
|
-
throw new Error(`Phase 1 (IMPORT) succeeded for cdkd stack ${quotedOrNotShown(plan.cdkdName)} (CFn name ${quotedOrNotShown(plan.cfnName)}); pre-delete of ${plainOrNotShown(entry.logicalId)} (${plainOrNotShown(entry.resourceType)}, physicalId: ${recordValueOrNotShown(entry.physicalId)}) failed: ${displayAwsMessage(msg)}\n\nStacks IMPORTed so far (each CFn-managed): ${importedSummary}. cdkd state for every stack in the tree is preserved. This stack's IMPORT-unsupported resources may still exist in AWS unmanaged. To recover: fix the failure cause, delete the remaining pre-delete resources of this stack by hand:\n` + preDeleteManualCommands(plan.recreateBeforePhase2).map((line) => ` ${line}\n`).join("") + `then run the phase-2 UPDATE for ${quotedOrNotShown(plan.cfnName)} by hand with its full synth template. ` + nestedResumeTail(i, "phase2"), { cause: err instanceof Error ? err : void 0 });
|
|
19850
|
+
throw new Error(`Phase 1 (IMPORT) succeeded for cdkd stack ${quotedOrNotShown(plan.cdkdName)} (CFn name ${quotedOrNotShown(plan.cfnName)}); pre-delete of ${plainOrNotShown(entry.logicalId)} (${plainOrNotShown(entry.resourceType)}, physicalId: ${recordValueOrNotShown(displayPhysicalId(entry.resourceType, entry.physicalId))}) failed: ${displayAwsMessage(msg)}\n\nStacks IMPORTed so far (each CFn-managed): ${importedSummary}. cdkd state for every stack in the tree is preserved. This stack's IMPORT-unsupported resources may still exist in AWS unmanaged. To recover: fix the failure cause, delete the remaining pre-delete resources of this stack by hand:\n` + preDeleteManualCommands(plan.recreateBeforePhase2).map((line) => ` ${line}\n`).join("") + `then run the phase-2 UPDATE for ${quotedOrNotShown(plan.cfnName)} by hand with its full synth template. ` + nestedResumeTail(i, "phase2"), { cause: err instanceof Error ? err : void 0 });
|
|
19836
19851
|
}
|
|
19837
|
-
logger.info(` ${preDeletedLine(entry.physicalId)}`);
|
|
19852
|
+
logger.info(` ${preDeletedLine(displayPhysicalId(entry.resourceType, entry.physicalId))}`);
|
|
19838
19853
|
}
|
|
19839
19854
|
if (plan.phase2Creates.length + plan.recreateBeforePhase2.length > 0) {
|
|
19840
19855
|
const phase2Template = applyImportOverlayForPhase2(plan.template, plan.phase1Imports);
|
|
@@ -20355,11 +20370,11 @@ async function exportCommand(stackArg, options) {
|
|
|
20355
20370
|
logger.info(`Pre-deleting AWS resource for ${rowIdent(entry.logicalId)} (${rowIdent(entry.resourceType)}) so CFn can re-CREATE in phase 2...`);
|
|
20356
20371
|
try {
|
|
20357
20372
|
await handler(entry);
|
|
20358
|
-
logger.info(` ${preDeletedLine(entry.physicalId)}`);
|
|
20373
|
+
logger.info(` ${preDeletedLine(displayPhysicalId(entry.resourceType, entry.physicalId))}`);
|
|
20359
20374
|
} catch (err) {
|
|
20360
20375
|
const msg = describeAwsFailure(err).detail;
|
|
20361
20376
|
const orphan = orphanCommandFor(resolvedStackName, targetRegion, lockRecovery);
|
|
20362
|
-
throw new Error(`Phase 1 (IMPORT) succeeded; pre-delete of ${plainOrNotShown(entry.logicalId)} (${plainOrNotShown(entry.resourceType)}, physicalId: ${recordValueOrNotShown(entry.physicalId)}) failed: ${displayAwsMessage(msg)}\n\nThe CloudFormation stack ${quotedOrNotShown(cfnStackName)} contains the phase-1 imports but the IMPORT-unsupported resources (${recreateBeforePhase2.length} total) still exist in AWS unmanaged. cdkd state is UNCHANGED. Re-running \`cdkd export\` does NOT work — the existing-stack check rejects it. To recover manually:\n 1. Fix the failure cause (typically IAM permissions for the underlying AWS API — iam:Delete{Role,User,Group}Policy for an inline policy).\n 2. Delete the remaining AWS-side IMPORT-unsupported resources by hand:\n` + preDeleteManualCommands(recreateBeforePhase2).map((line) => ` ${line}\n`).join("") + ` (one per entry in the pre-delete list logged above).
|
|
20377
|
+
throw new Error(`Phase 1 (IMPORT) succeeded; pre-delete of ${plainOrNotShown(entry.logicalId)} (${plainOrNotShown(entry.resourceType)}, physicalId: ${recordValueOrNotShown(displayPhysicalId(entry.resourceType, entry.physicalId))}) failed: ${displayAwsMessage(msg)}\n\nThe CloudFormation stack ${quotedOrNotShown(cfnStackName)} contains the phase-1 imports but the IMPORT-unsupported resources (${recreateBeforePhase2.length} total) still exist in AWS unmanaged. cdkd state is UNCHANGED. Re-running \`cdkd export\` does NOT work — the existing-stack check rejects it. To recover manually:\n 1. Fix the failure cause (typically IAM permissions for the underlying AWS API — iam:Delete{Role,User,Group}Policy for an inline policy).\n 2. Delete the remaining AWS-side IMPORT-unsupported resources by hand:\n` + preDeleteManualCommands(recreateBeforePhase2).map((line) => ` ${line}\n`).join("") + ` (one per entry in the pre-delete list logged above).
|
|
20363
20378
|
3. Run the phase-2 UPDATE manually with the full synth template:
|
|
20364
20379
|
${phase2RetryCommand(cfnStackName)}\n 4. Once phase 2 succeeds, clean up cdkd's stale state record.${orphan.note}\n Run: ${orphan.command}`);
|
|
20365
20380
|
}
|
|
@@ -20492,7 +20507,7 @@ function renderStateBlock(recordState, lockInfo, withLegend, secretSegments) {
|
|
|
20492
20507
|
lines.push("");
|
|
20493
20508
|
lines.push(stripForDisplay(logicalId));
|
|
20494
20509
|
lines.push(` Type: ${formatAttributeValue(resource.resourceType)}`);
|
|
20495
|
-
lines.push(` PhysicalID: ${formatAttributeValue(resource.physicalId)}`);
|
|
20510
|
+
lines.push(` PhysicalID: ${formatAttributeValue(displayPhysicalId(resource.resourceType, resource.physicalId))}`);
|
|
20496
20511
|
const provisionedBy = resource.provisionedBy ?? "(sdk, legacy default)";
|
|
20497
20512
|
lines.push(` ProvisionedBy: ${formatAttributeValue(provisionedBy)}`);
|
|
20498
20513
|
if (resource.observedBaselineRefused === true) {
|
|
@@ -23035,7 +23050,7 @@ function failedActionLabel(item, skipFinalSnapshot) {
|
|
|
23035
23050
|
case "orphan-failed-create-retain": return ` - orphan ${safe(op.logicalId)} (${safe(op.resourceType)}) [FAILED create, DeletionPolicy Retain — left in AWS]`;
|
|
23036
23051
|
case "skip-failed-unknown": return ` - skip ${safe(op.logicalId)} (${safe(op.resourceType)}) — failed CREATE recorded no physical id`;
|
|
23037
23052
|
case "skip-failed-noop": return ` - skip ${safe(op.logicalId)} (${safe(op.resourceType)}) — failed ${safe(op.changeType)} left nothing to revert`;
|
|
23038
|
-
case "skip-failed-replaced-deleted": return ` - skip ${logicalIdShown(op.logicalId)} (${resourceTypeShown(op.resourceType)}) — failed replacement deleted the old resource ${displacedPhysicalIdShown(op, getLogger()) ?? "a physical id"} before its create failed; nothing to revert, state still records it`;
|
|
23053
|
+
case "skip-failed-replaced-deleted": return ` - skip ${logicalIdShown(op.logicalId)} (${resourceTypeShown(op.resourceType)}) — failed replacement deleted the old resource ${displacedPhysicalIdShown(op, getLogger(), void 0, op.previousState?.resourceType ?? op.resourceType) ?? "a physical id"} before its create failed; nothing to revert, state still records it`;
|
|
23039
23054
|
case "skip-failed-superseded": return ` - skip ${logicalIdShown(op.logicalId)} (${resourceTypeShown(op.resourceType)}) — failed CREATE created ${displacedPhysicalIdShown(op, getLogger()) ?? "a physical id"} before failing; a later deploy or rollback may own it now; not deleted, needs manual attention`;
|
|
23040
23055
|
case "skip-failed-mismatch": return ` - skip ${logicalIdShown(op.logicalId)} (${resourceTypeShown(op.resourceType)}) — failed CREATE recorded ${displacedPhysicalIdShown(op, getLogger()) ?? "a physical id"}, which is not the resource state tracks under this id; not reverted, needs manual attention`;
|
|
23041
23056
|
case "skip-failed-absent": return ` - skip ${safe(op.logicalId)} (${safe(op.resourceType)}) — no previous state available`;
|
|
@@ -26686,7 +26701,7 @@ function printSummary(rows) {
|
|
|
26686
26701
|
for (const r of rows) {
|
|
26687
26702
|
counts[r.outcome]++;
|
|
26688
26703
|
const tag = formatOutcome(r.outcome);
|
|
26689
|
-
const detail = r.outcome === "imported" ? ` (${r.physicalIdShown ?? r.physicalId})` : r.reason ? ` — ${r.reason}` : "";
|
|
26704
|
+
const detail = r.outcome === "imported" ? ` (${r.physicalIdShown ?? displayPhysicalId(r.resourceType, r.physicalId)})` : r.reason ? ` — ${r.reason}` : "";
|
|
26690
26705
|
logger.info(` ${tag} ${logicalIdShown(r.logicalId)} (${resourceTypeShown(r.resourceType)})${detail}`);
|
|
26691
26706
|
}
|
|
26692
26707
|
logger.info("");
|
|
@@ -32136,9 +32151,14 @@ async function loadStateForRoutedStacks(stacks, routes, routesWithAuth, options)
|
|
|
32136
32151
|
if (resource && envHasIntrinsicValue$1(getTemplateEnv$1(resource))) intrinsicEnvStacks.add(owner.stackName);
|
|
32137
32152
|
}
|
|
32138
32153
|
const jwtAuthorizerStacks = /* @__PURE__ */ new Set();
|
|
32139
|
-
|
|
32140
|
-
jwtAuthorizerStacks.add(
|
|
32141
|
-
reachableStackNames.add(
|
|
32154
|
+
const addAuthorizerStack = (stackName) => {
|
|
32155
|
+
jwtAuthorizerStacks.add(stackName);
|
|
32156
|
+
reachableStackNames.add(stackName);
|
|
32157
|
+
};
|
|
32158
|
+
for (const { authorizer } of routesWithAuth) {
|
|
32159
|
+
if ((authorizer?.kind === "jwt" || authorizer?.kind === "cognito") && authorizer.pending) addAuthorizerStack(authorizer.pending.stackName);
|
|
32160
|
+
if ((authorizer?.kind === "jwt" || authorizer?.kind === "cognito") && authorizer.scopes?.state === "unresolved") addAuthorizerStack(authorizer.scopes.stackName);
|
|
32161
|
+
if ((authorizer?.kind === "lambda-token" || authorizer?.kind === "cognito") && authorizer.identityValidation?.state === "unresolved") addAuthorizerStack(authorizer.identityValidation.stackName);
|
|
32142
32162
|
}
|
|
32143
32163
|
const stackHasIntrinsicEnv = (stackName) => intrinsicEnvStacks.has(stackName);
|
|
32144
32164
|
rejectExplicitCfnStackWithMultipleStacks(options, new Set([...reachableStackNames].map((name) => name.split("~")[0])).size);
|
|
@@ -32632,6 +32652,7 @@ async function localStartApiCommand(target, options) {
|
|
|
32632
32652
|
...pseudoParameters && { pseudoParameters }
|
|
32633
32653
|
};
|
|
32634
32654
|
}, jwtIntrinsicWarned);
|
|
32655
|
+
warnUnenforcedRouteAuthSettings(targetStacks, routesWithAuth, jwtIntrinsicWarned);
|
|
32635
32656
|
const profileCredentials = await profileCredentialsForWorkload(options.profile, resolveProfileCredentials);
|
|
32636
32657
|
if (options.profile && profileCredentials && !profileCredsFile) profileCredsFile = await writeProfileCredentialsFile(options.profile, profileCredentials, {
|
|
32637
32658
|
onDirCreated: (hostPath) => {
|
|
@@ -36706,4 +36727,4 @@ function collectVerbFlags(program) {
|
|
|
36706
36727
|
}
|
|
36707
36728
|
|
|
36708
36729
|
export { effectiveInventoryItem as $, tagListsMatch as A, LIFECYCLE_DEFAULT_STATUS as B, reconcileSgRules as C, singleSecurityGroupRuleId as D, sgRuleKey as E, clearLifecycleWritesOf as F, canonicalizeItemList as G, LIFECYCLE_RULE_PATH as H, lifecycleSettleTarget as I, lifecycleUsesFilterForm as J, effectiveLifecycleConfiguration as K, recordLifecycleWrite as L, sgRemovalRuleKey as M, sgRuleListMember as N, stackIngressRuleHolder as O, LIFECYCLE_BASELINE_REREAD_DELAYS_MS as P, effectiveIntelligentTieringItem as Q, settleLifecycleRead as R, narrowIngressIpProtocol as S, securityGroupRuleMatchesCfnIngress as T, LIFECYCLE_TAG_FILTERS_PATH as U, LIFECYCLE_FILTER_PATH as V, canonicalizeBlock as W, EVENTBRIDGE_CONFIG_PATH as X, parseCfnTimestamp as Y, effectiveAnalyticsItem as Z, flattenIpPermissions as _, resolveSecretDerivedPrincipals as a, declaresBucketObjectLock as at, isDefaultEgressRule as b, buildProgram, readSgIngressById as c, isPlainObject as ct, SG_RULE_PAGE_SIZE$1 as d, shownLifecycleRuleId as dt, effectiveNotificationConfiguration as et, authorizeDefinitelyNotApplied as f, descriptionKey as g, comparableIngressIdentity as h, isResolvableSecretPrincipalList as i, configItemId as it, markCopiesAgreed as j, survivingRecordOfRuleId as k, siblingIdOwnedSgRules as l, manualBucketDeletionClause as lt, canonicalizeSgRuleProtocol as m, runDestroyForStack as n, caughtErrorName as nt, refuseRevertRevokingSiblingRules as o, declaresNestedObjectLock as ot, canonicalizeSgInlineRuleProtocols as p, lifecycleRuleScope as q, holdsUnprovenSecretPrincipalToken as r, coerceCfnNumber as rt, sgRuleDiffKey as s, describeValue as st, canonicalizeIpv4Cidr as t, eventBridgeEnabledOf as tt, SG_READBACK_RETRY_DELAY_MS as u, mergeLegacySingular as ut, ingressRuleIdentity as v, securityGroupReadbackDelays as w, isResendableSocketFailure as x, isConnectTimeout as y, takeLifecycleWrite as z };
|
|
36709
|
-
//# sourceMappingURL=program-
|
|
36730
|
+
//# sourceMappingURL=program-Dz-HwMKe.js.map
|