@cdkd/cli 0.363.0 → 0.365.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-AnEvWPy0.js} +4 -3
- package/dist/ambient-client-defaults-AnEvWPy0.js.map +1 -0
- package/dist/{asg-provider-DTR9KTuD.js → asg-provider-BzCU3XtA.js} +20 -13
- package/dist/{asg-provider-DTR9KTuD.js.map → asg-provider-BzCU3XtA.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-D_FKAsKw.js → custom-resource-runtime-SB_NsQMH.js} +6 -6
- package/dist/{custom-resource-runtime-D_FKAsKw.js.map → custom-resource-runtime-SB_NsQMH.js.map} +1 -1
- package/dist/{db-associated-roles-CuhoLHiQ.js → db-associated-roles-D1wmFO_Y.js} +2 -2
- package/dist/{db-associated-roles-CuhoLHiQ.js.map → db-associated-roles-D1wmFO_Y.js.map} +1 -1
- package/dist/{delete-started-B-oT5k3k.js → delete-started-BJNrzLUk.js} +13 -9
- package/dist/delete-started-BJNrzLUk.js.map +1 -0
- package/dist/{deploy-engine-Df4iprdW.js → deploy-engine-BSqVfcSN.js} +893 -416
- package/dist/deploy-engine-BSqVfcSN.js.map +1 -0
- package/dist/{ec2-termination-protection-DPiykJlb.js → ec2-termination-protection-ekOvhSp9.js} +8 -6
- package/dist/ec2-termination-protection-ekOvhSp9.js.map +1 -0
- package/dist/{ecr-uri-DmQer3M1.js → ecr-uri-VpDi19pi.js} +2 -2
- package/dist/{ecr-uri-DmQer3M1.js.map → ecr-uri-VpDi19pi.js.map} +1 -1
- package/dist/{expected-bucket-owner-IZ5-Kowg.js → expected-bucket-owner-CmPtCsrQ.js} +2 -2
- package/dist/{expected-bucket-owner-IZ5-Kowg.js.map → expected-bucket-owner-CmPtCsrQ.js.map} +1 -1
- package/dist/{iam-role-provider-lpDjrxOC.js → iam-role-provider-Ct6UbKFo.js} +495 -42
- package/dist/iam-role-provider-Ct6UbKFo.js.map +1 -0
- package/dist/{image-plan-CjcTwOTQ.js → image-plan-gTOaUUbI.js} +8 -8
- package/dist/{image-plan-CjcTwOTQ.js.map → image-plan-gTOaUUbI.js.map} +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-BGwxRQKX.js → logger-IBUeRw1z.js} +2 -2
- package/dist/{logger-BGwxRQKX.js.map → logger-IBUeRw1z.js.map} +1 -1
- package/dist/{neptune-provider-DvqSeTAi.js → neptune-provider-QgaV_sKy.js} +14 -7
- package/dist/{neptune-provider-DvqSeTAi.js.map → neptune-provider-QgaV_sKy.js.map} +1 -1
- package/dist/{program-DYOdBiyw.js → program-tHhew1Z5.js} +262 -82
- package/dist/program-tHhew1Z5.js.map +1 -0
- package/dist/{provider-classes-DSmPsWi6.js → provider-classes-DTMnDVMz.js} +2225 -971
- package/dist/provider-classes-DTMnDVMz.js.map +1 -0
- package/dist/{rds-provider-Brs1PVkX.js → rds-provider-D2dkhl8m.js} +17 -10
- package/dist/rds-provider-D2dkhl8m.js.map +1 -0
- package/dist/{read-replica-Cnind5V_.js → read-replica-CfbVMoYV.js} +3 -3
- package/dist/{read-replica-Cnind5V_.js.map → read-replica-CfbVMoYV.js.map} +1 -1
- package/dist/{replacement-rules-D36vABVQ.js → replacement-rules-BiIOJMA-.js} +5 -4
- package/dist/{replacement-rules-D36vABVQ.js.map → replacement-rules-BiIOJMA-.js.map} +1 -1
- package/dist/{resource-deadline-vWMKeI6W.js → resource-deadline-BSpNiiNd.js} +34 -5
- package/dist/resource-deadline-BSpNiiNd.js.map +1 -0
- package/dist/{restore-source-guard-B4OUKYQG.js → restore-source-guard-Be6A_rNB.js} +4 -4
- package/dist/{restore-source-guard-B4OUKYQG.js.map → restore-source-guard-Be6A_rNB.js.map} +1 -1
- package/dist/{run-cli-DYcKa6BY.js → run-cli-BkrNHPD5.js} +2 -2
- package/dist/{run-cli-DYcKa6BY.js.map → run-cli-BkrNHPD5.js.map} +1 -1
- package/dist/{settle-own-write-members-CvwPYXi7.js → settle-own-write-members-BqAKt1e7.js} +13 -135
- package/dist/settle-own-write-members-BqAKt1e7.js.map +1 -0
- package/dist/{version-CBDLbnZ4.js → version-0AMFL2lR.js} +2 -2
- package/dist/{version-CBDLbnZ4.js.map → version-0AMFL2lR.js.map} +1 -1
- package/package.json +4 -4
- 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/rds-provider-Brs1PVkX.js.map +0 -1
- package/dist/resource-deadline-vWMKeI6W.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,
|
|
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-0AMFL2lR.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-gTOaUUbI.js";
|
|
3
|
+
import { A as assertRegionMatch, B as remedyLogicalId, Cn as producerRecordKey, Ct as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, H as isMarkedNotGone, It as logicalIdShown, M as VALUE_NOT_SHOWN, O as DriftReadRefusedError, Rt as resourceTypeShown, Sn as producerCoordinateKey, St as IAM_PRINCIPAL_NAME, Wt as maskDeep, _n as setPasteableAwsCaBundle, _t as beginCommandInterruptScope, an as UNREPRODUCIBLE_LOCK_CLAUSE, bn as injectiveKey, bt as isInterruptedWaitError, cn as forceQuitRecoveryClause, dn as formatLockOwner, gn as WAIT_CONDITION_SIGNAL_PREFIX, gt as renderDisableCommand, hn as DEFAULT_STATE_PREFIX, i as withResourceDeadline, k as RESOURCE_NOT_FOUND, kt as readRecordedPrincipals, ln as formatLockExpiry, mn as CUSTOM_RESOURCE_RESPONSE_PREFIX, on as buildForceUnlockCommand, ot as runDeleteAttempt, pt as isAwsCliLiteral, sn as buildLockContentionMessage, un as formatLockOperation, vn as setPasteableAwsProfile, vt as endCommandInterruptScope, yn as withPasteableAwsProfile, yt as interruptWatchListenerCount } from "./resource-deadline-BSpNiiNd.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-IBUeRw1z.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-AnEvWPy0.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-BqAKt1e7.js";
|
|
9
|
+
import { $a as reReadUntilSettled, $c as unreadableResourceEntries, $i as gray, $l as providerReplacementOldDeleted, $n as parseMappingFile, $o as assertFlagRoleArn, $s as findReplacedReadersOfRecreateTargets, $t as removeSignalReceiverNamed, $u as AssetModeResolver, A as recordedProtectionEvidence, Aa as buildFinalSnapshotIdentifier, Ac as malformedOrphanRecordsRefusalMessage, Ai as collectDeclaredOutputNames, Al as refuseMalformedResourcesForDestroy, An as DeploymentEventsStore, Ao as withCustomResourceStack, Ar as undeclaredEmptyObservedKeys, Au as ssmResolvedValueType, Ba as revertStackRecordsView, Bc as isReadableResourceEntry, Bi as supersededAfterRollback, Bl as hasReadableOutputs, Bn as formatDestructiveChange, Bo as getReadOnlyPropertyPaths, Br as planRollback, Bs as carriesFetchableDynamicReference, C as pendingMovesOutOf, Ca as ccRoutedFinalSnapshotError, Cc as parameterInputsFor, Cd as resolveAssemblyPath, Ci as secretBearingStateKeyWarning, Cl as repairMalformedOutputsForReadOnly, Cn as journaledOrphanLines, Co as NO_LOCAL_CUSTOM_RESOURCES_FLAG, Cr as buildReadCurrentStateContext, Cs as cfnRefValueFromPhysicalId, Cu as findNestedTemplateTreeDefect, D as findServiceTokenRefusals, Da as refusesFinalSnapshot, Dc as maskedPropertyFingerprint, Di as exportNameSecretExposure, Dl as malformedResourcesWarning, Dn as makeSiblingClaimReader, Do as localCustomResourceCommand, Dr as calculateResourceDrift, Ds as lacksRecordedTableArn, Du as templateIdentity, E as deferredServiceTokenWarning, Ea as isFinalSnapshotError, Ec as declaresNoEcho, Ei as exportNameNoEchoParameters, El as malformedRenderedContainersWarning, En as makeForeignHolderScan, Eo as customResourcesRunWithoutApp, Er as withUnprovenUnsettled, Es as lacksRecordedRefArn, Eu as renderNestedTemplateTreeDefect, F as readProtection, Fc as refuseMalformedOrphanRecordsForDestroy, Fi as DEFAULT_RESOURCE_WARN_AFTER_MS, Fl as accountArgs, Fn as noEchoMacParametersOf, Fo as UNSPECIFIED_SKIP_REASON, Fs as recordedReferenceRegions, Gc as refuseMalformedResourceAttributesForOrphan, Gi as withoutSuperseded, Gl as unwrittenCreateOnlyReplacement, Gn as withMovedTo, Go as isAlwaysLiveAttribute, Gr as planFailedOps, Gt as readRefactorMarkerOnce, Gu as rewriteTemplateAssetReferences, H as readStreamPolicy, Ha as withStackRecords, Hc as malformedLocalResourcesWarning, Hi as supersededHeldByOtherTypeWarning, Hl as findActionableSdkUnwired, Hn as hintSidesOf, Hr as demoteSupersededOrphans, Hs as carriesDynamicReference, Ht as keptForRetainedRecord, Hu as loadPublishableAssetManifest, Ic as refuseMalformedOrphansForOrphan, Ii as maskingRetryLogger, Il as withheldAccountClause, In as noEchoMacVerdict, Io as deleteIndeterminateGuards, Ir as ledgerForStack, Iu as buildAssetRedirectMap, Ja as declaredPolicyDocument, Jc as refuseMalformedResourceEntriesForDestroy, Ji as resolveReplacementOldType, Jn as changedReferenceReason, Jr as replacementNeverSwapped, Jt as refuseRefactorMarker, Kc as refuseMalformedResourceEntries, Kn as changedReferenceInDiff, Ko as poisonRenderedSpellingsCollidingIn, Kr as recheckFailedPlan, Ks as INTRINSIC_KEYS, Kt as refactorMarkerMovesOf, Ku as AssetManifestLoader, Lc as repairMalformedOrphanRecordsForReadOnly, Li as deleteSupersededEntry, Ll as STATE_RESOURCES_MALFORMED, Ln as noEchoValueMacsOf, Lo as deleteLeftInPlace, Lu as createAssetRedirectResolver, M as PROTECTION_PROPERTY_BY_TYPE, Mc as malformedOrphanRowsKeptWarning, Mi as isExportAliasCollision, Ml as refuseMalformedState, Mn as NOECHO_MAC_KEY_ALIAS, Mo as CloudControlProvider, Mr as updatePartialReason, N as isProtectionValueActive, Nc as previewableOrphanRecords, Ni as bindingSkippedOutputs, Nl as repairMalformedResourcesForReadOnly, Nn as createNoEchoValueMacs, Nr as findUpdatePolicyReplacementRefusals, Ns as recordedOutputReferenceRegions, Nu as decodeListingKey, O as serviceTokenBlockingReason, Oa as unsupportedFinalSnapshotError, Oc as deployRefusesOrphanRowsReason, Oi as isWholeDynamicReferenceValue, Ol as malformedStateRefusalMessage, On as planOrphanAdoption, Or as equalModuloMarkedMask, P as perType, Pc as refuseMalformedOrphanRecords, Pi as DEFAULT_RESOURCE_TIMEOUT_MS, Pl as JSON_LISTING_HOLE_VALUE, Pn as noEchoMacBinding, Po as RollbackInlinePolicyWriters, Pr as replacementCreateRoutesToCloudControl, Qa as policyDocumentMatchesDeclared, Qc as repairMalformedResourceEntriesForReadOnly, Qi as cyan, Qn as mappingPairs, Qo as applyRoleArnIfSet, Qr as readsRegeneratingSecret, Qt as isReceiver, Ra as destroyStackRecordsView, Rc as unpreviewableOrphanRecords, Ri as holdsSupersededResources, Rl as UNREADABLE_RESOURCES_MAP_ROW, Rn as constructPathOf$1, Ro as deleteSkipReason, Rr as withCreateTokenLedger, Rs as getAccountInfo, Ru as createLazyAssetModeContext, S as hasPendingMovesOut, Sa as PRE_DELETE_SNAPSHOT_TYPES, Sd as renderAssemblyPathEscape, Si as secretBearing, Sl as refuseMalformedOutputsForDestroy, Sn as isHandledOrphan, So as withPrintingSecrets, Sr as earlyDeletedOld, Ss as AWS_NO_VALUE, T as refusePendingMovesOut, Ta as effectiveDeletionPolicy, Td as resolveBucketRegion, Ti as carriedExportAliasExposure, Tl as refuseDivergentRecordRegionForDestroy, Tn as sameJournaledOrphans, To as customResourcesFailedWithoutApp, Tr as settleUnsettledPrevious, Ts as refStateLookupFromResource, Tu as listNestedTemplateRows, Uc as malformedResourceEntriesWarning, Ui as supersededHolderOf, Ul as findHandledUnwrittenCreateOnly, Un as movedToHint, Uo as IntrinsicFunctionResolver, Ur as isJournaledOrphan, Us as keepsSecretReferenceToken, Ut as recordRetainedForReadoption, Vc as malformedLocalResourceEntriesWarning, Vi as supersededDependentsFirst, Vl as hasReadableResources, Vn as findRefactorHints, Vo as isWaitAbandonedError, Vr as seedsDeleteFirstGuard, Vs as isNamelessDynamicReferenceError, Wa as LAMBDA_PERMISSION_STATEMENT_KEYS, Wc as malformedScrubResourceEntriesRefusalMessage, Wi as supersededResourcesOf, Wn as rollbackOrphanIds, Wo as isSelectOutOfBounds, Wr as isReplacementOrphan, Ws as withSharedDrainBudget, Wt as readRefactorMarker, Xa as lambdaPermissionMatchesDeclared, Xc as refuseMalformedResourceEntriesForImportSave, Xi as findNestedStackTypeChanges, Xl as hasNoCloudControlHandlers, Xn as isPairableType, Xo as producerLookupOver, Xr as computeImplicitDeleteEdges, Xt as updateRefactorMarker, Ya as efsPolicyMatchesDeclared, Yc as refuseMalformedResourceEntriesForImport, Yi as withPreviousPolicies, Yl as NO_CC_HANDLERS_REASON, Yn as differingRemedy, Yo as resolveDynamicReferences, Yr as IMPLICIT_DELETE_DEPENDENCIES, Yt as sameMove, Z as declaredTagsReadback, Za as memberReadFailure, Zc as refuseMalformedResourceEntriesForOrphan, Zi as bold, Zl as PROPERTY_COVERAGE_BY_TYPE, Zn as looselyEqual, Zo as refuseUnreadableCdkCrossAccountRefs, Zr as attemptUsesCompletedCreate, Zt as deleteSignalReceiver, _ as conditionFingerprint, _a as secretNamedRecordNeedles, _c as getSettledWriteOnlyPropertyPaths, _i as reachableDivergentParameters, _l as malformedLocalOutputsWarning, _n as getCurrentNestedStackContext, _r as replayFailedOperations, _u as stackInstanceIdOf, a as scanActiveConsumers, aa as noEchoExactEchoLeavesOf, ac as renderStatefulReason, ad as parseBootstrapMarker, ai as orphanNeedsIdentity, al as refuseMalformedResourcePropertiesForExport, an as resolvePendingCloudControlRequests, ao as CC_BROKEN_REASON, ar as undeclaredGrantSiblingMembers, as as AWS_CREDENTIAL_ENV_KEYS, au as splitImportedOps, b as readRecordedConditionVerdicts, ba as extractDeploymentEventError, bd as displayAssemblyPath, bi as displayTextOrWithheld, bn as dropFailedCommands, bo as isCustomResourceType$1, br as PLANNED_EARLY_DELETE_CONSEQUENCE, bs as isUnboundTemplateParameter, bu as isSensitiveAttributeName, c as nestedSsmNameDeferredNote, ca as createReadOnlyAttributeHealerFactory, cd as validateContainerRepoName, ci as nameScopeOf, cl as UNREADABLE_ORPHANS_CONTAINER_ROW, cn as displacedPhysicalIdShown, co as isCustomResource, cr as sgSiblingDecidedById, cs as envCredentialsAreAssumedRole, cu as hasReasonlessBaselineRefusal, d as slashedSsmNameHealAdoptedNote, da as maskEventTextWithBoundBags, di as retiredNameGenerationsLeaving, dl as malformedOrphansWarning, dn as nestedChildStackName$1, do as classifyHandleUrl, ds as producerRegionsFromState, du as CrossPrefixReadError, ea as green, ed as ensureAssetStorage, ei as isRedactedRecordedValue, el as malformedDriftResourcePropertiesWarning, en as macWriteOnlyKeys, er as propertiesChangedReason, es as assertSendableRoleArn, f as slashedSsmNameHealNote, fa as namingSecretsWithRecordedNoEcho, fc as displayPhysicalId, fd as defineOwnKey, fi as withNameGenerationReached, fl as refuseMalformedOrphans, fn as recordDisplacedSkips, fs as regionLessSecretName, fu as CrossPrefixScanCache, g as makeCanonicalizePropertiesFn, gc as withSecretPhysicalIdsMaskedInState, gd as ownValue, gi as namesAnyDeclaredParameter, gl as malformedExportSourceWarning, gn as collectNestedChildUnaddressed, go as customResourceResponseExpirationWarning, gr as canonicalizeIpProtocolValue, gu as isNotImplemented, h as inheritedProvenanceForChildDiff, ha as secretNamePrintingBags, hc as secretSegmentsOfState, hd as nullPrototypeRecord, hi as computeParameterTaint, hl as malformedExportNamesWarning, hn as withNestedRevertRun, ho as applyCustomResourceResponseExpiration, hr as sgProtocolKey, hu as isAccessDenied, i as mergeNoChangeOutputs, ia as noEchoComparisonForTemplate, ic as isStatefulRecreateTargetSync, id as getBootstrapMarkerKey, ii as removeProtectionTypeList, il as refuseMalformedResourcePropertiesForDrift, in as pendingRequestCount, ir as stripSiblingOwnedParentMembers, is as sendableAssumeRoleCommand, iu as S3StateBackend, j as recordedProtectionNote, jc as malformedOrphanRecordsWarning, ji as collectPublishedOutputNames, jl as refuseMalformedResourcesForExport, jn as crossStackReadsForPartialSave, jr as updatePartialMessage, js as keepHeldTokenProvenance, ju as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, k as diffSecurity, ka as createPreDeleteFinalSnapshot, kc as isReadableOrphanRecord, ki as noEchoParameterValueSeed, kl as refuseMalformedResourcesForDeploy, kn as DeploymentEventsReader, ko as setLocalCustomResourceRuntimeEnabled, kr as equalModuloMask, l as nestedSsmNameRowNote, la as completedReplayEntries, ld as BOOTSTRAP_MARKER_PREFIX, li as retiredAfterRollback, ll as hasReadableOrphans, ln as dropSettledNestedJournals, lo as wouldReturnToSdkProvider, ls as classifyRecordedSecretRegion, lu as hasUnverifiableParameterRefusal, m as crossStackOutputProvenanceSource, ma as secretNamePrintingBag, mc as secretPhysicalIdSegment, md as hasPlainPrototype, mi as inheritProducerRegions, ml as repairMalformedOrphansForReadOnly, mn as revertedNestedRowIds, mo as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, mr as recordedSgRuleId, mu as crossPrefixDeniedWarning, n as isSecretBearingReferenceString, na as yellow, nc as MULTI_REGION_RECREATE_BLOCKED_TYPES, nd as assertAssetBucketRegion, no as verbatimEchoDriftKeys, nr as referencedLogicalIds, ns as isIamRoleArn, o as inRunStackKey, oa as noEchoParameterNamesOf, od as readBootstrapMarkerBody, oi as nameGenerationCarriedFrom, ol as refuseMalformedResourcePropertiesForOrphan, on as NESTED_PENDING_PARENT_REASON, oo as ProviderRegistry, or as recordedRuleIdOf, os as applyCallerIdentityCredentials, p as slashedSsmNameHealPendingNote, pa as orphanRecordsPrintingBag, pd as hasOwnKey, pl as refuseMalformedOrphansForDestroy, po as isSignalKey, pr as cfnIngressPortValue, ps as isUnexposedRecordedIdentity, pu as applyCrossPrefixScan, q as streamPolicyMatchesDeclared, qa as declaredMemberDocument, qc as refuseMalformedResourceEntriesForDeploy, qi as snapshotSegmentSurvivors, qn as changedReferencePath, qo as stackIdTailOf, qr as recordUnderIdIsNotOwn, qt as refactorMarkerRefusalMessage, qu as getDockerImageBySourceHash, r as keptWholeReasonText, ra as noEchoAttributeNamesOf, rc as isStatefulRecreateTargetForReplace, rd as isCrossRegionRedirect, ri as segmentCleanupOptions, rl as refuseMalformedResourcePropertiesForDestroy, rn as formatResourceLine, rr as siblingOwnedRevertDesired, rs as parseIamRoleArn, ru as TemplateParser, s as checkNestedSsmNames, sa as withAttemptedItemsMasked, sd as validateAssetBucketName, si as nameGenerationHighWaterOf, sl as repairMalformedResourcePropertiesForReadOnly, sn as displacedOpClause, so as ccBrokenReason, sr as sgRuleOwnershipIdentity, ss as callerEnvCredentials, su as readOnlyStateVersionOf, t as DeployEngine, ta as red, tc as shownType, td as buildDenyExternalAccessPolicy, tl as malformedResourcePropertiesWarning, tn as readsOnlyNoEchoParameters, tr as proposeRenames, ts as explicitRoleArnOrThrow, tt as tagsMatchDeclared, u as healSlashedSsmParameterNames, ua as journaledOrphanPrintingBag, ui as retiredNameGenerationsAfter, ul as malformedOrphansRefusalMessage, uo as WaitConditionSignalStore, ur as siblingRecordedSgRuleIds, us as classifyReplaySecretRegion, uu as rebuildClientForBucketRegion, v as conditionInputsFrom, va as stateSecretNameNeedles, vc as getTopLevelKeysHoldingUnreadableCreateOnly, vi as resourcesNamingDeclaredParameter, vl as malformedOutputsRefusalMessage, vn as withNestedStackContext, vo as TemplateNoEchoReresolver, vr as replayRollback, vu as withStackInstanceIdWithheld, w as pendingMovesRefusalMessage, wa as ccRoutedInstanceTakesNoSnapshot, wc as maskedInputProof, wi as secretSafeKeyDisplay, wl as STATE_REGION_DIVERGED, wn as loadJournaledOrphans, wr as recordAfterRollbackUpdate, ws as isStalePlaceholderArnAttribute, wu as isAbsoluteAssetPath, x as childTemplateLoader, xa as ATOMIC_FINAL_SNAPSHOT_TYPES, xc as maskedPropertyFingerprintsOf, xi as exportAliasCollisionScrubWarning, xl as refuseMalformedOutputs, xn as dropFailedHint, xr as earlyDeleteWhen, xs as parameterTypeMayLoseSecretIdentity, y as parentSuppliedValues, ya as storedSecretNameNeedles, yc as tryGetTopLevelWriteOnlyProperties, yd as describeFileReadFailure, yi as WITHHELD_NAME_DISPLAY, yl as malformedOutputsWarning, yn as deleteJournaledOrphans, yo as readsNoEchoDeleteValues, yr as DELETED_RESOURCE_REMEDY, ys as coerceParameterTypedValue, yu as isSecretValuedAttribute, zc as unreadableOrphanRecords, zi as isSupersededResourceRecord, zl as displayLogicalId, zn as findDestructiveChanges, zs as isImpossibleEmptyStoredAttribute } from "./deploy-engine-BSqVfcSN.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-ekOvhSp9.js";
|
|
12
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-CmPtCsrQ.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-BJNrzLUk.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-BiIOJMA-.js";
|
|
15
|
+
import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-Be6A_rNB.js";
|
|
16
|
+
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-VpDi19pi.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-DTMnDVMz.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.");
|
|
@@ -3718,6 +3718,148 @@ function createDeployCommand() {
|
|
|
3718
3718
|
return cmd;
|
|
3719
3719
|
}
|
|
3720
3720
|
|
|
3721
|
+
// src/analyzer/cross-stack-preview.ts
|
|
3722
|
+
var CrossStackPreview = class {
|
|
3723
|
+
exports = /* @__PURE__ */ new Map();
|
|
3724
|
+
outputs = /* @__PURE__ */ new Map();
|
|
3725
|
+
exportValue(region, name) {
|
|
3726
|
+
return this.exports.get(key(region, name));
|
|
3727
|
+
}
|
|
3728
|
+
stackOutput(region, stackName, outputName) {
|
|
3729
|
+
return this.outputs.get(key(region, stackName, outputName));
|
|
3730
|
+
}
|
|
3731
|
+
record(region, stackName, values) {
|
|
3732
|
+
for (const [name, value] of values.exports) this.exports.set(key(region, name), value);
|
|
3733
|
+
for (const [name, value] of values.outputs) this.outputs.set(key(region, stackName, name), value);
|
|
3734
|
+
}
|
|
3735
|
+
};
|
|
3736
|
+
function key(region, ...parts) {
|
|
3737
|
+
return JSON.stringify([canonicalizeRegion(region), ...parts]);
|
|
3738
|
+
}
|
|
3739
|
+
function isScalar$1(value) {
|
|
3740
|
+
return typeof value === "string" || typeof value === "number" || typeof value === "boolean";
|
|
3741
|
+
}
|
|
3742
|
+
function previewProducerValues(input) {
|
|
3743
|
+
const exports = /* @__PURE__ */ new Map();
|
|
3744
|
+
const outputs = /* @__PURE__ */ new Map();
|
|
3745
|
+
const renewed = /* @__PURE__ */ new Set();
|
|
3746
|
+
for (const change of input.changes.values()) if (change.changeType === "CREATE" || change.changeType === "UPDATE" && (change.resourceType === "AWS::CloudFormation::Stack" || (change.propertyChanges ?? []).some((p) => p.requiresReplacement))) renewed.add(change.logicalId);
|
|
3747
|
+
const producerStack = input.stackName;
|
|
3748
|
+
const stored = input.storedOutputs ?? {};
|
|
3749
|
+
const verdict = (desired) => isScalar$1(desired) && desired !== "***" && !String(desired).includes("{{resolve:") && !input.holdsSecret(String(desired)) ? {
|
|
3750
|
+
kind: "known",
|
|
3751
|
+
value: desired,
|
|
3752
|
+
producerStack
|
|
3753
|
+
} : {
|
|
3754
|
+
kind: "unknown",
|
|
3755
|
+
producerStack
|
|
3756
|
+
};
|
|
3757
|
+
for (const [outputName, definition] of Object.entries(input.template.Outputs ?? {})) {
|
|
3758
|
+
const condition = definition?.Condition;
|
|
3759
|
+
if (typeof condition === "string" && input.conditions?.[condition] === false) continue;
|
|
3760
|
+
const value = definition?.Value;
|
|
3761
|
+
const exportName = input.exportNameOf.get(outputName);
|
|
3762
|
+
const refs = referencedLogicalIds({ Resources: { output: {
|
|
3763
|
+
Type: "Output",
|
|
3764
|
+
Properties: { value }
|
|
3765
|
+
} } }, "output");
|
|
3766
|
+
let previewed;
|
|
3767
|
+
if ([...refs].some((id) => renewed.has(id))) previewed = {
|
|
3768
|
+
kind: "unknown",
|
|
3769
|
+
producerStack
|
|
3770
|
+
};
|
|
3771
|
+
else if (Object.hasOwn(input.desiredOutputs, outputName)) {
|
|
3772
|
+
const desired = input.desiredOutputs[outputName];
|
|
3773
|
+
if (stored[outputName] === "***" || desired === void 0) continue;
|
|
3774
|
+
if (JSON.stringify(desired) !== JSON.stringify(stored[outputName])) previewed = verdict(desired);
|
|
3775
|
+
else if (exportName !== void 0 && !Object.hasOwn(stored, exportName)) {
|
|
3776
|
+
exports.set(exportName, verdict(desired));
|
|
3777
|
+
continue;
|
|
3778
|
+
}
|
|
3779
|
+
} else if (input.readsUnknownPreview?.(value) === true) previewed = {
|
|
3780
|
+
kind: "unknown",
|
|
3781
|
+
producerStack
|
|
3782
|
+
};
|
|
3783
|
+
if (previewed === void 0) continue;
|
|
3784
|
+
outputs.set(outputName, previewed);
|
|
3785
|
+
if (exportName !== void 0) exports.set(exportName, previewed);
|
|
3786
|
+
}
|
|
3787
|
+
return {
|
|
3788
|
+
exports,
|
|
3789
|
+
outputs
|
|
3790
|
+
};
|
|
3791
|
+
}
|
|
3792
|
+
async function resolvedExportNames(template, resolve) {
|
|
3793
|
+
const names = /* @__PURE__ */ new Map();
|
|
3794
|
+
for (const [outputName, definition] of Object.entries(template.Outputs ?? {})) {
|
|
3795
|
+
const exportName = definition?.Export?.Name;
|
|
3796
|
+
if (exportName === void 0) continue;
|
|
3797
|
+
try {
|
|
3798
|
+
const resolved = typeof exportName === "string" ? exportName : await resolve(exportName);
|
|
3799
|
+
if (typeof resolved === "string") names.set(outputName, resolved);
|
|
3800
|
+
} catch {}
|
|
3801
|
+
}
|
|
3802
|
+
return names;
|
|
3803
|
+
}
|
|
3804
|
+
async function recordProducerPreview(preview, region, resolve, input) {
|
|
3805
|
+
const exportNameOf = await resolvedExportNames(input.template, resolve);
|
|
3806
|
+
const readsUnknownPreview = (value) => crossStackReads(value).some((read) => {
|
|
3807
|
+
return (read.kind === "export" ? preview.exportValue(region, read.name) : preview.stackOutput(read.region ?? region, read.stackName, read.outputName))?.kind === "unknown";
|
|
3808
|
+
});
|
|
3809
|
+
preview.record(region, input.stackName, previewProducerValues({
|
|
3810
|
+
...input,
|
|
3811
|
+
exportNameOf,
|
|
3812
|
+
readsUnknownPreview
|
|
3813
|
+
}));
|
|
3814
|
+
}
|
|
3815
|
+
function crossStackReads(value) {
|
|
3816
|
+
const reads = [];
|
|
3817
|
+
const walk = (node) => {
|
|
3818
|
+
if (Array.isArray(node)) {
|
|
3819
|
+
node.forEach(walk);
|
|
3820
|
+
return;
|
|
3821
|
+
}
|
|
3822
|
+
if (node === null || typeof node !== "object") return;
|
|
3823
|
+
for (const [key, arg] of Object.entries(node)) {
|
|
3824
|
+
if (key === "Fn::ImportValue" && typeof arg === "string") reads.push({
|
|
3825
|
+
kind: "export",
|
|
3826
|
+
name: arg
|
|
3827
|
+
});
|
|
3828
|
+
else if (key === "Fn::GetStackOutput" && arg !== null && typeof arg === "object") {
|
|
3829
|
+
const { StackName, OutputName, Region, RoleArn } = arg;
|
|
3830
|
+
if (typeof StackName === "string" && typeof OutputName === "string" && RoleArn === void 0) reads.push({
|
|
3831
|
+
kind: "output",
|
|
3832
|
+
stackName: StackName,
|
|
3833
|
+
outputName: OutputName,
|
|
3834
|
+
...typeof Region === "string" && { region: Region }
|
|
3835
|
+
});
|
|
3836
|
+
}
|
|
3837
|
+
walk(arg);
|
|
3838
|
+
}
|
|
3839
|
+
};
|
|
3840
|
+
walk(value);
|
|
3841
|
+
return reads;
|
|
3842
|
+
}
|
|
3843
|
+
function orderProducersFirst(stacks, dependenciesOf) {
|
|
3844
|
+
const inSet = new Set(stacks);
|
|
3845
|
+
const placed = /* @__PURE__ */ new Set();
|
|
3846
|
+
const ordered = [];
|
|
3847
|
+
let progressed = true;
|
|
3848
|
+
while (ordered.length < stacks.length && progressed) {
|
|
3849
|
+
progressed = false;
|
|
3850
|
+
for (const stack of stacks) {
|
|
3851
|
+
if (placed.has(stack)) continue;
|
|
3852
|
+
if (![...dependenciesOf(stack)].every((dep) => dep === stack || !inSet.has(dep) || placed.has(dep))) continue;
|
|
3853
|
+
placed.add(stack);
|
|
3854
|
+
ordered.push(stack);
|
|
3855
|
+
progressed = true;
|
|
3856
|
+
break;
|
|
3857
|
+
}
|
|
3858
|
+
}
|
|
3859
|
+
for (const stack of stacks) if (!placed.has(stack)) ordered.push(stack);
|
|
3860
|
+
return ordered;
|
|
3861
|
+
}
|
|
3862
|
+
|
|
3721
3863
|
// src/cli/commands/retire-cfn-stack/types.ts
|
|
3722
3864
|
const NESTED_STACK_RESOURCE_TYPE = "AWS::CloudFormation::Stack";
|
|
3723
3865
|
const TEMPLATE_BODY_LIMIT = CFN_TEMPLATE_BODY_LIMIT;
|
|
@@ -5601,7 +5743,7 @@ async function previewNoEchoMacChanges(args) {
|
|
|
5601
5743
|
|
|
5602
5744
|
// src/cli/commands/diff-recursive/compute-stack-diff.ts
|
|
5603
5745
|
async function computeStackDiff(loadedState, template, region, stackName, stateBackend, diffCalculator, options = {}) {
|
|
5604
|
-
const { parameters, canonicalizeProperties, ccRouteUnavailableReason, cfnFallback, producerLookup, consumerAccount, noEchoMacCache, macWriteOnlyLookups, inheritSecretBearingTemplate, inheritedSecrets, inheritedSecretTokens, inheritedDerivedNames, attributeHealer: unboundAttributeHealer, parentUnresolvedParameters, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, ssmNameHeal = "apply" } = options;
|
|
5746
|
+
const { parameters, canonicalizeProperties, ccRouteUnavailableReason, cfnFallback, producerLookup, consumerAccount, noEchoMacCache, macWriteOnlyLookups, inheritSecretBearingTemplate, inheritedSecrets, inheritedSecretTokens, inheritedDerivedNames, attributeHealer: unboundAttributeHealer, parentUnresolvedParameters, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, ssmNameHeal = "apply", crossStackPreview, recordCrossStackPreview } = options;
|
|
5605
5747
|
const healSsmNames = (state) => {
|
|
5606
5748
|
const healed = healSlashedSsmParameterNames(state, template, stackName);
|
|
5607
5749
|
if (healed.heals.length === 0) return state;
|
|
@@ -5702,6 +5844,7 @@ async function computeStackDiff(loadedState, template, region, stackName, stateB
|
|
|
5702
5844
|
resources: currentState.resources,
|
|
5703
5845
|
stateBackend,
|
|
5704
5846
|
stackName,
|
|
5847
|
+
...crossStackPreview && { crossStackPreview },
|
|
5705
5848
|
stackIdTail: () => stackIdTailOf(currentState, stackName),
|
|
5706
5849
|
stackIdOverride: () => currentState?.signalReceiverStackId,
|
|
5707
5850
|
bestEffort: true,
|
|
@@ -5871,6 +6014,15 @@ async function computeStackDiff(loadedState, template, region, stackName, stateB
|
|
|
5871
6014
|
diffOutputsAgainst,
|
|
5872
6015
|
stackName
|
|
5873
6016
|
});
|
|
6017
|
+
if (crossStackPreview && recordCrossStackPreview) await recordProducerPreview(crossStackPreview, region, resolveFn, {
|
|
6018
|
+
stackName,
|
|
6019
|
+
template: effectiveTemplate,
|
|
6020
|
+
changes,
|
|
6021
|
+
desiredOutputs: resolved.outputs,
|
|
6022
|
+
storedOutputs: currentState.outputs,
|
|
6023
|
+
...knownConditions !== void 0 && { conditions: knownConditions },
|
|
6024
|
+
holdsSecret: (text) => printing.mask(text) !== text
|
|
6025
|
+
});
|
|
5874
6026
|
const printingSecrets = printing.corpus();
|
|
5875
6027
|
let shownChanges = changes;
|
|
5876
6028
|
let shownOutputChanges = outputChanges;
|
|
@@ -6017,7 +6169,7 @@ function childRowRunsEngine(row) {
|
|
|
6017
6169
|
return row?.changeType === "UPDATE" && (row.propertyChanges?.length ?? 0) > 0;
|
|
6018
6170
|
}
|
|
6019
6171
|
async function buildDiffTree(args) {
|
|
6020
|
-
const { stackName, displayName, region, template, nestedTemplates, recursive, stateBackend, diffCalculator, parentHasSecretReference, parameters, parentUnresolvedParameters, canonicalizeProperties, ccRouteUnavailableReason, assetRedirect, cfnFallback, updatePolicy, createRouteOf, producerLookup, consumerAccount, previewOrphanAdoption, attributeHealerFor, ancestorTemplatePaths, isNestedChild, ssmNameHeal, inheritedSecrets, inheritedDerivedNames, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, refusalRecovery, inheritedReferenceProvenance, inheritedSecretTokens } = args;
|
|
6172
|
+
const { stackName, displayName, region, template, nestedTemplates, recursive, stateBackend, diffCalculator, parentHasSecretReference, parameters, parentUnresolvedParameters, canonicalizeProperties, ccRouteUnavailableReason, assetRedirect, cfnFallback, updatePolicy, createRouteOf, producerLookup, crossStackPreview, consumerAccount, previewOrphanAdoption, attributeHealerFor, ancestorTemplatePaths, isNestedChild, ssmNameHeal, inheritedSecrets, inheritedDerivedNames, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, refusalRecovery, inheritedReferenceProvenance, inheritedSecretTokens } = args;
|
|
6021
6173
|
const unboundHealer = attributeHealerFor?.(stackName, region);
|
|
6022
6174
|
const { state, unreadable, unreadableContainers, deployRefusals, found } = await loadStateOrEmpty(stackName, region, stateBackend, refusalRecovery);
|
|
6023
6175
|
const attributeHealer = unboundHealer;
|
|
@@ -6045,6 +6197,10 @@ async function buildDiffTree(args) {
|
|
|
6045
6197
|
...createRouteOf && { createRouteOf },
|
|
6046
6198
|
...producerLookup && { producerLookup },
|
|
6047
6199
|
...consumerAccount && { consumerAccount },
|
|
6200
|
+
...crossStackPreview && {
|
|
6201
|
+
crossStackPreview,
|
|
6202
|
+
recordCrossStackPreview: !isNestedChild
|
|
6203
|
+
},
|
|
6048
6204
|
...previewOrphanAdoption && { previewOrphanAdoption },
|
|
6049
6205
|
...inheritedSecrets && { inheritedSecrets },
|
|
6050
6206
|
...inheritedDerivedNames && { inheritedDerivedNames },
|
|
@@ -6091,7 +6247,7 @@ async function buildDiffTree(args) {
|
|
|
6091
6247
|
destructiveChanges: findDestructiveChanges(stackName, changes.values(), stateAfterAdoption.resources, effectiveTemplate),
|
|
6092
6248
|
children: []
|
|
6093
6249
|
};
|
|
6094
|
-
if (found && !isNestedChild && node.blocking.length === 0) node.refactorSides = hintSidesOf(changes.values(), effectiveTemplate, rollbackOrphanIds(state.orphans));
|
|
6250
|
+
if (found && !isNestedChild && node.blocking.length === 0) node.refactorSides = hintSidesOf(changes.values(), effectiveTemplate, rollbackOrphanIds(state.orphans), stateAfterAdoption.resources);
|
|
6095
6251
|
if (!recursive) return node;
|
|
6096
6252
|
const templateChildIds = /* @__PURE__ */ new Set();
|
|
6097
6253
|
for (const [logicalId, resource] of Object.entries(effectiveTemplate.Resources ?? {})) {
|
|
@@ -6151,6 +6307,7 @@ async function buildDiffTree(args) {
|
|
|
6151
6307
|
...createRouteOf && { createRouteOf },
|
|
6152
6308
|
...producerLookup && { producerLookup },
|
|
6153
6309
|
...consumerAccount && { consumerAccount },
|
|
6310
|
+
...crossStackPreview && { crossStackPreview },
|
|
6154
6311
|
...previewOrphanAdoption && { previewOrphanAdoption },
|
|
6155
6312
|
...attributeHealerFor && { attributeHealerFor },
|
|
6156
6313
|
ancestorTemplatePaths: childAncestorTemplatePaths,
|
|
@@ -6290,12 +6447,13 @@ function diffTreeToJson(node) {
|
|
|
6290
6447
|
unreadable: node.unreadable,
|
|
6291
6448
|
unreadableContainers: node.unreadableContainers,
|
|
6292
6449
|
unreadableOrphans: node.unreadableOrphans,
|
|
6293
|
-
destructiveChanges: node.destructiveChanges.map(({ logicalId, resourceType, constructPath, impact, movedTo }) => ({
|
|
6450
|
+
destructiveChanges: node.destructiveChanges.map(({ logicalId, resourceType, constructPath, impact, movedTo, earlyDelete }) => ({
|
|
6294
6451
|
logicalId,
|
|
6295
6452
|
resourceType,
|
|
6296
6453
|
...constructPath !== void 0 && { constructPath },
|
|
6297
6454
|
impact,
|
|
6298
|
-
...movedTo !== void 0 && { movedTo }
|
|
6455
|
+
...movedTo !== void 0 && { movedTo },
|
|
6456
|
+
...earlyDelete !== void 0 && { earlyDelete }
|
|
6299
6457
|
})),
|
|
6300
6458
|
children: node.children.map(diffTreeToJson)
|
|
6301
6459
|
};
|
|
@@ -6372,7 +6530,10 @@ function renderChangeLines(changes, logFn, ccApiRoutes, adoptedOrphans, refactor
|
|
|
6372
6530
|
updateCount++;
|
|
6373
6531
|
logFn(` [~] ${logicalId} (${change.resourceType})${annotateAdoption(logicalId)}${annotateRouting(logicalId)}`);
|
|
6374
6532
|
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)
|
|
6533
|
+
else if (change.providerReplacement !== void 0) {
|
|
6534
|
+
const early = providerReplacementOldDeleted(change.resourceType);
|
|
6535
|
+
logFn(` [requires replacement: ${stripForDisplay(change.providerReplacement)}; deleted, then created again]` + (early !== void 0 ? ` — ${PLANNED_EARLY_DELETE_CONSEQUENCE}` : ""));
|
|
6536
|
+
}
|
|
6376
6537
|
if (change.propertyChanges && change.propertyChanges.length > 0) for (const propChange of change.propertyChanges) {
|
|
6377
6538
|
const requiresReplace = propChange.requiresReplacement && (propChange.inPlacePropagated === true || propChange.replacementPropagated === true) ? " [may require replacement]" : propChange.requiresReplacement ? " [requires replacement]" : "";
|
|
6378
6539
|
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]" : "";
|
|
@@ -6678,6 +6839,9 @@ async function diffCommand(stacks, options) {
|
|
|
6678
6839
|
const trees = [];
|
|
6679
6840
|
const treeEnvs = [];
|
|
6680
6841
|
const producerLookup = producerLookupOver(allStacks);
|
|
6842
|
+
const crossStackPreview = new CrossStackPreview();
|
|
6843
|
+
const inferredProducers = inferCrossStackDepsByStack(targetStacks);
|
|
6844
|
+
targetStacks = orderProducersFirst(targetStacks, (stack) => [...stack.dependencyNames.flatMap((name) => stacksForDependency(name, stack, targetStacks)), ...inferredProducers.get(stack) ?? []]);
|
|
6681
6845
|
const sharedNames = new Set(targetStacks.map((s) => s.stackName).filter((name, i, names) => names.indexOf(name) !== i));
|
|
6682
6846
|
for (const stackInfo of targetStacks) {
|
|
6683
6847
|
const shownName = sharedNames.has(stackInfo.stackName) ? describeStack(stackInfo) : stackInfo.stackName;
|
|
@@ -6709,6 +6873,7 @@ async function diffCommand(stacks, options) {
|
|
|
6709
6873
|
...options.cfnFallback === false && { cfnFallback: false },
|
|
6710
6874
|
...resolveUpdatePolicy(options.updatePolicy) === true && { updatePolicy: true },
|
|
6711
6875
|
producerLookup,
|
|
6876
|
+
crossStackPreview,
|
|
6712
6877
|
...stackInfo.account && { consumerAccount: stackInfo.account },
|
|
6713
6878
|
previewOrphanAdoption,
|
|
6714
6879
|
attributeHealerFor,
|
|
@@ -9651,7 +9816,7 @@ function outcomeExitSignal(outcome) {
|
|
|
9651
9816
|
drifted: () => "drifted",
|
|
9652
9817
|
notCompared: (n) => n.notComparedCause === "unresolvedToken" || n.notComparedCause === "noEchoParameter" ? "none" : "incomplete",
|
|
9653
9818
|
clean: () => "none",
|
|
9654
|
-
unsupported: () => "
|
|
9819
|
+
unsupported: () => "incomplete",
|
|
9655
9820
|
skipped: () => "none",
|
|
9656
9821
|
deleted: () => "drifted"
|
|
9657
9822
|
});
|
|
@@ -9677,6 +9842,10 @@ const UNCOMPARED_REASONS = {
|
|
|
9677
9842
|
kind: "unknown",
|
|
9678
9843
|
phrase: "not compared AT ALL: a `cdkd import` run refused to capture their observed baseline"
|
|
9679
9844
|
},
|
|
9845
|
+
unsupported: {
|
|
9846
|
+
kind: "unknown",
|
|
9847
|
+
phrase: "not compared AT ALL: their provider does not support drift detection yet"
|
|
9848
|
+
},
|
|
9680
9849
|
refused: {
|
|
9681
9850
|
kind: "unknown",
|
|
9682
9851
|
phrase: "only PARTIALLY compared: cdkd refused to resolve a dynamic reference their state records"
|
|
@@ -9693,10 +9862,6 @@ const UNCOMPARED_REASONS = {
|
|
|
9693
9862
|
kind: "unknown",
|
|
9694
9863
|
phrase: "only PARTIALLY compared: their state holds a NoEcho parameter value only as the redaction mask, which no re-run can clear"
|
|
9695
9864
|
},
|
|
9696
|
-
unsupported: {
|
|
9697
|
-
kind: "byDesign",
|
|
9698
|
-
phrase: "not compared AT ALL: their provider does not support drift detection yet"
|
|
9699
|
-
},
|
|
9700
9865
|
skipped: {
|
|
9701
9866
|
kind: "byDesign",
|
|
9702
9867
|
phrase: "not compared AT ALL: cdkd does not drift-check the type"
|
|
@@ -9729,7 +9894,9 @@ function uncomparedTally(reports) {
|
|
|
9729
9894
|
clean: () => {},
|
|
9730
9895
|
notCompared: () => {},
|
|
9731
9896
|
unsupported: () => bump("unsupported"),
|
|
9732
|
-
skipped: () =>
|
|
9897
|
+
skipped: (sk) => {
|
|
9898
|
+
if (sk.resourceType !== "AWS::CloudFormation::Stack") bump("skipped");
|
|
9899
|
+
},
|
|
9733
9900
|
deleted: () => {}
|
|
9734
9901
|
});
|
|
9735
9902
|
}
|
|
@@ -9753,13 +9920,7 @@ function incompleteRemediationMessage(reports, mode) {
|
|
|
9753
9920
|
}
|
|
9754
9921
|
|
|
9755
9922
|
// src/analyzer/drift-cc-api-deny-list.ts
|
|
9756
|
-
const CC_API_FALLBACK_DENY_LIST = {
|
|
9757
|
-
"AWS::CloudFormation::Stack": "cdkd deploys nested stacks itself: no CloudFormation stack exists, and the physicalId is a cdkd-local placeholder ARN",
|
|
9758
|
-
"AWS::CloudWatch::AnomalyDetector": "the physicalId is a cdkd-derived metric descriptor, not the primaryIdentifier Cloud Control's GetResource requires",
|
|
9759
|
-
"AWS::EMR::InstanceFleetConfig": "the physicalId is the bare fleet id, not the composite primaryIdentifier Cloud Control's GetResource requires",
|
|
9760
|
-
"AWS::EMR::InstanceGroupConfig": "the physicalId is the bare instance group id, not the composite primaryIdentifier Cloud Control's GetResource requires",
|
|
9761
|
-
"AWS::EC2::LaunchTemplate": "CC API returns version-bumped LaunchTemplateData with synthetic LatestVersionNumber that diverges from the CFn input shape"
|
|
9762
|
-
};
|
|
9923
|
+
const CC_API_FALLBACK_DENY_LIST = { "AWS::CloudFormation::Stack": "cdkd deploys nested stacks itself: no CloudFormation stack exists, and the physicalId is a cdkd-local placeholder ARN" };
|
|
9763
9924
|
|
|
9764
9925
|
// src/analyzer/cc-api-strip.ts
|
|
9765
9926
|
const ALWAYS_STRIPPED_FIELDS = /* @__PURE__ */ new Set([
|
|
@@ -11136,12 +11297,15 @@ const UNDECLARED_UNCOMPARED_KEYS = {
|
|
|
11136
11297
|
],
|
|
11137
11298
|
"AWS::EC2::Instance": ["BlockDeviceMappings"]
|
|
11138
11299
|
};
|
|
11139
|
-
const UNDECLARED_EMPTY_COMPARED_KEYS = {
|
|
11140
|
-
"
|
|
11141
|
-
|
|
11142
|
-
|
|
11143
|
-
|
|
11144
|
-
|
|
11300
|
+
const UNDECLARED_EMPTY_COMPARED_KEYS = {
|
|
11301
|
+
"AWS::BedrockAgentCore::Runtime": [
|
|
11302
|
+
"FilesystemConfigurations",
|
|
11303
|
+
"HooksConfiguration",
|
|
11304
|
+
"RequestHeaderConfiguration",
|
|
11305
|
+
"ResourceConfigurations"
|
|
11306
|
+
],
|
|
11307
|
+
"AWS::IAM::User": ["LoginProfile"]
|
|
11308
|
+
};
|
|
11145
11309
|
function undeclaredEmptyComparedDriftKeys(resourceType) {
|
|
11146
11310
|
return hasOwnKey(UNDECLARED_EMPTY_COMPARED_KEYS, resourceType) ? UNDECLARED_EMPTY_COMPARED_KEYS[resourceType] : [];
|
|
11147
11311
|
}
|
|
@@ -11575,11 +11739,14 @@ function writeHumanReport(reports) {
|
|
|
11575
11739
|
const inspected = inspectedCount;
|
|
11576
11740
|
const notCompared = notComparedOutcomes(report);
|
|
11577
11741
|
const checked = inspected - notCompared.length;
|
|
11742
|
+
const customExcluded = skippedCount - nestedCoveredCount;
|
|
11743
|
+
const customExcludedClause = customExcluded > 0 ? ` — excludes ${customExcluded} custom resource${customExcluded === 1 ? "" : "s"}, which cdkd does not drift-check` : "";
|
|
11578
11744
|
if (drifted.length === 0 && deleted.length === 0) {
|
|
11579
11745
|
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
11746
|
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(
|
|
11747
|
+
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`);
|
|
11748
|
+
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`);
|
|
11749
|
+
else process.stdout.write(`✓ ${reportHeading(report)}: no drift detected (${checked} resource${checked === 1 ? "" : "s"} checked, ${unsupported.length} unsupported)${customExcludedClause}\n`);
|
|
11583
11750
|
} else {
|
|
11584
11751
|
const driftCount = drifted.length + deleted.length;
|
|
11585
11752
|
const word = driftCount === 1 ? "resource" : "resources";
|
|
@@ -12469,7 +12636,8 @@ async function compareDriftReadback(args) {
|
|
|
12469
12636
|
ignorePaths: extraIgnorePaths.length ? [...ignorePaths, ...extraIgnorePaths] : ignorePaths,
|
|
12470
12637
|
unionWalkObjects: useObserved,
|
|
12471
12638
|
unorderedPaths,
|
|
12472
|
-
unionWalkPaths: verbatimEchoDriftKeys(resource.resourceType)
|
|
12639
|
+
unionWalkPaths: verbatimEchoDriftKeys(resource.resourceType),
|
|
12640
|
+
resourceType: resource.resourceType
|
|
12473
12641
|
});
|
|
12474
12642
|
const noEchoPartitioned = partitionNoEchoParameterChanges(changes, resource, baseline);
|
|
12475
12643
|
const partitioned = partitionUncertifiedBaselineChanges(noEchoPartitioned.kept, resource.properties ?? {}, baseline);
|
|
@@ -13515,7 +13683,10 @@ function refuseCcGroupRevertChangingRules(logicalId, groupId, resourceType, prop
|
|
|
13515
13683
|
}
|
|
13516
13684
|
|
|
13517
13685
|
// src/cli/commands/drift/revert-apply.ts
|
|
13518
|
-
|
|
13686
|
+
function applyRevertUpdate(args) {
|
|
13687
|
+
return withStackRecords(revertStackRecordsView(args.report.state.resources), () => applyRevertUpdateInScope(args));
|
|
13688
|
+
}
|
|
13689
|
+
async function applyRevertUpdateInScope(args) {
|
|
13519
13690
|
const { logger, tally, report, narrowedByLogicalId, settledByRevert, outcome, stateResource, provider, secrets, revertBaseline, newProperties } = args;
|
|
13520
13691
|
try {
|
|
13521
13692
|
const revertPrevious = await settleUnsettledPrevious({
|
|
@@ -13541,7 +13712,7 @@ async function applyRevertUpdate(args) {
|
|
|
13541
13712
|
recordedCreateOnlyDrops: stateResource.acceptedCreateOnlyDrops,
|
|
13542
13713
|
removedProperties: /* @__PURE__ */ new Set()
|
|
13543
13714
|
}), outcome.logicalId, { logger: maskingRetryLogger(logger, secrets) });
|
|
13544
|
-
const replacedBy = revertReplacementOf(stateResource.physicalId, updateResult);
|
|
13715
|
+
const replacedBy = revertReplacementOf(stateResource.physicalId, updateResult, stateResource.resourceType);
|
|
13545
13716
|
if (replacedBy !== void 0) {
|
|
13546
13717
|
tally.totalFailed++;
|
|
13547
13718
|
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 +13761,12 @@ async function applyRevertUpdate(args) {
|
|
|
13590
13761
|
logger.error(` ✗ ${report.stackName}/${outcome.logicalId} (${outcome.resourceType}): AWS update failed — ${msg}`);
|
|
13591
13762
|
}
|
|
13592
13763
|
}
|
|
13593
|
-
function revertReplacementOf(recordedPhysicalId, updateResult) {
|
|
13764
|
+
function revertReplacementOf(recordedPhysicalId, updateResult, resourceType) {
|
|
13594
13765
|
if (updateResult === void 0) return void 0;
|
|
13595
|
-
|
|
13596
|
-
|
|
13766
|
+
const idChanged = typeof updateResult.physicalId === "string" && updateResult.physicalId !== "" && updateResult.physicalId !== recordedPhysicalId;
|
|
13767
|
+
const recordedShown = displayPhysicalId(resourceType, recordedPhysicalId);
|
|
13768
|
+
if (idChanged) return `physical id ${recordedShown} became ${displayPhysicalId(resourceType, updateResult.physicalId)}`;
|
|
13769
|
+
return updateResult.wasReplaced === true ? `reported a replacement under the same physical id ${recordedShown}` : void 0;
|
|
13597
13770
|
}
|
|
13598
13771
|
function recordReturnedIdentity(args, updateResult, verdict) {
|
|
13599
13772
|
const { logger, report, reRecordedByLogicalId, outcome, stateResource, secrets, newProperties } = args;
|
|
@@ -14450,7 +14623,7 @@ async function announceOrphansAndConfirm({ state, logger, stackNoEchoValues, jou
|
|
|
14450
14623
|
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
14624
|
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
14625
|
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)}`));
|
|
14626
|
+
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
14627
|
}
|
|
14455
14628
|
if (journaledOrphans.count > 0) {
|
|
14456
14629
|
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 +15496,9 @@ async function destroyStackUnderLock({ stackName, state, ctx, logger, result, re
|
|
|
15323
15496
|
if (holder.resourceType !== resourceType) withPrintingSecrets(bag, () => logger.warn(safeMsg` ⚠ ${supersededHeldByOtherTypeWarning(entry, holder.resourceType)}`));
|
|
15324
15497
|
return false;
|
|
15325
15498
|
}
|
|
15499
|
+
const shownId = displayPhysicalId(resourceType, physicalId);
|
|
15326
15500
|
return withPrintingSecrets(bag, async () => {
|
|
15327
|
-
logger.info(safeMsg`Deleting ${logicalId}'s superseded ${resourceType} (${
|
|
15501
|
+
logger.info(safeMsg`Deleting ${logicalId}'s superseded ${resourceType} (${shownId})...`);
|
|
15328
15502
|
let outcome;
|
|
15329
15503
|
try {
|
|
15330
15504
|
outcome = await withStackRecords({
|
|
@@ -15362,13 +15536,13 @@ async function destroyStackUnderLock({ stackName, state, ctx, logger, result, re
|
|
|
15362
15536
|
if (outcome.kind === "gone" || outcome.kind === "notOurs") {
|
|
15363
15537
|
drop();
|
|
15364
15538
|
if (outcome.kind === "gone") logger.info(safeMsg` ✓ ${logicalId}'s superseded ${resourceType} is already gone`);
|
|
15365
|
-
else logger.warn(safeMsg` ⚠ ${logicalId}'s superseded ${resourceType} (${
|
|
15539
|
+
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
15540
|
return false;
|
|
15367
15541
|
}
|
|
15368
15542
|
const replacement = outcome.kind === "failed" ? outcome.replacement : void 0;
|
|
15369
15543
|
if (replacement !== void 0) remainingSuperseded = (remainingSuperseded ?? []).map((row) => row === entry ? replacement : row);
|
|
15370
15544
|
if (early) {
|
|
15371
|
-
logger.info(safeMsg` ${logicalId}'s superseded ${resourceType} (${
|
|
15545
|
+
logger.info(safeMsg` ${logicalId}'s superseded ${resourceType} (${shownId}) was not deleted yet; retrying after the stack's own resources`);
|
|
15372
15546
|
return true;
|
|
15373
15547
|
}
|
|
15374
15548
|
const why = outcome.kind === "notDeleted" ? outcome.reason : maskSecretsInText(describeAwsFailure(outcome.error).detail, bag);
|
|
@@ -15376,11 +15550,11 @@ async function destroyStackUnderLock({ stackName, state, ctx, logger, result, re
|
|
|
15376
15550
|
drop();
|
|
15377
15551
|
result.skippedCount++;
|
|
15378
15552
|
result.journaledOrphanSkips++;
|
|
15379
|
-
logger.warn(safeMsg` ⚠ ${logicalId}'s superseded ${resourceType} (${
|
|
15553
|
+
logger.warn(safeMsg` ⚠ ${logicalId}'s superseded ${resourceType} (${shownId}) was not deleted: ${why}. ` + "Delete it manually — it is no longer tracked in state.");
|
|
15380
15554
|
return false;
|
|
15381
15555
|
}
|
|
15382
15556
|
result.errorCount++;
|
|
15383
|
-
logger.warn(safeMsg` ⚠ ${logicalId}'s superseded ${resourceType} (${
|
|
15557
|
+
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
15558
|
return false;
|
|
15385
15559
|
});
|
|
15386
15560
|
};
|
|
@@ -15402,7 +15576,7 @@ async function destroyStackUnderLock({ stackName, state, ctx, logger, result, re
|
|
|
15402
15576
|
const deletePromises = level.map((logicalId) => withPrintingSecrets(printingBagOf(logicalId), () => deleteStackResource(resourceFrame, logicalId, stackRegion)));
|
|
15403
15577
|
await Promise.all(deletePromises);
|
|
15404
15578
|
}
|
|
15405
|
-
for (const entry of supersededResourcesOf(state)) {
|
|
15579
|
+
for (const entry of supersededDependentsFirst(supersededResourcesOf(state))) {
|
|
15406
15580
|
if (lock.interrupted) break;
|
|
15407
15581
|
if (isCustomResourceType$1(entry.state.resourceType) && !retryLate.has(entry)) continue;
|
|
15408
15582
|
await deleteSupersededRow(entry);
|
|
@@ -17210,7 +17384,7 @@ async function printStackResources(stackName, options, setup) {
|
|
|
17210
17384
|
for (const detail of details) {
|
|
17211
17385
|
lines.push(stripForDisplay(detail.logicalId));
|
|
17212
17386
|
lines.push(` Type: ${formatAttributeValue(detail.resourceType)}`);
|
|
17213
|
-
lines.push(` PhysicalID: ${formatAttributeValue(detail.physicalId)}`);
|
|
17387
|
+
lines.push(` PhysicalID: ${formatAttributeValue(displayPhysicalId(detail.resourceType, detail.physicalId))}`);
|
|
17214
17388
|
lines.push(` Dependencies: ${formatDependencyList(detail.dependencies)}`);
|
|
17215
17389
|
const attrEntries = Object.entries(detail.attributes);
|
|
17216
17390
|
if (attrEntries.length === 0) lines.push(" Attributes: (none)");
|
|
@@ -17231,7 +17405,7 @@ async function printStackResources(stackName, options, setup) {
|
|
|
17231
17405
|
}));
|
|
17232
17406
|
const idWidth = Math.max(...rows.map((r) => r.logicalId.length));
|
|
17233
17407
|
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`);
|
|
17408
|
+
for (const row of rows) process.stdout.write(`${row.logicalId.padEnd(idWidth)} ${row.resourceType.padEnd(typeWidth)} ${displayPhysicalId(row.resourceType, row.physicalId)}\n`);
|
|
17235
17409
|
}
|
|
17236
17410
|
function formatAttributeValue(value) {
|
|
17237
17411
|
if (value === null) return "null";
|
|
@@ -17930,12 +18104,12 @@ function restApiChildSplitter(options) {
|
|
|
17930
18104
|
return (physicalId, properties) => {
|
|
17931
18105
|
if (!physicalId.trim()) throw new Error(`empty physical id for ${resourceType} (expected a ${childField})`);
|
|
17932
18106
|
const parts = physicalId.split("|");
|
|
17933
|
-
if (parts.length > 2) throw new Error(`expected a bare ${childField} or '${compositeShape}', got ${parts.length} parts: ${showRecordValue(physicalId)}`);
|
|
18107
|
+
if (parts.length > 2) throw new Error(`expected a bare ${childField} or '${compositeShape}', got ${parts.length} parts: ${showRecordValue(displayPhysicalId(resourceType, physicalId))}`);
|
|
17934
18108
|
let restApiId;
|
|
17935
18109
|
let childValue;
|
|
17936
18110
|
if (parts.length === 2) {
|
|
17937
18111
|
const [a, b] = parts;
|
|
17938
|
-
if (!a || !b) throw new Error(`empty part in '${compositeShape}': ${showRecordValue(physicalId)}`);
|
|
18112
|
+
if (!a || !b) throw new Error(`empty part in '${compositeShape}': ${showRecordValue(displayPhysicalId(resourceType, physicalId))}`);
|
|
17939
18113
|
[restApiId, childValue] = childFirstInCompositeId ? [b, a] : [a, b];
|
|
17940
18114
|
} else {
|
|
17941
18115
|
restApiId = readStringProperty(properties, "RestApiId", resourceType);
|
|
@@ -18205,12 +18379,12 @@ const COMPOSITE_ID_SPLITTERS = {
|
|
|
18205
18379
|
propertiesOverlay: { ApiId: apiId }
|
|
18206
18380
|
};
|
|
18207
18381
|
}
|
|
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>)`);
|
|
18382
|
+
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
18383
|
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)}`);
|
|
18384
|
+
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
18385
|
if (parts.length === 2) {
|
|
18212
18386
|
const [apiId, apiKeyId] = parts;
|
|
18213
|
-
if (!apiId.trim() || !apiKeyId.trim()) throw new Error(`empty part in 'apiId|apiKeyId': ${showRecordValue(physicalId)}`);
|
|
18387
|
+
if (!apiId.trim() || !apiKeyId.trim()) throw new Error(`empty part in 'apiId|apiKeyId': ${showRecordValue(displayPhysicalId("AWS::AppSync::ApiKey", physicalId))}`);
|
|
18214
18388
|
return {
|
|
18215
18389
|
resourceIdentifier: {
|
|
18216
18390
|
ApiId: apiId,
|
|
@@ -18756,7 +18930,7 @@ function policyTemplateCheck(targets, templateProperties, recordedProperties, te
|
|
|
18756
18930
|
};
|
|
18757
18931
|
}
|
|
18758
18932
|
function preDeleteListingLines(entry) {
|
|
18759
|
-
const head = `${rowIdent(entry.logicalId)} (${rowIdent(entry.resourceType)}) — physicalId: ` + recordValueOrNotShown(entry.physicalId);
|
|
18933
|
+
const head = `${rowIdent(entry.logicalId)} (${rowIdent(entry.resourceType)}) — physicalId: ` + recordValueOrNotShown(displayPhysicalId(entry.resourceType, entry.physicalId));
|
|
18760
18934
|
if (entry.resourceType !== "AWS::IAM::Policy") return [head];
|
|
18761
18935
|
const targets = policyDetachTargets(entry);
|
|
18762
18936
|
if ("refusal" in targets) return [head, ` the pre-delete will refuse: ${targets.refusal}`];
|
|
@@ -19832,9 +20006,9 @@ async function runPerStackImportPhases(ctx) {
|
|
|
19832
20006
|
} catch (err) {
|
|
19833
20007
|
const msg = describeAwsFailure(err).detail;
|
|
19834
20008
|
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 });
|
|
20009
|
+
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
20010
|
}
|
|
19837
|
-
logger.info(` ${preDeletedLine(entry.physicalId)}`);
|
|
20011
|
+
logger.info(` ${preDeletedLine(displayPhysicalId(entry.resourceType, entry.physicalId))}`);
|
|
19838
20012
|
}
|
|
19839
20013
|
if (plan.phase2Creates.length + plan.recreateBeforePhase2.length > 0) {
|
|
19840
20014
|
const phase2Template = applyImportOverlayForPhase2(plan.template, plan.phase1Imports);
|
|
@@ -20355,11 +20529,11 @@ async function exportCommand(stackArg, options) {
|
|
|
20355
20529
|
logger.info(`Pre-deleting AWS resource for ${rowIdent(entry.logicalId)} (${rowIdent(entry.resourceType)}) so CFn can re-CREATE in phase 2...`);
|
|
20356
20530
|
try {
|
|
20357
20531
|
await handler(entry);
|
|
20358
|
-
logger.info(` ${preDeletedLine(entry.physicalId)}`);
|
|
20532
|
+
logger.info(` ${preDeletedLine(displayPhysicalId(entry.resourceType, entry.physicalId))}`);
|
|
20359
20533
|
} catch (err) {
|
|
20360
20534
|
const msg = describeAwsFailure(err).detail;
|
|
20361
20535
|
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).
|
|
20536
|
+
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
20537
|
3. Run the phase-2 UPDATE manually with the full synth template:
|
|
20364
20538
|
${phase2RetryCommand(cfnStackName)}\n 4. Once phase 2 succeeds, clean up cdkd's stale state record.${orphan.note}\n Run: ${orphan.command}`);
|
|
20365
20539
|
}
|
|
@@ -20492,7 +20666,7 @@ function renderStateBlock(recordState, lockInfo, withLegend, secretSegments) {
|
|
|
20492
20666
|
lines.push("");
|
|
20493
20667
|
lines.push(stripForDisplay(logicalId));
|
|
20494
20668
|
lines.push(` Type: ${formatAttributeValue(resource.resourceType)}`);
|
|
20495
|
-
lines.push(` PhysicalID: ${formatAttributeValue(resource.physicalId)}`);
|
|
20669
|
+
lines.push(` PhysicalID: ${formatAttributeValue(displayPhysicalId(resource.resourceType, resource.physicalId))}`);
|
|
20496
20670
|
const provisionedBy = resource.provisionedBy ?? "(sdk, legacy default)";
|
|
20497
20671
|
lines.push(` ProvisionedBy: ${formatAttributeValue(provisionedBy)}`);
|
|
20498
20672
|
if (resource.observedBaselineRefused === true) {
|
|
@@ -23035,7 +23209,7 @@ function failedActionLabel(item, skipFinalSnapshot) {
|
|
|
23035
23209
|
case "orphan-failed-create-retain": return ` - orphan ${safe(op.logicalId)} (${safe(op.resourceType)}) [FAILED create, DeletionPolicy Retain — left in AWS]`;
|
|
23036
23210
|
case "skip-failed-unknown": return ` - skip ${safe(op.logicalId)} (${safe(op.resourceType)}) — failed CREATE recorded no physical id`;
|
|
23037
23211
|
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`;
|
|
23212
|
+
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
23213
|
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
23214
|
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
23215
|
case "skip-failed-absent": return ` - skip ${safe(op.logicalId)} (${safe(op.resourceType)}) — no previous state available`;
|
|
@@ -26686,7 +26860,7 @@ function printSummary(rows) {
|
|
|
26686
26860
|
for (const r of rows) {
|
|
26687
26861
|
counts[r.outcome]++;
|
|
26688
26862
|
const tag = formatOutcome(r.outcome);
|
|
26689
|
-
const detail = r.outcome === "imported" ? ` (${r.physicalIdShown ?? r.physicalId})` : r.reason ? ` — ${r.reason}` : "";
|
|
26863
|
+
const detail = r.outcome === "imported" ? ` (${r.physicalIdShown ?? displayPhysicalId(r.resourceType, r.physicalId)})` : r.reason ? ` — ${r.reason}` : "";
|
|
26690
26864
|
logger.info(` ${tag} ${logicalIdShown(r.logicalId)} (${resourceTypeShown(r.resourceType)})${detail}`);
|
|
26691
26865
|
}
|
|
26692
26866
|
logger.info("");
|
|
@@ -32136,9 +32310,14 @@ async function loadStateForRoutedStacks(stacks, routes, routesWithAuth, options)
|
|
|
32136
32310
|
if (resource && envHasIntrinsicValue$1(getTemplateEnv$1(resource))) intrinsicEnvStacks.add(owner.stackName);
|
|
32137
32311
|
}
|
|
32138
32312
|
const jwtAuthorizerStacks = /* @__PURE__ */ new Set();
|
|
32139
|
-
|
|
32140
|
-
jwtAuthorizerStacks.add(
|
|
32141
|
-
reachableStackNames.add(
|
|
32313
|
+
const addAuthorizerStack = (stackName) => {
|
|
32314
|
+
jwtAuthorizerStacks.add(stackName);
|
|
32315
|
+
reachableStackNames.add(stackName);
|
|
32316
|
+
};
|
|
32317
|
+
for (const { authorizer } of routesWithAuth) {
|
|
32318
|
+
if ((authorizer?.kind === "jwt" || authorizer?.kind === "cognito") && authorizer.pending) addAuthorizerStack(authorizer.pending.stackName);
|
|
32319
|
+
if ((authorizer?.kind === "jwt" || authorizer?.kind === "cognito") && authorizer.scopes?.state === "unresolved") addAuthorizerStack(authorizer.scopes.stackName);
|
|
32320
|
+
if ((authorizer?.kind === "lambda-token" || authorizer?.kind === "cognito") && authorizer.identityValidation?.state === "unresolved") addAuthorizerStack(authorizer.identityValidation.stackName);
|
|
32142
32321
|
}
|
|
32143
32322
|
const stackHasIntrinsicEnv = (stackName) => intrinsicEnvStacks.has(stackName);
|
|
32144
32323
|
rejectExplicitCfnStackWithMultipleStacks(options, new Set([...reachableStackNames].map((name) => name.split("~")[0])).size);
|
|
@@ -32632,6 +32811,7 @@ async function localStartApiCommand(target, options) {
|
|
|
32632
32811
|
...pseudoParameters && { pseudoParameters }
|
|
32633
32812
|
};
|
|
32634
32813
|
}, jwtIntrinsicWarned);
|
|
32814
|
+
warnUnenforcedRouteAuthSettings(targetStacks, routesWithAuth, jwtIntrinsicWarned);
|
|
32635
32815
|
const profileCredentials = await profileCredentialsForWorkload(options.profile, resolveProfileCredentials);
|
|
32636
32816
|
if (options.profile && profileCredentials && !profileCredsFile) profileCredsFile = await writeProfileCredentialsFile(options.profile, profileCredentials, {
|
|
32637
32817
|
onDirCreated: (hostPath) => {
|
|
@@ -36706,4 +36886,4 @@ function collectVerbFlags(program) {
|
|
|
36706
36886
|
}
|
|
36707
36887
|
|
|
36708
36888
|
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-
|
|
36889
|
+
//# sourceMappingURL=program-tHhew1Z5.js.map
|