@cdkd/cli 0.352.11 → 0.352.12
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-BfQftjup.js → ambient-client-defaults-zXLYCPYh.js} +3 -3
- package/dist/{ambient-client-defaults-BfQftjup.js.map → ambient-client-defaults-zXLYCPYh.js.map} +1 -1
- package/dist/{asg-provider-B_4pcw4I.js → asg-provider-vzD1uanW.js} +6 -6
- package/dist/{asg-provider-B_4pcw4I.js.map → asg-provider-vzD1uanW.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-CqgBKNa_.js → custom-resource-runtime-5yuSHn1E.js} +6 -6
- package/dist/{custom-resource-runtime-CqgBKNa_.js.map → custom-resource-runtime-5yuSHn1E.js.map} +1 -1
- package/dist/{db-associated-roles-j5wKB1V4.js → db-associated-roles-D6FzrHrq.js} +2 -2
- package/dist/{db-associated-roles-j5wKB1V4.js.map → db-associated-roles-D6FzrHrq.js.map} +1 -1
- package/dist/{delete-started-CqhLfKwS.js → delete-started-BYb5bEiw.js} +4 -4
- package/dist/{delete-started-CqhLfKwS.js.map → delete-started-BYb5bEiw.js.map} +1 -1
- package/dist/{deploy-engine-DvGT0BH-.js → deploy-engine-DIe64g1M.js} +239 -24
- package/dist/deploy-engine-DIe64g1M.js.map +1 -0
- package/dist/{diff-calculator-DcfE2c-4.js → diff-calculator-e0X8wg5d.js} +12 -12
- package/dist/{diff-calculator-DcfE2c-4.js.map → diff-calculator-e0X8wg5d.js.map} +1 -1
- package/dist/{ec2-termination-protection-DHNUzWHz.js → ec2-termination-protection-BhINWGSK.js} +6 -6
- package/dist/{ec2-termination-protection-DHNUzWHz.js.map → ec2-termination-protection-BhINWGSK.js.map} +1 -1
- package/dist/{ecr-uri-D7lbBR5B.js → ecr-uri-B4jEXWEo.js} +2 -2
- package/dist/{ecr-uri-D7lbBR5B.js.map → ecr-uri-B4jEXWEo.js.map} +1 -1
- package/dist/{expected-bucket-owner-xGmx3Vtv.js → expected-bucket-owner-BiM4Hy8G.js} +2 -2
- package/dist/{expected-bucket-owner-xGmx3Vtv.js.map → expected-bucket-owner-BiM4Hy8G.js.map} +1 -1
- package/dist/{iam-role-provider-DJvOTPL2.js → iam-role-provider-CRAkOXUR.js} +8 -8
- package/dist/{iam-role-provider-DJvOTPL2.js.map → iam-role-provider-CRAkOXUR.js.map} +1 -1
- package/dist/{image-plan-BAVYrU--.js → image-plan-BZ-0TCSM.js} +14 -14
- package/dist/{image-plan-BAVYrU--.js.map → image-plan-BZ-0TCSM.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-BZAXATu5.js → logger-DGUlDiYH.js} +2 -2
- package/dist/{logger-BZAXATu5.js.map → logger-DGUlDiYH.js.map} +1 -1
- package/dist/{neptune-provider-DvIWf3JD.js → neptune-provider-CHVuPvHJ.js} +7 -7
- package/dist/{neptune-provider-DvIWf3JD.js.map → neptune-provider-CHVuPvHJ.js.map} +1 -1
- package/dist/{program-wHPyPSIE.js → program-pfwGZi1I.js} +65 -166
- package/dist/program-pfwGZi1I.js.map +1 -0
- package/dist/{provider-classes-DYjNHrv7.js → provider-classes-CaogwY3K.js} +15 -15
- package/dist/{provider-classes-DYjNHrv7.js.map → provider-classes-CaogwY3K.js.map} +1 -1
- package/dist/{rds-provider-C0ApHlEg.js → rds-provider-I6YAiIv3.js} +10 -10
- package/dist/{rds-provider-C0ApHlEg.js.map → rds-provider-I6YAiIv3.js.map} +1 -1
- package/dist/{read-replica-B1uGbZ_1.js → read-replica-BbDOKi8I.js} +3 -3
- package/dist/{read-replica-B1uGbZ_1.js.map → read-replica-BbDOKi8I.js.map} +1 -1
- package/dist/{replacement-rules-Dsgiy577.js → replacement-rules-DEMSUsSU.js} +3 -3
- package/dist/{replacement-rules-Dsgiy577.js.map → replacement-rules-DEMSUsSU.js.map} +1 -1
- package/dist/{resource-deadline-CvylpYDt.js → resource-deadline-B34RyqEU.js} +4 -4
- package/dist/{resource-deadline-CvylpYDt.js.map → resource-deadline-B34RyqEU.js.map} +1 -1
- package/dist/{run-cli-BfVibwNv.js → run-cli-D_mCCBi9.js} +2 -2
- package/dist/{run-cli-BfVibwNv.js.map → run-cli-D_mCCBi9.js.map} +1 -1
- package/dist/{update-removal-23Sp06KY.js → update-removal-Cr8BZ_MT.js} +4 -4
- package/dist/{update-removal-23Sp06KY.js.map → update-removal-Cr8BZ_MT.js.map} +1 -1
- package/dist/{version-DheF9mtT.js → version-C3ovda8-.js} +2 -2
- package/dist/{version-DheF9mtT.js.map → version-C3ovda8-.js.map} +1 -1
- package/package.json +2 -2
- package/dist/deploy-engine-DvGT0BH-.js.map +0 -1
- package/dist/program-wHPyPSIE.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 adoptDeprecatedRegionFlag, 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
|
|
3
|
-
import { $t as buildForceUnlockCommand, Ct as isInterruptedWaitError, G as isMarkedNotGone, N as VALUE_NOT_SHOWN, Qt as UNREPRODUCIBLE_LOCK_CLAUSE, St as interruptWatchListenerCount, U as RESOURCE_NOT_FOUND, V as remedyLogicalId, W as assertRegionMatch, bt as beginCommandInterruptScope, cn as DEFAULT_STATE_PREFIX, dn as producerCoordinateKey, en as buildLockContentionMessage, fn as producerRecordKey, gt as isAwsCliLiteral, hn as withPasteableAwsProfile, in as formatLockOwner, jt as resourceTypeShown, kt as logicalIdShown, ln as injectiveKey, lt as runDeleteAttempt, m as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, mn as setPasteableAwsProfile, nn as formatLockExpiry, p as IAM_PRINCIPAL_NAME, pn as setPasteableAwsCaBundle, rn as formatLockOperation, sn as CUSTOM_RESOURCE_RESPONSE_PREFIX, tn as forceQuitRecoveryClause, xt as endCommandInterruptScope, y as readRecordedPrincipals } from "./update-removal-
|
|
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-C3ovda8-.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 adoptDeprecatedRegionFlag, 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 skipFinalSnapshotOption, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as useCdkBootstrapAssetsOption, dt as activateLocalAwsAndRoleArn, en as deprecatedRegionOption, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as warnIfDeprecatedRegion, 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 stackOptions, 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 destroyOptions, tt as selectTargetStack, u as assetPathDirs, un as stateOptions, 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-BZ-0TCSM.js";
|
|
3
|
+
import { $t as buildForceUnlockCommand, Ct as isInterruptedWaitError, G as isMarkedNotGone, N as VALUE_NOT_SHOWN, Qt as UNREPRODUCIBLE_LOCK_CLAUSE, St as interruptWatchListenerCount, U as RESOURCE_NOT_FOUND, V as remedyLogicalId, W as assertRegionMatch, bt as beginCommandInterruptScope, cn as DEFAULT_STATE_PREFIX, dn as producerCoordinateKey, en as buildLockContentionMessage, fn as producerRecordKey, gt as isAwsCliLiteral, hn as withPasteableAwsProfile, in as formatLockOwner, jt as resourceTypeShown, kt as logicalIdShown, ln as injectiveKey, lt as runDeleteAttempt, m as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, mn as setPasteableAwsProfile, nn as formatLockExpiry, p as IAM_PRINCIPAL_NAME, pn as setPasteableAwsCaBundle, rn as formatLockOperation, sn as CUSTOM_RESOURCE_RESPONSE_PREFIX, tn as forceQuitRecoveryClause, xt as endCommandInterruptScope, y as readRecordedPrincipals } from "./update-removal-Cr8BZ_MT.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, B as generateResourceName, E as coerceCfnBoolean, I as PATTERN_B_NAME_OPTIONS, L as PATTERN_B_NAME_PROPERTIES, 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, 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, B as generateResourceName, E as coerceCfnBoolean, I as PATTERN_B_NAME_OPTIONS, L as PATTERN_B_NAME_PROPERTIES, 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-DGUlDiYH.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, 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-zXLYCPYh.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 { A as loadCdkJson, B as warnDeprecatedNoPrefixCliFlag, C as runDockerForeground, D as synthesisStatusMessage, E as Synthesizer, F as resolveStateBucketWithDefault, G as uploadCfnTemplate, H as CFN_TEMPLATE_URL_LIMIT, I as resolveStateBucketWithDefaultAndSource, J as StageLoadError, K as refuseFailedLookups, L as resolveStateBucketWithSource, M as resolveAutoAssetStorage, N as resolveCaptureObservedState, O as getDefaultStateBucketName, P as resolveSkipPrefix, R as resolveUseCdkBootstrapAssets, S as getDockerCmd, T as abortInFlightMultipartUploads, U as MIGRATE_TMP_PREFIX, V as CFN_TEMPLATE_BODY_LIMIT, W as findLargeInlineResources, X as setChildProcessAwsEnv, Y as processStackMessages, _ as partitionSensitiveEnv, a as AssetPublisher, b as isMalformedEnvKey, c as resolveDockerContextDirectory, d as describeDockerFailure, f as redactedCause, g as finchSecretArgvRefusal, h as dockerSpawnEnvWithSensitive, i as isLockInfoExpired, j as resolveApp, k as getLegacyStateBucketName, m as redactDockerArgvValues, n as DagBuilder, o as WorkGraph, p as redactedDockerCause, q as AssemblyReader, r as LockManager, s as buildDockerImage, t as DiffCalculator, u as describeDockerExecFailure, v as warnFinchArgvExposure, w as runDockerStreaming, x as formatDockerLoginError, y as isDockerClientEnvKey, z as stateBucketExistenceConfirmed } from "./diff-calculator-
|
|
9
|
-
import { $a as withSecretPhysicalIdsMaskedInState, $c as CrossPrefixReadError, $i as refusesFinalSnapshot, $l as hasPlainPrototype, $n as settleUnsettledPrevious, $r as exportNameNoEchoParameters, $s as refuseMalformedResourcePropertiesForExport, $t as displacedOpClause, A as recordedProtectionEvidence, Aa as withCustomResourceStack, Ac as withheldAccountClause, Ai as noEchoComparisonForTemplate, Al as AssetManifestLoader, An as constructPathOf$1, Ao as lacksRecordedRefArn, Ar as segmentCleanupOptions, As as refuseMalformedOrphansForOrphan, Ba as deleteSkipReason, Bi as secretNamePrintingBag, Bl as listNestedTemplateRows, Bn as changedReferenceReason, Bs as refuseMalformedResourceEntries, Bt as updateRefactorMarker, C as pendingMovesOutOf, Ca as NO_LOCAL_CUSTOM_RESOURCES_FLAG, Cc as refuseMalformedResourcesForDeploy, Ci as bold, Cl as isCrossRegionRedirect, Cn as crossStackReadsForPartialSave, Co as coerceParameterTypedValue, Cr as resolveReplacementOldType, Cs as isReadableOrphanRecord, D as findServiceTokenRefusals, Da as localCustomResourceCommand, Dc as repairMalformedResourcesForReadOnly, Di as red, Dl as validateAssetBucketName, Dn as noEchoMacParametersOf, Do as cfnRefValueFromPhysicalId, Dr as isRedactedRecordedValue, Ds as previewableOrphanRecords, E as deferredServiceTokenWarning, Ea as customResourcesRunWithoutApp, Ec as refuseMalformedState, Ei as green, El as readBootstrapMarkerBody, En as noEchoMacBinding, Eo as AWS_NO_VALUE, Es as malformedOrphanRowsKeptWarning, F as readProtection, Fa as setResolvedResourceTimeouts, Fc as hasReadableResources, Fi as completedReplayEntries, Fn as movedToHint, Fo as keepHeldTokenProvenance, Fr as nameScopeOf, Fs as malformedLocalResourceEntriesWarning, Ft as readRefactorMarkerOnce, Ga as isAlwaysLiveAttribute, Gc as PROPERTY_COVERAGE_BY_TYPE, Gi as storedSecretNameNeedles, Gl as ssmResolvedValueType, Gn as parseMappingFile, Go as isNamelessDynamicReferenceError, Gr as resourcesNamingDeclaredParameter, Gs as refuseMalformedResourceEntriesForOrphan, Gt as formatResourceLine, Ha as isWaitAbandonedError, Hl as templateIdentity, Hn as isPairableType, Ho as getAccountInfo, Hr as computeParameterTaint, Hs as refuseMalformedResourceEntriesForDestroy, Ht as readsOnlyNoEchoParameters, Ia as RollbackInlinePolicyWriters, Ic as findActionableSdkUnwired, Ii as journaledOrphanPrintingBag, In as rollbackOrphanIds, Ir as retiredAfterRollback, Is as malformedLocalResourcesWarning, It as refactorMarkerMovesOf, Jc as splitImportedOps, Ji as PRE_DELETE_SNAPSHOT_TYPES, Jl as decodeListingKey, Jn as referencedLogicalIds, Jo as withSharedDrainBudget, Jr as exportAliasCollisionScrubWarning, Js as malformedDriftResourcePropertiesWarning, Ka as poisonRenderedSpellingsCollidingIn, Kc as TemplateParser, Ki as extractDeploymentEventError, Kl as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Kn as propertiesChangedReason, Ko as carriesDynamicReference, Kr as WITHHELD_NAME_DISPLAY, Ks as repairMalformedResourceEntriesForReadOnly, La as UNSPECIFIED_SKIP_REASON, Lc as findHandledUnwrittenCreateOnly, Li as maskEventTextWithBoundBags, Ln as withMovedTo, Lo as recordedOutputReferenceRegions, Lr as retiredNameGenerationsAfter, Ls as malformedResourceEntriesWarning, Lt as refactorMarkerRefusalMessage, M as PROTECTION_PROPERTY_BY_TYPE, Ma as CloudControlProvider, Mc as UNREADABLE_RESOURCES_MAP_ROW, Mi as noEchoParameterNamesOf, Mn as formatDestructiveChange, Mr as orphanNeedsIdentity, Ms as unpreviewableOrphanRecords, Mt as keptForRetainedRecord, N as isProtectionValueActive, Nc as displayLogicalId, Ni as withAttemptedItemsMasked, Nn as findRefactorHints, Nr as nameGenerationCarriedFrom, Ns as unreadableOrphanRecords, Nt as recordRetainedForReadoption, O as serviceTokenBlockingReason, Oc as JSON_LISTING_HOLE_VALUE, Oi as yellow, Ol as validateContainerRepoName, On as noEchoMacVerdict, Oo as isStalePlaceholderArnAttribute, Os as refuseMalformedOrphanRecords, P as perType, Pc as hasReadableOutputs, Pi as createReadOnlyAttributeHealerFactory, Pn as hintSidesOf, Pr as nameGenerationHighWaterOf, Ps as isReadableResourceEntry, Pt as readRefactorMarker, Qa as secretSegmentsOfState, Qc as rebuildClientForBucketRegion, Qi as isFinalSnapshotError, Ql as hasOwnKey, Qn as recordAfterRollbackUpdate, Qr as carriedExportAliasExposure, Qs as refuseMalformedResourcePropertiesForDrift, Qt as NESTED_PENDING_PARENT_REASON, Ra as deleteIndeterminateGuards, Ri as namingSecretsWithRecordedNoEcho, Rl as findNestedTemplateTreeDefect, Rn as changedReferenceInDiff, Rr as retiredNameGenerationsLeaving, Rs as malformedScrubResourceEntriesRefusalMessage, Rt as refuseRefactorMarker, S as hasPendingMovesOut, Sa as withPrintingSecrets, Sc as malformedStateRefusalMessage, Si as withoutSuperseded, Sl as assertAssetBucketRegion, Sn as DeploymentEventsStore, Sr as computeImplicitDeleteEdges, Ss as deployRefusesOrphanRowsReason, T as refusePendingMovesOut, Ta as customResourcesFailedWithoutApp, Tc as refuseMalformedResourcesForExport, Ti as gray, Tl as parseBootstrapMarker, Tn as createNoEchoValueMacs, To as parameterTypeMayLoseSecretIdentity, Tr as findNestedStackTypeChanges, Ts as malformedOrphanRecordsWarning, Ua as IntrinsicFunctionResolver, Uc as NO_CC_HANDLERS_REASON, Ui as secretNamedRecordNeedles, Un as looselyEqual, Uo as isImpossibleEmptyStoredAttribute, Ur as namesAnyDeclaredParameter, Us as refuseMalformedResourceEntriesForImport, Vi as secretNamePrintingBags, Vl as renderNestedTemplateTreeDefect, Vn as differingRemedy, Vr as inheritProducerRegions, Vs as refuseMalformedResourceEntriesForDeploy, Vt as macWriteOnlyKeys, Wa as isSelectOutOfBounds, Wc as hasNoCloudControlHandlers, Wi as stateSecretNameNeedles, Wn as mappingPairs, Wo as carriesFetchableDynamicReference, Wr as reachableDivergentParameters, Ws as refuseMalformedResourceEntriesForImportSave, Xc as hasReasonlessBaselineRefusal, Xi as ccRoutedInstanceTakesNoSnapshot, Xn as replayRollback, Xo as INTRINSIC_KEYS, Xr as secretBearingStateKeyWarning, Xt as pendingRequestCount, Yi as ccRoutedFinalSnapshotError, Yn as replayFailedOperations, Yr as secretBearing, Ys as malformedResourcePropertiesWarning, Za as secretPhysicalIdSegment, Zc as hasUnverifiableParameterRefusal, Zi as effectiveDeletionPolicy, Zl as defineOwnKey, Zn as DELETED_RESOURCE_REMEDY, Zr as secretSafeKeyDisplay, Zs as refuseMalformedResourcePropertiesForDestroy, Zt as resolvePendingCloudControlRequests, _ as conditionFingerprint, _c as repairMalformedOutputsForReadOnly, _i as isSupersededResourceRecord, _n as sameJournaledOrphans, _o as regionLessSecretName, _r as planFailedOps, _s as parameterInputsFor, a as scanActiveConsumers, ac as malformedOrphansWarning, ai as isExportAliasCollision, al as stackInstanceIdOf, ao as assertSendableRoleArn, ar as updatePartialMessage, as as isStatefulRecreateTargetForReplace, au as displayAssemblyPath, b as readRecordedConditionVerdicts, ba as isCustomResourceType$1, bc as malformedRenderedContainersWarning, bi as supersededHolderOf, bl as ensureAssetStorage, bn as planOrphanAdoption, br as replacementNeverSwapped, bs as declaresNoEcho, c as nestedSsmNameDeferredNote, cc as repairMalformedOrphansForReadOnly, ci as DEFAULT_RESOURCE_WARN_AFTER_MS, cl as isSensitiveAttributeName, cn as collectNestedChildUnaddressed, co as parseIamRoleArn, cr as ledgerForStack, cu as resolveAssemblyPath, d as slashedSsmNameHealAdoptedNote, da as ccBrokenReason, dc as malformedLocalOutputsWarning, di as destroyStackRecordsView, dl as createAssetRedirectResolver, dn as deleteJournaledOrphans, do as applyCallerIdentityCredentials, ea as unsupportedFinalSnapshotError, ec as refuseMalformedResourcePropertiesForOrphan, ei as exportNameSecretExposure, el as CrossPrefixScanCache, en as displacedPhysicalIdShown, eo as resolveDynamicReferences, er as withUnprovenUnsettled, eu as nullPrototypeRecord, f as slashedSsmNameHealNote, fa as isCustomResource, fc as malformedOutputsRefusalMessage, fn as dropFailedCommands, fo as callerEnvCredentials, fr as planRollback, g as makeCanonicalizePropertiesFn, ga as customResourceResponseExpirationWarning, gc as refuseMalformedOutputsForDestroy, gi as holdsSupersededResources, gn as loadJournaledOrphans, go as producerRegionsFromState, gr as isReplacementOrphan, h as inheritedProvenanceForChildDiff, ha as applyCustomResourceResponseExpiration, hc as refuseMalformedOutputs, hi as deleteSupersededEntry, hl as loadPublishableAssetManifest, hn as journaledOrphanLines, ho as classifyReplaySecretRegion, hr as isJournaledOrphan, hs as maskedPropertyFingerprintsOf, i as mergeNoChangeOutputs, ic as malformedOrphansRefusalMessage, ii as collectPublishedOutputNames, il as isNotImplemented, in as recordDisplacedSkips, io as assertFlagRoleArn, ir as undeclaredEmptyObservedKeys, is as MULTI_REGION_RECREATE_BLOCKED_TYPES, iu as describeFileReadFailure, j as recordedProtectionNote, jc as STATE_RESOURCES_MALFORMED, ji as noEchoExactEchoLeavesOf, jl as getDockerImageBySourceHash, jn as findDestructiveChanges, jo as lacksRecordedTableArn, jr as removeProtectionTypeList, js as repairMalformedOrphanRecordsForReadOnly, k as diffSecurity, ka as setLocalCustomResourceRuntimeEnabled, kc as accountArgs, ki as noEchoAttributeNamesOf, kl as BOOTSTRAP_MARKER_PREFIX, kn as noEchoValueMacsOf, ko as refStateLookupFromResource, ks as refuseMalformedOrphanRecordsForDestroy, l as nestedSsmNameRowNote, la as CC_BROKEN_REASON, lc as malformedExportNamesWarning, li as maskingRetryLogger, ln as getCurrentNestedStackContext, lo as sendableAssumeRoleCommand, m as crossStackOutputProvenanceSource, ma as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, mn as isHandledOrphan, mo as classifyRecordedSecretRegion, mr as demoteSupersededOrphans, n as isSecretBearingReferenceString, na as buildFinalSnapshotIdentifier, nc as UNREADABLE_ORPHANS_CONTAINER_ROW, ni as noEchoParameterValueSeed, nl as crossPrefixDeniedWarning, no as refuseUnreadableCdkCrossAccountRefs, nr as equalModuloMarkedMask, o as inRunStackKey, oa as stripSiblingOwnedMembers, oc as refuseMalformedOrphans, oi as bindingSkippedOutputs, ol as withStackInstanceIdWithheld, on as revertedNestedRowIds, oo as explicitRoleArnOrThrow, or as updatePartialReason, os as isStatefulRecreateTargetSync, p as slashedSsmNameHealPendingNote, pa as wouldReturnToSdkProvider, pc as malformedOutputsWarning, pi as withStackRecords, pn as dropFailedHint, po as envCredentialsAreAssumedRole, pr as seedsDeleteFirstGuard, qa as stackIdTailOf, qc as S3StateBackend, qi as ATOMIC_FINAL_SNAPSHOT_TYPES, qn as proposeRenames, qo as keepsSecretReferenceToken, qr as displayTextOrWithheld, qs as unreadableResourceEntries, r as keptWholeReasonText, rc as hasReadableOrphans, ri as collectDeclaredOutputNames, rl as isAccessDenied, rn as nestedChildStackName$1, ro as applyRoleArnIfSet, rr as equalModuloMask, rs as shownType, s as checkNestedSsmNames, sc as refuseMalformedOrphansForDestroy, si as DEFAULT_RESOURCE_TIMEOUT_MS, sl as isSecretValuedAttribute, sn as withNestedRevertRun, so as isIamRoleArn, ss as renderStatefulReason, su as renderAssemblyPathEscape, t as DeployEngine, ta as createPreDeleteFinalSnapshot, tc as repairMalformedResourcePropertiesForReadOnly, ti as isWholeDynamicReferenceValue, tl as applyCrossPrefixScan, tn as dropSettledNestedJournals, to as producerLookupOver, tr as calculateResourceDrift, ts as findReplacedReadersOfRecreateTargets, tu as ownValue, u as healSlashedSsmParameterNames, ua as ProviderRegistry, uc as malformedExportSourceWarning, ul as buildAssetRedirectMap, un as withNestedStackContext, uo as AWS_CREDENTIAL_ENV_KEYS, ur as withCreateTokenLedger, uu as resolveBucketRegion, v as conditionInputsFrom, va as TemplateNoEchoReresolver, vc as STATE_REGION_DIVERGED, vi as supersededAfterRollback, vl as rewriteTemplateAssetReferences, vn as makeForeignHolderScan, vr as recheckFailedPlan, vs as maskedInputProof, w as pendingMovesRefusalMessage, wc as refuseMalformedResourcesForDestroy, wi as cyan, wl as getBootstrapMarkerKey, wn as NOECHO_MAC_KEY_ALIAS, wo as isUnboundTemplateParameter, wr as withPreviousPolicies, ws as malformedOrphanRecordsRefusalMessage, x as childTemplateLoader, xc as malformedResourcesWarning, xi as supersededResourcesOf, xl as buildDenyExternalAccessPolicy, xn as DeploymentEventsReader, xr as IMPLICIT_DELETE_DEPENDENCIES, xs as maskedPropertyFingerprint, y as parentSuppliedValues, ya as readsNoEchoDeleteValues, yc as refuseDivergentRecordRegionForDestroy, yi as supersededHeldByOtherTypeWarning, yl as AssetModeResolver, yn as makeSiblingClaimReader, yr as recordUnderIdIsNotOwn, za as deleteLeftInPlace, zc as unwrittenCreateOnlyReplacement, zi as orphanRecordsPrintingBag, zl as isAbsoluteAssetPath, zn as changedReferencePath, zo as recordedReferenceRegions, zr as withNameGenerationReached, zs as refuseMalformedResourceAttributesForOrphan, zt as sameMove } from "./deploy-engine-DvGT0BH-.js";
|
|
8
|
+
import { A as loadCdkJson, B as warnDeprecatedNoPrefixCliFlag, C as runDockerForeground, D as synthesisStatusMessage, E as Synthesizer, F as resolveStateBucketWithDefault, G as uploadCfnTemplate, H as CFN_TEMPLATE_URL_LIMIT, I as resolveStateBucketWithDefaultAndSource, J as StageLoadError, K as refuseFailedLookups, L as resolveStateBucketWithSource, M as resolveAutoAssetStorage, N as resolveCaptureObservedState, O as getDefaultStateBucketName, P as resolveSkipPrefix, R as resolveUseCdkBootstrapAssets, S as getDockerCmd, T as abortInFlightMultipartUploads, U as MIGRATE_TMP_PREFIX, V as CFN_TEMPLATE_BODY_LIMIT, W as findLargeInlineResources, X as setChildProcessAwsEnv, Y as processStackMessages, _ as partitionSensitiveEnv, a as AssetPublisher, b as isMalformedEnvKey, c as resolveDockerContextDirectory, d as describeDockerFailure, f as redactedCause, g as finchSecretArgvRefusal, h as dockerSpawnEnvWithSensitive, i as isLockInfoExpired, j as resolveApp, k as getLegacyStateBucketName, m as redactDockerArgvValues, n as DagBuilder, o as WorkGraph, p as redactedDockerCause, q as AssemblyReader, r as LockManager, s as buildDockerImage, t as DiffCalculator, u as describeDockerExecFailure, v as warnFinchArgvExposure, w as runDockerStreaming, x as formatDockerLoginError, y as isDockerClientEnvKey, z as stateBucketExistenceConfirmed } from "./diff-calculator-e0X8wg5d.js";
|
|
9
|
+
import { $a as stackIdTailOf, $c as S3StateBackend, $i as ATOMIC_FINAL_SNAPSHOT_TYPES, $o as keepsSecretReferenceToken, $r as displayTextOrWithheld, $s as unreadableResourceEntries, $t as displacedOpClause, A as recordedProtectionEvidence, Ac as refuseMalformedResourcesForDestroy, Ai as cyan, Al as getBootstrapMarkerKey, An as constructPathOf$1, Ao as isUnboundTemplateParameter, Ar as withPreviousPolicies, As as malformedOrphanRecordsRefusalMessage, Bc as hasReadableOutputs, Bi as createReadOnlyAttributeHealerFactory, Bn as changedReferenceReason, Br as nameGenerationHighWaterOf, Bs as isReadableResourceEntry, Bt as updateRefactorMarker, C as pendingMovesOutOf, Cc as repairMalformedOutputsForReadOnly, Ci as isSupersededResourceRecord, Cn as crossStackReadsForPartialSave, Co as regionLessSecretName, Cr as planFailedOps, Cs as parameterInputsFor, D as findServiceTokenRefusals, Dc as malformedResourcesWarning, Di as supersededResourcesOf, Dl as buildDenyExternalAccessPolicy, Dn as noEchoMacParametersOf, Dr as IMPLICIT_DELETE_DEPENDENCIES, Ds as maskedPropertyFingerprint, E as deferredServiceTokenWarning, Ea as isCustomResourceType$1, Ec as malformedRenderedContainersWarning, Ei as supersededHolderOf, El as ensureAssetStorage, En as noEchoMacBinding, Er as replacementNeverSwapped, Es as declaresNoEcho, F as readProtection, Fa as setLocalCustomResourceRuntimeEnabled, Fc as accountArgs, Fi as noEchoAttributeNamesOf, Fl as BOOTSTRAP_MARKER_PREFIX, Fn as movedToHint, Fo as refStateLookupFromResource, Fs as refuseMalformedOrphanRecordsForDestroy, Ft as readRefactorMarkerOnce, Ga as deleteLeftInPlace, Gc as unwrittenCreateOnlyReplacement, Gi as orphanRecordsPrintingBag, Gl as isAbsoluteAssetPath, Gn as parseMappingFile, Go as recordedReferenceRegions, Gr as withNameGenerationReached, Gs as refuseMalformedResourceAttributesForOrphan, Gt as formatResourceLine, Ha as RollbackInlinePolicyWriters, Hc as findActionableSdkUnwired, Hi as journaledOrphanPrintingBag, Hn as isPairableType, Hr as retiredAfterRollback, Hs as malformedLocalResourcesWarning, Ht as readsOnlyNoEchoParameters, Ia as withCustomResourceStack, Ic as withheldAccountClause, Ii as noEchoComparisonForTemplate, Il as AssetManifestLoader, In as rollbackOrphanIds, Io as lacksRecordedRefArn, Ir as segmentCleanupOptions, Is as refuseMalformedOrphansForOrphan, It as refactorMarkerMovesOf, Ja as isWaitAbandonedError, Jl as templateIdentity, Jn as referencedLogicalIds, Jo as getAccountInfo, Jr as computeParameterTaint, Js as refuseMalformedResourceEntriesForDestroy, Ka as deleteSkipReason, Ki as secretNamePrintingBag, Kl as listNestedTemplateRows, Kn as propertiesChangedReason, Ks as refuseMalformedResourceEntries, Lc as STATE_RESOURCES_MALFORMED, Li as noEchoExactEchoLeavesOf, Ll as getDockerImageBySourceHash, Ln as withMovedTo, Lo as lacksRecordedTableArn, Lr as removeProtectionTypeList, Ls as repairMalformedOrphanRecordsForReadOnly, Lt as refactorMarkerRefusalMessage, M as PROTECTION_PROPERTY_BY_TYPE, Ma as customResourcesRunWithoutApp, Mc as refuseMalformedState, Mi as green, Ml as readBootstrapMarkerBody, Mn as formatDestructiveChange, Mo as AWS_NO_VALUE, Ms as malformedOrphanRowsKeptWarning, Mt as keptForRetainedRecord, N as isProtectionValueActive, Na as localCustomResourceCommand, Nc as repairMalformedResourcesForReadOnly, Ni as red, Nl as validateAssetBucketName, Nn as findRefactorHints, No as cfnRefValueFromPhysicalId, Ns as previewableOrphanRecords, Nt as recordRetainedForReadoption, O as serviceTokenBlockingReason, Oa as withPrintingSecrets, Oc as malformedStateRefusalMessage, Oi as withoutSuperseded, Ol as assertAssetBucketRegion, On as noEchoMacVerdict, Or as computeImplicitDeleteEdges, Os as deployRefusesOrphanRowsReason, P as perType, Pc as JSON_LISTING_HOLE_VALUE, Pi as yellow, Pl as validateContainerRepoName, Pn as hintSidesOf, Po as isStalePlaceholderArnAttribute, Ps as refuseMalformedOrphanRecords, Pt as readRefactorMarker, Qa as poisonRenderedSpellingsCollidingIn, Qc as TemplateParser, Qi as extractDeploymentEventError, Ql as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Qo as carriesDynamicReference, Qr as WITHHELD_NAME_DISPLAY, Qs as repairMalformedResourceEntriesForReadOnly, Qt as NESTED_PENDING_PARENT_REASON, Ra as CloudControlProvider, Rc as UNREADABLE_RESOURCES_MAP_ROW, Ri as noEchoParameterNamesOf, Rn as changedReferenceInDiff, Rr as orphanNeedsIdentity, Rs as unpreviewableOrphanRecords, Rt as refuseRefactorMarker, S as hasPendingMovesOut, Sa as customResourceResponseExpirationWarning, Sc as refuseMalformedOutputsForDestroy, Si as holdsSupersededResources, Sn as DeploymentEventsStore, So as producerRegionsFromState, Sr as isReplacementOrphan, T as refusePendingMovesOut, Ta as readsNoEchoDeleteValues, Tc as refuseDivergentRecordRegionForDestroy, Ti as supersededHeldByOtherTypeWarning, Tl as AssetModeResolver, Tn as createNoEchoValueMacs, Tr as recordUnderIdIsNotOwn, Ua as UNSPECIFIED_SKIP_REASON, Uc as findHandledUnwrittenCreateOnly, Ui as maskEventTextWithBoundBags, Un as looselyEqual, Uo as recordedOutputReferenceRegions, Ur as retiredNameGenerationsAfter, Us as malformedResourceEntriesWarning, Va as setResolvedResourceTimeouts, Vc as hasReadableResources, Vi as completedReplayEntries, Vn as differingRemedy, Vo as keepHeldTokenProvenance, Vr as nameScopeOf, Vs as malformedLocalResourceEntriesWarning, Vt as macWriteOnlyKeys, Wa as deleteIndeterminateGuards, Wi as namingSecretsWithRecordedNoEcho, Wl as findNestedTemplateTreeDefect, Wn as mappingPairs, Wr as retiredNameGenerationsLeaving, Ws as malformedScrubResourceEntriesRefusalMessage, Xa as isSelectOutOfBounds, Xc as hasNoCloudControlHandlers, Xi as stateSecretNameNeedles, Xn as stripSiblingOwnedSgRules, Xo as carriesFetchableDynamicReference, Xr as reachableDivergentParameters, Xs as refuseMalformedResourceEntriesForImportSave, Xt as pendingRequestCount, Ya as IntrinsicFunctionResolver, Yc as NO_CC_HANDLERS_REASON, Yi as secretNamedRecordNeedles, Yo as isImpossibleEmptyStoredAttribute, Yr as namesAnyDeclaredParameter, Ys as refuseMalformedResourceEntriesForImport, Za as isAlwaysLiveAttribute, Zc as PROPERTY_COVERAGE_BY_TYPE, Zi as storedSecretNameNeedles, Zl as ssmResolvedValueType, Zo as isNamelessDynamicReferenceError, Zr as resourcesNamingDeclaredParameter, Zs as refuseMalformedResourceEntriesForOrphan, Zt as resolvePendingCloudControlRequests, _ as conditionFingerprint, _a as ccBrokenReason, _c as malformedLocalOutputsWarning, _i as destroyStackRecordsView, _l as createAssetRedirectResolver, _n as sameJournaledOrphans, _o as applyCallerIdentityCredentials, a as scanActiveConsumers, aa as refusesFinalSnapshot, ac as refuseMalformedResourcePropertiesForExport, ai as exportNameNoEchoParameters, al as CrossPrefixReadError, ao as withSecretPhysicalIdsMaskedInState, ar as settleUnsettledPrevious, au as hasPlainPrototype, b as readRecordedConditionVerdicts, ba as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, bn as planOrphanAdoption, bo as classifyRecordedSecretRegion, br as demoteSupersededOrphans, c as nestedSsmNameDeferredNote, ca as buildFinalSnapshotIdentifier, cc as UNREADABLE_ORPHANS_CONTAINER_ROW, ci as noEchoParameterValueSeed, cl as crossPrefixDeniedWarning, cn as collectNestedChildUnaddressed, co as refuseUnreadableCdkCrossAccountRefs, cr as equalModuloMarkedMask, d as slashedSsmNameHealAdoptedNote, dc as malformedOrphansWarning, di as isExportAliasCollision, dl as stackInstanceIdOf, dn as deleteJournaledOrphans, do as assertSendableRoleArn, dr as updatePartialMessage, ds as isStatefulRecreateTargetForReplace, du as displayAssemblyPath, ea as PRE_DELETE_SNAPSHOT_TYPES, ec as malformedDriftResourcePropertiesWarning, ei as exportAliasCollisionScrubWarning, el as splitImportedOps, en as displacedPhysicalIdShown, er as canonicalizeIpProtocolValue, es as withSharedDrainBudget, eu as decodeListingKey, f as slashedSsmNameHealNote, fa as stripSiblingOwnedMembers, fc as refuseMalformedOrphans, fi as bindingSkippedOutputs, fl as withStackInstanceIdWithheld, fn as dropFailedCommands, fo as explicitRoleArnOrThrow, fr as updatePartialReason, fs as isStatefulRecreateTargetSync, g as makeCanonicalizePropertiesFn, ga as ProviderRegistry, gc as malformedExportSourceWarning, gl as buildAssetRedirectMap, gn as loadJournaledOrphans, go as AWS_CREDENTIAL_ENV_KEYS, gr as withCreateTokenLedger, gu as resolveBucketRegion, h as inheritedProvenanceForChildDiff, ha as CC_BROKEN_REASON, hc as malformedExportNamesWarning, hi as maskingRetryLogger, hn as journaledOrphanLines, ho as sendableAssumeRoleCommand, i as mergeNoChangeOutputs, ia as isFinalSnapshotError, ic as refuseMalformedResourcePropertiesForDrift, ii as carriedExportAliasExposure, il as rebuildClientForBucketRegion, in as recordDisplacedSkips, io as secretSegmentsOfState, ir as recordAfterRollbackUpdate, iu as hasOwnKey, j as recordedProtectionNote, ja as customResourcesFailedWithoutApp, jc as refuseMalformedResourcesForExport, ji as gray, jl as parseBootstrapMarker, jn as findDestructiveChanges, jo as parameterTypeMayLoseSecretIdentity, jr as findNestedStackTypeChanges, js as malformedOrphanRecordsWarning, k as diffSecurity, ka as NO_LOCAL_CUSTOM_RESOURCES_FLAG, kc as refuseMalformedResourcesForDeploy, ki as bold, kl as isCrossRegionRedirect, kn as noEchoValueMacsOf, ko as coerceParameterTypedValue, kr as resolveReplacementOldType, ks as isReadableOrphanRecord, l as nestedSsmNameRowNote, lc as hasReadableOrphans, li as collectDeclaredOutputNames, ll as isAccessDenied, ln as getCurrentNestedStackContext, lo as applyRoleArnIfSet, lr as equalModuloMask, ls as shownType, m as crossStackOutputProvenanceSource, mc as repairMalformedOrphansForReadOnly, mi as DEFAULT_RESOURCE_WARN_AFTER_MS, ml as isSensitiveAttributeName, mn as isHandledOrphan, mo as parseIamRoleArn, mr as ledgerForStack, mu as resolveAssemblyPath, n as isSecretBearingReferenceString, na as ccRoutedInstanceTakesNoSnapshot, ni as secretBearingStateKeyWarning, nl as hasReasonlessBaselineRefusal, nr as replayRollback, ns as INTRINSIC_KEYS, o as inRunStackKey, oa as unsupportedFinalSnapshotError, oc as refuseMalformedResourcePropertiesForOrphan, oi as exportNameSecretExposure, ol as CrossPrefixScanCache, on as revertedNestedRowIds, oo as resolveDynamicReferences, or as withUnprovenUnsettled, ou as nullPrototypeRecord, p as slashedSsmNameHealPendingNote, pc as refuseMalformedOrphansForDestroy, pi as DEFAULT_RESOURCE_TIMEOUT_MS, pl as isSecretValuedAttribute, pn as dropFailedHint, po as isIamRoleArn, ps as renderStatefulReason, pu as renderAssemblyPathEscape, qi as secretNamePrintingBags, ql as renderNestedTemplateTreeDefect, qn as proposeRenames, qr as inheritProducerRegions, qs as refuseMalformedResourceEntriesForDeploy, r as keptWholeReasonText, ra as effectiveDeletionPolicy, rc as refuseMalformedResourcePropertiesForDestroy, ri as secretSafeKeyDisplay, rl as hasUnverifiableParameterRefusal, rn as nestedChildStackName$1, ro as secretPhysicalIdSegment, rr as DELETED_RESOURCE_REMEDY, ru as defineOwnKey, s as checkNestedSsmNames, sa as createPreDeleteFinalSnapshot, sc as repairMalformedResourcePropertiesForReadOnly, si as isWholeDynamicReferenceValue, sl as applyCrossPrefixScan, sn as withNestedRevertRun, so as producerLookupOver, sr as calculateResourceDrift, ss as findReplacedReadersOfRecreateTargets, su as ownValue, t as DeployEngine, ta as ccRoutedFinalSnapshotError, tc as malformedResourcePropertiesWarning, ti as secretBearing, tn as dropSettledNestedJournals, tr as replayFailedOperations, u as healSlashedSsmParameterNames, uc as malformedOrphansRefusalMessage, ui as collectPublishedOutputNames, ul as isNotImplemented, un as withNestedStackContext, uo as assertFlagRoleArn, ur as undeclaredEmptyObservedKeys, us as MULTI_REGION_RECREATE_BLOCKED_TYPES, uu as describeFileReadFailure, v as conditionInputsFrom, va as isCustomResource, vc as malformedOutputsRefusalMessage, vn as makeForeignHolderScan, vo as callerEnvCredentials, vr as planRollback, w as pendingMovesRefusalMessage, wa as TemplateNoEchoReresolver, wc as STATE_REGION_DIVERGED, wi as supersededAfterRollback, wl as rewriteTemplateAssetReferences, wn as NOECHO_MAC_KEY_ALIAS, wr as recheckFailedPlan, ws as maskedInputProof, x as childTemplateLoader, xa as applyCustomResourceResponseExpiration, xc as refuseMalformedOutputs, xi as deleteSupersededEntry, xl as loadPublishableAssetManifest, xn as DeploymentEventsReader, xo as classifyReplaySecretRegion, xr as isJournaledOrphan, xs as maskedPropertyFingerprintsOf, y as parentSuppliedValues, ya as wouldReturnToSdkProvider, yc as malformedOutputsWarning, yi as withStackRecords, yn as makeSiblingClaimReader, yo as envCredentialsAreAssumedRole, yr as seedsDeleteFirstGuard, zc as displayLogicalId, zi as withAttemptedItemsMasked, zn as changedReferencePath, zr as nameGenerationCarriedFrom, zs as unreadableOrphanRecords, zt as sameMove } from "./deploy-engine-DIe64g1M.js";
|
|
10
10
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix, t as PARTITION_TABLE } from "./aws-partition-DA0r2sr-.js";
|
|
11
|
-
import { A as describeJsonParseFailure, C as PhaseClock, D as renderPhaseTimings, M as parseFailureDebugDetail, O as timePhase, P as utf8ByteLength, d as getCreateOnlyPropertyPaths, g as describeTypeWithThrottleRetry, m as templateResourceTypes, p as prefetchCreateOnlyPropertyPaths, x as withRetry } from "./ec2-termination-protection-
|
|
12
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
13
|
-
import { Ct as isReadableBag, Et as shouldRetainResource, Ot as stackInstanceIdCarriedFrom, St as importableOutputs, Tt as orphansCarriedFrom, _t as acceptedCreateOnlyDropsOf, bt as hasReadableExportSet, gt as slowCcOperationTimeoutMs, vt as describeRegionValueKind, wt as orphansAfterRollback, xt as importableOutputKeys, yt as exportNamesCarriedFrom } from "./delete-started-
|
|
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 { C as unsettledItemsField, E as unsettledPropertiesOf, O as withUnsettledProperties, i as withResourceDeadline, k as withoutUnsettledProperties, w as unsettledItemsOf } from "./resource-deadline-
|
|
16
|
-
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-
|
|
11
|
+
import { A as describeJsonParseFailure, C as PhaseClock, D as renderPhaseTimings, M as parseFailureDebugDetail, O as timePhase, P as utf8ByteLength, d as getCreateOnlyPropertyPaths, g as describeTypeWithThrottleRetry, m as templateResourceTypes, p as prefetchCreateOnlyPropertyPaths, x as withRetry } from "./ec2-termination-protection-BhINWGSK.js";
|
|
12
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-BiM4Hy8G.js";
|
|
13
|
+
import { Ct as isReadableBag, Et as shouldRetainResource, Ot as stackInstanceIdCarriedFrom, St as importableOutputs, Tt as orphansCarriedFrom, _t as acceptedCreateOnlyDropsOf, bt as hasReadableExportSet, gt as slowCcOperationTimeoutMs, vt as describeRegionValueKind, wt as orphansAfterRollback, xt as importableOutputKeys, yt as exportNamesCarriedFrom } from "./delete-started-BYb5bEiw.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-DEMSUsSU.js";
|
|
15
|
+
import { C as unsettledItemsField, E as unsettledPropertiesOf, O as withUnsettledProperties, i as withResourceDeadline, k as withoutUnsettledProperties, w as unsettledItemsOf } from "./resource-deadline-B34RyqEU.js";
|
|
16
|
+
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-B4jEXWEo.js";
|
|
17
17
|
import { t as cdkdCacheHome } from "./cli.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 { CreateAliasCommand, CreateKeyCommand, DescribeKeyCommand, KMSClient, ScheduleKeyDeletionCommand } from "@aws-sdk/client-kms";
|
|
34
34
|
import { BatchDeleteImageCommand, DeleteRepositoryCommand, DescribeImagesCommand as DescribeImagesCommand$1, ECRClient, GetAuthorizationTokenCommand } from "@aws-sdk/client-ecr";
|
|
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, 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, 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";
|
|
@@ -1543,7 +1543,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
1543
1543
|
// src/provisioning/register-providers.ts
|
|
1544
1544
|
let providerClasses;
|
|
1545
1545
|
function loadProviderClasses() {
|
|
1546
|
-
providerClasses ??= import("./provider-classes-
|
|
1546
|
+
providerClasses ??= import("./provider-classes-CaogwY3K.js");
|
|
1547
1547
|
return providerClasses;
|
|
1548
1548
|
}
|
|
1549
1549
|
function registerAllProviders(registry, classes) {
|
|
@@ -10092,26 +10092,6 @@ function isNoReadHandlerError(err) {
|
|
|
10092
10092
|
return false;
|
|
10093
10093
|
}
|
|
10094
10094
|
|
|
10095
|
-
// src/utils/ip-protocol.ts
|
|
10096
|
-
const PROTOCOL_NUMBER_TO_NAME = /* @__PURE__ */ new Map([
|
|
10097
|
-
["1", "icmp"],
|
|
10098
|
-
["6", "tcp"],
|
|
10099
|
-
["17", "udp"],
|
|
10100
|
-
["58", "icmpv6"]
|
|
10101
|
-
]);
|
|
10102
|
-
const CANONICAL_PROTOCOL_NAMES = new Set(PROTOCOL_NUMBER_TO_NAME.values());
|
|
10103
|
-
function canonicalizeIpProtocolValue(value) {
|
|
10104
|
-
let text;
|
|
10105
|
-
if (typeof value === "string") text = value;
|
|
10106
|
-
else if (typeof value === "number") text = String(value);
|
|
10107
|
-
else return value;
|
|
10108
|
-
const renamed = PROTOCOL_NUMBER_TO_NAME.get(text);
|
|
10109
|
-
if (renamed !== void 0) return renamed;
|
|
10110
|
-
const lowered = text.toLowerCase();
|
|
10111
|
-
if (CANONICAL_PROTOCOL_NAMES.has(lowered)) return lowered;
|
|
10112
|
-
return text;
|
|
10113
|
-
}
|
|
10114
|
-
|
|
10115
10095
|
// src/analyzer/drift-protocol-normalize.ts
|
|
10116
10096
|
const IP_PROTOCOL_PATHS = /* @__PURE__ */ new Map([
|
|
10117
10097
|
["AWS::EC2::SecurityGroupIngress", ["IpProtocol"]],
|
|
@@ -10816,9 +10796,9 @@ function corroboratedLeafCount(send, live, wildcardLeaf = isMaskLeaf) {
|
|
|
10816
10796
|
}
|
|
10817
10797
|
return total;
|
|
10818
10798
|
}
|
|
10819
|
-
if (isPlainRecord
|
|
10799
|
+
if (isPlainRecord(send)) {
|
|
10820
10800
|
if (!hasPlainPrototype(send)) return void 0;
|
|
10821
|
-
if (!isPlainRecord
|
|
10801
|
+
if (!isPlainRecord(live) || !hasPlainPrototype(live)) return void 0;
|
|
10822
10802
|
const keys = Object.keys(send);
|
|
10823
10803
|
if (keys.length !== Object.keys(live).length) return void 0;
|
|
10824
10804
|
let total = 0;
|
|
@@ -10938,8 +10918,8 @@ function preserveLiveValuesAtMaskedLeaves(send, awsProperties, secrets, corrobor
|
|
|
10938
10918
|
if (carriesSecretMask(value)) unpreservablePaths.push(path);
|
|
10939
10919
|
return value;
|
|
10940
10920
|
}
|
|
10941
|
-
const liveObject = isPlainRecord
|
|
10942
|
-
const corrObject = isPlainRecord
|
|
10921
|
+
const liveObject = isPlainRecord(live) ? live : void 0;
|
|
10922
|
+
const corrObject = isPlainRecord(corr) ? corr : void 0;
|
|
10943
10923
|
const out = Object.create(null);
|
|
10944
10924
|
for (const [k, v] of Object.entries(value)) out[k] = walk(v, corrObject === void 0 ? void 0 : ownValue(corrObject, k), liveObject === void 0 ? void 0 : ownValue(liveObject, k), path === "" ? k : `${path}.${k}`);
|
|
10945
10925
|
return out;
|
|
@@ -10962,7 +10942,7 @@ function isTagListKey(key) {
|
|
|
10962
10942
|
return key === "Tags" || key.endsWith("Tags");
|
|
10963
10943
|
}
|
|
10964
10944
|
function isCfnTagList(value) {
|
|
10965
|
-
return Array.isArray(value) && value.length > 0 && value.every((t) => isPlainRecord
|
|
10945
|
+
return Array.isArray(value) && value.length > 0 && value.every((t) => isPlainRecord(t) && typeof t.Key === "string");
|
|
10966
10946
|
}
|
|
10967
10947
|
function tagKeys(tags) {
|
|
10968
10948
|
return tags.map((t) => t["Key"]);
|
|
@@ -11028,8 +11008,8 @@ function collectMissingPaths(awsValue, desiredValue, path, out, isPreservedKey)
|
|
|
11028
11008
|
}
|
|
11029
11009
|
return;
|
|
11030
11010
|
}
|
|
11031
|
-
if (!isPlainRecord
|
|
11032
|
-
if (!isPlainRecord
|
|
11011
|
+
if (!isPlainRecord(awsValue)) return;
|
|
11012
|
+
if (!isPlainRecord(desiredValue)) {
|
|
11033
11013
|
if (desiredValue === void 0) out.add(path);
|
|
11034
11014
|
return;
|
|
11035
11015
|
}
|
|
@@ -11045,7 +11025,7 @@ function collectMissingPaths(awsValue, desiredValue, path, out, isPreservedKey)
|
|
|
11045
11025
|
function isKeyedList(value) {
|
|
11046
11026
|
return Array.isArray(value) && value.length > 0 && value.every((e) => typeof e === "object" && e !== null && typeof e.Key === "string");
|
|
11047
11027
|
}
|
|
11048
|
-
function isPlainRecord
|
|
11028
|
+
function isPlainRecord(value) {
|
|
11049
11029
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
11050
11030
|
}
|
|
11051
11031
|
function mergeUntemplatedValue(awsValue, desiredValue) {
|
|
@@ -11067,7 +11047,7 @@ function mergeUntemplatedValue(awsValue, desiredValue) {
|
|
|
11067
11047
|
}
|
|
11068
11048
|
return merged;
|
|
11069
11049
|
}
|
|
11070
|
-
if (!isPlainRecord
|
|
11050
|
+
if (!isPlainRecord(awsValue) || !isPlainRecord(desiredValue)) return desiredValue;
|
|
11071
11051
|
if (!hasPlainPrototype(awsValue) || !hasPlainPrototype(desiredValue)) return desiredValue;
|
|
11072
11052
|
const merged = Object.create(null);
|
|
11073
11053
|
for (const [key, value] of Object.entries(awsValue)) merged[key] = hasOwnKey(desiredValue, key) ? mergeUntemplatedValue(value, desiredValue[key]) : value;
|
|
@@ -11087,7 +11067,7 @@ function preserveLiveValuesAtUnresolvedTokens(send, awsProperties, unresolvedTok
|
|
|
11087
11067
|
}
|
|
11088
11068
|
if (value !== null && typeof value === "object") {
|
|
11089
11069
|
if (!hasPlainPrototype(value)) return value;
|
|
11090
|
-
const liveObject = isPlainRecord
|
|
11070
|
+
const liveObject = isPlainRecord(live) ? live : void 0;
|
|
11091
11071
|
const out = Object.create(null);
|
|
11092
11072
|
for (const [k, v] of Object.entries(value)) out[k] = walk(v, liveObject === void 0 ? void 0 : ownValue(liveObject, k));
|
|
11093
11073
|
return out;
|
|
@@ -11140,7 +11120,7 @@ function buildRevertNewProperties(drifts, desiredProperties, awsProperties, opti
|
|
|
11140
11120
|
return result;
|
|
11141
11121
|
}
|
|
11142
11122
|
function driftAbsentMeansDefaultKeys(provider, resourceType, properties) {
|
|
11143
|
-
if (provider.getDriftAbsentMeansDefaultKeys === void 0 || !isPlainRecord
|
|
11123
|
+
if (provider.getDriftAbsentMeansDefaultKeys === void 0 || !isPlainRecord(properties)) return [];
|
|
11144
11124
|
const keys = provider.getDriftAbsentMeansDefaultKeys(resourceType, properties);
|
|
11145
11125
|
const dotted = keys.filter((key) => key.includes("."));
|
|
11146
11126
|
if (dotted.length === 0) return keys;
|
|
@@ -11195,122 +11175,6 @@ function sameRecordedJson(candidate, recorded) {
|
|
|
11195
11175
|
return deepEqualUnordered(candidate === void 0 ? void 0 : JSON.parse(JSON.stringify(candidate)), recorded);
|
|
11196
11176
|
}
|
|
11197
11177
|
|
|
11198
|
-
// src/provisioning/sg-rule-identity.ts
|
|
11199
|
-
function sgProtocolKey(value) {
|
|
11200
|
-
return canonicalizeIpProtocolValue(value ?? "-1");
|
|
11201
|
-
}
|
|
11202
|
-
function cfnIngressPortValue(value) {
|
|
11203
|
-
if (value === void 0 || value === null) return -1;
|
|
11204
|
-
if (typeof value === "number") return Number.isFinite(value) ? value : NaN;
|
|
11205
|
-
if (typeof value === "string") {
|
|
11206
|
-
const trimmed = value.trim();
|
|
11207
|
-
if (trimmed === "") return -1;
|
|
11208
|
-
const parsed = Number(trimmed);
|
|
11209
|
-
return Number.isFinite(parsed) ? parsed : NaN;
|
|
11210
|
-
}
|
|
11211
|
-
return NaN;
|
|
11212
|
-
}
|
|
11213
|
-
|
|
11214
|
-
// src/provisioning/sg-sibling-rules.ts
|
|
11215
|
-
const RULE_TYPE = {
|
|
11216
|
-
ingress: "AWS::EC2::SecurityGroupIngress",
|
|
11217
|
-
egress: "AWS::EC2::SecurityGroupEgress"
|
|
11218
|
-
};
|
|
11219
|
-
const LIST_KEY = {
|
|
11220
|
-
ingress: "SecurityGroupIngress",
|
|
11221
|
-
egress: "SecurityGroupEgress"
|
|
11222
|
-
};
|
|
11223
|
-
const PEER_KEYS = {
|
|
11224
|
-
ingress: [
|
|
11225
|
-
"CidrIp",
|
|
11226
|
-
"CidrIpv6",
|
|
11227
|
-
"SourceSecurityGroupId",
|
|
11228
|
-
"SourceSecurityGroupName",
|
|
11229
|
-
"SourcePrefixListId"
|
|
11230
|
-
],
|
|
11231
|
-
egress: [
|
|
11232
|
-
"CidrIp",
|
|
11233
|
-
"CidrIpv6",
|
|
11234
|
-
"DestinationSecurityGroupId",
|
|
11235
|
-
"DestinationPrefixListId"
|
|
11236
|
-
]
|
|
11237
|
-
};
|
|
11238
|
-
function isPlainRecord(value) {
|
|
11239
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
11240
|
-
}
|
|
11241
|
-
function sgRuleOwnershipIdentity(rule, direction) {
|
|
11242
|
-
if (!isPlainRecord(rule)) return void 0;
|
|
11243
|
-
if ([
|
|
11244
|
-
"IpProtocol",
|
|
11245
|
-
"FromPort",
|
|
11246
|
-
"ToPort",
|
|
11247
|
-
...PEER_KEYS[direction]
|
|
11248
|
-
].some((key) => isRedactedRecordedValue(rule[key]))) return void 0;
|
|
11249
|
-
const from = cfnIngressPortValue(rule["FromPort"]);
|
|
11250
|
-
const to = cfnIngressPortValue(rule["ToPort"]);
|
|
11251
|
-
if (!Number.isFinite(from) || !Number.isFinite(to)) return void 0;
|
|
11252
|
-
return JSON.stringify([
|
|
11253
|
-
sgProtocolKey(rule["IpProtocol"]),
|
|
11254
|
-
from,
|
|
11255
|
-
to,
|
|
11256
|
-
...PEER_KEYS[direction].map((key) => rule[key] ?? null)
|
|
11257
|
-
]);
|
|
11258
|
-
}
|
|
11259
|
-
function siblingOwnedSgRuleIdentities(groupId, direction, properties, context) {
|
|
11260
|
-
const owned = /* @__PURE__ */ new Set();
|
|
11261
|
-
if (typeof groupId !== "string" || groupId === "") return owned;
|
|
11262
|
-
for (const sibling of Object.values(context?.siblings ?? {})) {
|
|
11263
|
-
if (sibling.resourceType !== RULE_TYPE[direction]) continue;
|
|
11264
|
-
const props = sibling.properties;
|
|
11265
|
-
if (!isPlainRecord(props) || props["GroupId"] !== groupId) continue;
|
|
11266
|
-
const identity = sgRuleOwnershipIdentity(props, direction);
|
|
11267
|
-
if (identity !== void 0) owned.add(identity);
|
|
11268
|
-
}
|
|
11269
|
-
if (owned.size === 0) return owned;
|
|
11270
|
-
const inline = properties?.[LIST_KEY[direction]];
|
|
11271
|
-
if (Array.isArray(inline)) for (const entry of inline) {
|
|
11272
|
-
const identity = sgRuleOwnershipIdentity(entry, direction);
|
|
11273
|
-
if (identity !== void 0) owned.delete(identity);
|
|
11274
|
-
}
|
|
11275
|
-
return owned;
|
|
11276
|
-
}
|
|
11277
|
-
function withoutSiblingOwnedSgRules(rules, owned, direction) {
|
|
11278
|
-
if (owned.size === 0) return [...rules];
|
|
11279
|
-
return rules.filter((rule) => {
|
|
11280
|
-
const identity = sgRuleOwnershipIdentity(rule, direction);
|
|
11281
|
-
return identity === void 0 || !owned.has(identity);
|
|
11282
|
-
});
|
|
11283
|
-
}
|
|
11284
|
-
function stripSiblingOwnedSgRules(resourceType, physicalId, baseline, aws, properties, context) {
|
|
11285
|
-
if (resourceType !== "AWS::EC2::SecurityGroup") return {
|
|
11286
|
-
baseline,
|
|
11287
|
-
aws
|
|
11288
|
-
};
|
|
11289
|
-
let out = {
|
|
11290
|
-
baseline,
|
|
11291
|
-
aws
|
|
11292
|
-
};
|
|
11293
|
-
for (const direction of ["ingress", "egress"]) {
|
|
11294
|
-
const owned = siblingOwnedSgRuleIdentities(physicalId, direction, properties, context);
|
|
11295
|
-
if (owned.size === 0) continue;
|
|
11296
|
-
const key = LIST_KEY[direction];
|
|
11297
|
-
const strip = (bag) => {
|
|
11298
|
-
const list = bag[key];
|
|
11299
|
-
if (!Array.isArray(list)) return bag;
|
|
11300
|
-
const kept = withoutSiblingOwnedSgRules(list, owned, direction);
|
|
11301
|
-
return kept.length === list.length ? bag : {
|
|
11302
|
-
...bag,
|
|
11303
|
-
[key]: kept
|
|
11304
|
-
};
|
|
11305
|
-
};
|
|
11306
|
-
out = {
|
|
11307
|
-
baseline: strip(out.baseline),
|
|
11308
|
-
aws: strip(out.aws)
|
|
11309
|
-
};
|
|
11310
|
-
}
|
|
11311
|
-
return out;
|
|
11312
|
-
}
|
|
11313
|
-
|
|
11314
11178
|
// src/cli/commands/drift/compare.ts
|
|
11315
11179
|
async function compareDriftReadback(args) {
|
|
11316
11180
|
const { region, resolvePrincipalUniqueId, outcomes, logger, secretResolvers, producerRegions, stackSecretNames, resource, logicalId, provider, secrets, printing, aws, readContext } = args;
|
|
@@ -26315,6 +26179,26 @@ async function templateSsmParameters(provider, template) {
|
|
|
26315
26179
|
}
|
|
26316
26180
|
|
|
26317
26181
|
// src/local/s3-local-state-provider.ts
|
|
26182
|
+
function withCfnRefPhysicalIds(resources) {
|
|
26183
|
+
const out = {};
|
|
26184
|
+
let changed = false;
|
|
26185
|
+
for (const [logicalId, resource] of Object.entries(resources)) {
|
|
26186
|
+
if (typeof resource.physicalId !== "string") {
|
|
26187
|
+
out[logicalId] = resource;
|
|
26188
|
+
continue;
|
|
26189
|
+
}
|
|
26190
|
+
const ref = cfnRefValueFromPhysicalId(resource.resourceType, resource.physicalId, refStateLookupFromResource(resource));
|
|
26191
|
+
if (ref === resource.physicalId || carriesSecretMask(ref)) out[logicalId] = resource;
|
|
26192
|
+
else {
|
|
26193
|
+
out[logicalId] = {
|
|
26194
|
+
...resource,
|
|
26195
|
+
physicalId: ref
|
|
26196
|
+
};
|
|
26197
|
+
changed = true;
|
|
26198
|
+
}
|
|
26199
|
+
}
|
|
26200
|
+
return changed ? out : resources;
|
|
26201
|
+
}
|
|
26318
26202
|
var S3LocalStateProvider = class {
|
|
26319
26203
|
label;
|
|
26320
26204
|
opts;
|
|
@@ -26355,7 +26239,7 @@ var S3LocalStateProvider = class {
|
|
|
26355
26239
|
else if (typeof v === "number" || typeof v === "boolean") outputs[k] = String(v);
|
|
26356
26240
|
else outputs[k] = JSON.stringify(v);
|
|
26357
26241
|
return {
|
|
26358
|
-
resources: loaded.state.resources,
|
|
26242
|
+
resources: withCfnRefPhysicalIds(loaded.state.resources),
|
|
26359
26243
|
outputs,
|
|
26360
26244
|
region: loaded.region
|
|
26361
26245
|
};
|
|
@@ -29864,6 +29748,11 @@ async function loadStateForRoutedStacks(stacks, routes, routesWithAuth, options)
|
|
|
29864
29748
|
const resource = owner.template.Resources?.[ref.logicalId];
|
|
29865
29749
|
if (resource && envHasIntrinsicValue$1(getTemplateEnv$1(resource))) intrinsicEnvStacks.add(owner.stackName);
|
|
29866
29750
|
}
|
|
29751
|
+
const jwtAuthorizerStacks = /* @__PURE__ */ new Set();
|
|
29752
|
+
for (const { authorizer } of routesWithAuth) if (authorizer?.kind === "jwt" && authorizer.pending) {
|
|
29753
|
+
jwtAuthorizerStacks.add(authorizer.pending.stackName);
|
|
29754
|
+
reachableStackNames.add(authorizer.pending.stackName);
|
|
29755
|
+
}
|
|
29867
29756
|
const stackHasIntrinsicEnv = (stackName) => intrinsicEnvStacks.has(stackName);
|
|
29868
29757
|
rejectExplicitCfnStackWithMultipleStacks(options, new Set([...reachableStackNames].map((name) => name.split("~")[0])).size);
|
|
29869
29758
|
const loads = /* @__PURE__ */ new Map();
|
|
@@ -29878,7 +29767,7 @@ async function loadStateForRoutedStacks(stacks, routes, routesWithAuth, options)
|
|
|
29878
29767
|
}
|
|
29879
29768
|
});
|
|
29880
29769
|
}
|
|
29881
|
-
for (const { stackName } of lambdas) {
|
|
29770
|
+
for (const { stackName } of [...lambdas, ...[...jwtAuthorizerStacks].map((n) => ({ stackName: n }))]) {
|
|
29882
29771
|
const key = stateBundleKey(stackName, UNNAMED_WORKLOAD);
|
|
29883
29772
|
if (!loads.has(key)) loads.set(key, {
|
|
29884
29773
|
stackName,
|
|
@@ -30299,6 +30188,7 @@ async function localStartApiCommand(target, options) {
|
|
|
30299
30188
|
let sigV4CredentialsLoader;
|
|
30300
30189
|
const sigV4WarnedForeignIds = /* @__PURE__ */ new Set();
|
|
30301
30190
|
const fromCfnTipEmitted = { value: false };
|
|
30191
|
+
const jwtIntrinsicWarned = /* @__PURE__ */ new Set();
|
|
30302
30192
|
const synthesizeAndBuild = async () => {
|
|
30303
30193
|
logger.info(synthesisStatusMessage(appCmd, "Synthesizing CDK app..."));
|
|
30304
30194
|
const synthesizer = localCommandSynthesizer();
|
|
@@ -30347,6 +30237,15 @@ async function localStartApiCommand(target, options) {
|
|
|
30347
30237
|
const corsConfigByStack = buildCorsConfigByStack(targetStacks);
|
|
30348
30238
|
const stateSourceActive = options.fromState || isCfnFlagPresent(options);
|
|
30349
30239
|
const stateByStack = stateSourceActive ? await loadStateForRoutedStacks(targetStacks, routes, routesWithAuth, options) : /* @__PURE__ */ new Map();
|
|
30240
|
+
routesWithAuth = resolveJwtAuthorizerIntrinsics(routesWithAuth, (stackName) => {
|
|
30241
|
+
const bundle = stateByStack.get(stateBundleKey(stackName, UNNAMED_WORKLOAD));
|
|
30242
|
+
if (!bundle) return void 0;
|
|
30243
|
+
const pseudoParameters = bundle.pseudoParameters ?? derivePseudoParametersFromRegion$1(bundle.region);
|
|
30244
|
+
return {
|
|
30245
|
+
resources: bundle.state.resources,
|
|
30246
|
+
...pseudoParameters && { pseudoParameters }
|
|
30247
|
+
};
|
|
30248
|
+
}, jwtIntrinsicWarned);
|
|
30350
30249
|
const profileCredentials = await profileCredentialsForWorkload(options.profile, resolveProfileCredentials);
|
|
30351
30250
|
if (options.profile && profileCredentials && !profileCredsFile) profileCredsFile = await writeProfileCredentialsFile(options.profile, profileCredentials, {
|
|
30352
30251
|
onDirCreated: (hostPath) => {
|
|
@@ -34423,5 +34322,5 @@ function collectVerbFlags(program) {
|
|
|
34423
34322
|
return map;
|
|
34424
34323
|
}
|
|
34425
34324
|
|
|
34426
|
-
export { resolveSecretDerivedPrincipals as a, buildProgram,
|
|
34427
|
-
//# sourceMappingURL=program-
|
|
34325
|
+
export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, holdsUnprovenSecretPrincipalToken as r, canonicalizeIpv4Cidr as t };
|
|
34326
|
+
//# sourceMappingURL=program-pfwGZi1I.js.map
|