@go-to-k/cdkd 0.291.19 → 0.291.21

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Ct as CloudControlProvider, Fa as clearBucketRegionCache, Ha as AssetError, Hr as LockManager, Ia as resolveBucketRegion, Ka as DependencyError, Ki as Synthesizer, La as AwsClients, Qa as LockError, Ra as getAwsClients, Sa as AssemblyReader, Ua as CdkdError, Ur as S3StateBackend, Va as setAwsClients, Wa as ConfigError, _n as DiffCalculator, br as DagBuilder, ci as AssetPublisher, co as SynthesisError, ct as IAMRoleProvider, do as normalizeAwsError, lo as formatError, no as ProvisioningError, pt as ProviderRegistry, r as DeployEngine, so as StateError, uo as isCdkdError, xr as TemplateParser, za as resetAwsClients } from "./deploy-engine-OgrMdBRR.js";
1
+ import { Fa as clearBucketRegionCache, Ha as AssetError, Hr as LockManager, Ia as resolveBucketRegion, Ka as DependencyError, Ki as Synthesizer, La as AwsClients, Qa as LockError, Ra as getAwsClients, Sa as AssemblyReader, Ua as CdkdError, Ur as S3StateBackend, Va as setAwsClients, Wa as ConfigError, _n as DiffCalculator, br as DagBuilder, ci as AssetPublisher, co as SynthesisError, ct as IAMRoleProvider, do as normalizeAwsError, dt as ProviderRegistry, lo as formatError, no as ProvisioningError, r as DeployEngine, so as StateError, uo as isCdkdError, xr as TemplateParser, xt as CloudControlProvider, za as resetAwsClients } from "./deploy-engine-BAOtjfHX.js";
2
2
  import { a as setLogger, n as getLogger, t as ConsoleLogger } from "./logger-Bt0RGDfb.js";
3
3
 
4
4
  export { AssemblyReader, AssetError, AssetPublisher, AwsClients, CdkdError, CloudControlProvider, ConfigError, ConsoleLogger, DagBuilder, DependencyError, DeployEngine, DiffCalculator, IAMRoleProvider, LockError, LockManager, ProviderRegistry, ProvisioningError, S3StateBackend, StateError, SynthesisError, Synthesizer, TemplateParser, clearBucketRegionCache, formatError, getAwsClients, getLogger, isCdkdError, normalizeAwsError, resetAwsClients, resolveBucketRegion, setAwsClients, setLogger };
@@ -1,8 +1,8 @@
1
- import { $ as yellow, $a as MalformedProducerRecordRefusalError, $i as resolveSkipPrefix, $n as refuseMalformedOutputsForDestroy, $r as hasReadableExportSet, $t as readConfigString, A as createPreDeleteFinalSnapshot, Aa as ownValue, Ai as describeDockerFailure, An as malformedExportSourceWarning, Ar as identityKeyFor, At as disableInstanceApiTermination, B as isStatefulRecreateTargetSync, Ba as runWithStackAwsClients, Bi as runDockerStreaming, Bn as malformedResourceEntriesWarning, Br as redactSecretsForState, Bt as isUnboundTemplateParameter, C as namesAnyDeclaredParameter, Ca as failedStageNote, Ci as validateAssetBucketName, Cn as displayLogicalId, Co as safeStringify, Cr as STATE_SOURCED_CROSS_GENERATION_RULES, Ct as CloudControlProvider, D as PRE_DELETE_SNAPSHOT_TYPES, Da as hasOwnKey, Di as resolveDockerContextDirectory, Dn as isReadableOrphanRecord, Dr as createSecretMasker, Dt as deleteIndeterminateGuards, E as ATOMIC_FINAL_SNAPSHOT_TYPES, Ea as defineOwnKey, Ei as buildDockerImage, En as hasReadableResources, Er as carriesSecretMask, Et as UNSPECIFIED_SKIP_REASON, F as extractDeploymentEventError, Fi as isDockerClientEnvKey, Fn as malformedOrphansRefusalMessage, Fr as maskSecretsInText, Ft as cfnRefValueFromPhysicalId, G as toCfnInteger, Ga as CrossAccountSecretRefusalError, Gi as getDockerImageBySourceHash, Gn as refuseDivergentRecordRegionForDestroy, Gr as UNREPRODUCIBLE_LOCK_CLAUSE, Gt as normalizeAwsTagsToCfn, H as WARM_THROUGHPUT_MEMBERS, Hi as escapeRegExp, Hn as malformedResourcesWarning, Hr as LockManager, Ht as refStateLookupFromResource, I as makeSiblingClaimReader, Ia as resolveBucketRegion, Ii as isMalformedEnvKey, In as malformedOrphansWarning, Ir as pathCrossesDottedKey, It as coerceParameterTypedValue, J as bold, Ja as DynamicReferenceRegionAmbiguousError, Ji as getDefaultStateBucketName, Jn as refuseMalformedOrphanRecordsForDestroy, Jr as forceQuitRecoveryClause, Jt as coerceCfnBoolean, K as toFiniteNumber, Ki as Synthesizer, Kn as refuseMalformedNestedChildOutputs, Kr as buildForceUnlockCommand, Kt as resolveExplicitPhysicalId, L as planOrphanAdoption, La as AwsClients, Li as partitionSensitiveEnv, Ln as malformedOutputsRefusalMessage, Lr as recordMaskOnlyValue, Lt as getAccountInfo, M as refusesFinalSnapshot, Ma as displayAssemblyPath, Mi as finchSecretArgvRefusal, Mn as malformedOrphanRecordsRefusalMessage, Mr as isUncertifiedBaselineMaskPosition, Mt as IntrinsicFunctionResolver, N as unsupportedFinalSnapshotError, Na as renderAssemblyPathEscape, Ni as formatDockerLoginError, Nn as malformedOrphanRecordsWarning, Nr as markSameGenerationBag, Nt as carriesDynamicReference, O as buildFinalSnapshotIdentifier, Oa as hasPlainPrototype, Oi as describeDockerCapturedOutput, On as isReadableResourceEntry, Or as dynamicReferenceTokens, Ot as deleteSkipReason, P as makeCanonicalizePropertiesFn, Pa as resolveAssemblyPath, Pi as getDockerCmd, Pn as malformedOrphanRowsKeptWarning, Pr as maskSecretsInError, Pt as carriesFetchableDynamicReference, Q as red, Qi as resolveCaptureObservedState, Qn as refuseMalformedOutputs, Qr as exportNamesCarriedFrom, Qt as configStringRefusal, R as MULTI_REGION_RECREATE_BLOCKED_TYPES, Ra as getAwsClients, Ri as redactDockerArgvValues, Rn as malformedOutputsWarning, Rr as recordMaskOnlyValuesIn, Rt as isImpossibleEmptyStoredAttribute, S as computeParameterTaint, Sa as AssemblyReader, Si as readBootstrapMarkerBody, Sn as deployRefusesOrphanRowsReason, So as describeAwsFailure, Sr as STATE_SOURCED_BASELINE_RULES, St as startInterruptWatch, T as resourcesNamingDeclaredParameter, Ta as processStackMessages, Ti as buildDenyExternalAccessPolicy, Tn as hasReadableOutputs, Tr as TEMPLATE_SOURCED_RULES, Tt as ccProtectionRegistryTypes, U as coerceWarmThroughput$1, Ua as CdkdError, Ui as stripControlChars, Un as malformedStateRefusalMessage, Ur as S3StateBackend, Ut as isSettledInstanceState, V as renderStatefulReason, Va as setAwsClients, Vi as warnFinchArgvExposure, Vn as malformedResourcePropertiesWarning, Vr as scrubResourceRecord, Vt as parameterTypeMayLoseSecretIdentity, W as isWarmThroughputDecrease, Wi as AssetManifestLoader, Wn as previewableOrphanRecords, Wr as rebuildClientForBucketRegion, Wt as WAFv2WebACLProvider, X as gray, Xa as LocalInvokeBuildError$1, Xi as resolveApp, Xn as refuseMalformedOrphansForDestroy, Xr as CUSTOM_RESOURCE_RESPONSE_PREFIX, Xt as configBooleanRefusal, Y as cyan, Ya as IntrinsicResolutionRefusalError, Yi as getLegacyStateBucketName, Yn as refuseMalformedOrphans, Yr as formatLockExpiry, Yt as coerceCfnInteger, Z as green, Za as LocalStartServiceError, Zi as resolveAutoAssetStorage, Zn as refuseMalformedOrphansForOrphan, Zr as DEFAULT_STATE_PREFIX, Zt as configIntegerRefusal, _ as bagHoldsSecretExpression, _a as expectedOwnerParam, _i as assertAssetBucketRegion, _n as DiffCalculator, _o as isThrottlingError, _r as findSilentDropProperties, _t as maskerOrIdentity, a as DeploymentEventsStore, aa as ssmResolvedValueType, ai as orphansAfterRollback, an as producerRegionsFromState, ao as StackHasActiveImportsError, ar as refuseMalformedState, at as secretBearingStateKeyWarning, b as mergeNoChangeOutputs, ba as derivePartitionAndUrlSuffix, bi as isCrossRegionRedirect, bn as UNREADABLE_ORPHANS_CONTAINER_ROW, bo as markRedactedCause, br as DagBuilder, bt as interruptWatchListenerCount, c as replayFailedOperations, ca as MIGRATE_TMP_PREFIX, ci as AssetPublisher, cn as s3BucketDomainName, co as SynthesisError, cr as repairMalformedOutputsForReadOnly, ct as IAMRoleProvider, d as updatePartialMessage, da as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, di as buildAssetRedirectMap, dn as s3BucketWebsiteUrl, do as normalizeAwsError, dr as repairMalformedResourcesForReadOnly, dt as definedAttributes, ea as resolveStateBucketWithDefault, ei as hasReasonlessBaselineRefusal, en as replayWarn, eo as NestedStackChildDirectDestroyError, er as refuseMalformedResourceAttributesForOrphan, et as collectDeclaredOutputNames, f as updatePartialReason, fa as injectiveKey, fi as createAssetRedirectResolver, fn as applyRoleArnIfSet, fo as withErrorHandling, fr as safeRegion, ft as stringifyIfAssigned, g as computeImplicitDeleteEdges, ga as decodeListingKey, gi as BOOTSTRAP_MARKER_PREFIX, gn as envCredentialsAreAssumedRole, go as isRetryableTransientError, gr as findActionableSilentDrops, gt as maskDeep, h as IMPLICIT_DELETE_DEPENDENCIES, ha as producerRecordKey, hi as AssetModeResolver, hn as callerEnvCredentials, ho as isMarkedNonRetryable, hr as unreadableOrphanRecords, ht as createMaskedRetryLogger, i as DeploymentEventsReader, ia as warnDeprecatedNoPrefixCliFlag, ii as isReadableBag, in as classifyReplaySecretRegion, io as ResourceUpdateNotSupportedError, ir as refuseMalformedResourcesForDestroy, it as secretBearing, j as isFinalSnapshotError, ja as absoluteAssemblyPathEscape, ji as dockerSpawnEnvWithSensitive, jn as malformedLocalOutputsWarning, jr as isSingleDynamicReferenceToken, jt as isTerminationProtectionPropagationError, k as ccRoutedFinalSnapshotError, ka as nullPrototypeRecord, ki as describeDockerExecFailure, kn as malformedExportNamesWarning, kr as errorCauseChain, kt as isWaitAbandonedError, l as replayRollback, la as findLargeInlineResources, li as stringifyValue, ln as s3BucketDualStackDomainName, lr as repairMalformedResourceEntriesForReadOnly, lt as collectInlinePolicyNamesManagedBySiblings, m as maskingRetryLogger, ma as producerCoordinateKey, mi as rewriteTemplateAssetReferences, mn as applyCallerIdentityCredentials, mo as shellQuote, mr as unpreviewableOrphanRecords, mt as wouldReturnToSdkProvider, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as resolveUseCdkBootstrapAssets, ni as importableOutputKeys, nn as requireConfigObject, no as ProvisioningError, nr as refuseMalformedResourceEntriesForOrphan, nt as exportAliasCollisionScrubWarning, o as planFailedOps, oa as CFN_TEMPLATE_BODY_LIMIT, oi as orphansCarriedFrom, on as withSharedDrainBudget, oo as StackTerminationProtectionError, or as repairMalformedOrphanRecordsForReadOnly, ot as secretSafeKeyDisplay, p as withResourceDeadline, pa as injectiveKeyPrefix, pi as loadPublishableAssetManifest, pn as AWS_CREDENTIAL_ENV_KEYS, po as pasteableCommand, pr as safeStackName, pt as ProviderRegistry, q as formatResourceLine, qa as DeployCancelledError, qi as synthesisStatusMessage, qn as refuseMalformedOrphanRecords, qr as buildLockContentionMessage, qt as assertRegionMatch, r as DeployEngine, ra as stateBucketExistenceConfirmed, ri as importableOutputs, rn as requireConfigString, ro as ResourceTimeoutError, rr as refuseMalformedResourcePropertiesForOrphan, rt as isExportAliasCollision, s as planRollback, sa as CFN_TEMPLATE_URL_LIMIT, si as shouldRetainResource, sn as s3BucketArn, sr as repairMalformedOrphansForReadOnly, st as getCurrentResourceSecrets, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as resolveStateBucketWithDefaultAndSource, ti as hasUnverifiableParameterRefusal, tn as requireConfigArray, to as PartialFailureError, tr as refuseMalformedResourceEntries, tt as collectPublishedOutputNames, u as resolveReplacementOldType, ua as uploadCfnTemplate, ui as WorkGraph, un as s3BucketRegionalDomainName, ur as repairMalformedResourcePropertiesForReadOnly, ut as clearOnUpdateRemoval, v as isSecretBearingReferenceString, va as PARTITION_TABLE, vi as ensureAssetStorage, vn as INTRINSIC_KEYS, vo as isTransientServerError, vr as describeTypeWithThrottleRetry, vt as beginCommandInterruptScope, w as reachableDivergentParameters, wa as globMatches, wi as validateContainerRepoName, wn as hasReadableOrphans, wr as STATE_SOURCED_READBACK_RULES, wt as slowCcOperationTimeoutMs, x as bindingSkippedOutputs, xa as ambientClientDefaults, xi as parseBootstrapMarker, xn as UNREADABLE_RESOURCES_MAP_ROW, xo as retryClassificationText, xr as TemplateParser, xt as isInterruptedWaitError, y as keptWholeReasonText, ya as canonicalizeRegion, yi as getBootstrapMarkerKey, yn as STATE_RESOURCES_MALFORMED, yo as markNonRetryable, yr as withRetry, yt as endCommandInterruptScope, z as isStatefulRecreateTargetForReplace, za as resetAwsClients, zi as runDockerForeground, zn as malformedRenderedContainersWarning, zr as recoverMaskedOutput, zt as isNamelessDynamicReferenceError } from "./deploy-engine-OgrMdBRR.js";
1
+ import { $ as yellow, $a as MalformedProducerRecordRefusalError, $i as resolveSkipPrefix, $n as refuseMalformedOutputsForDestroy, $r as hasReadableExportSet, $t as requireConfigArray, A as createPreDeleteFinalSnapshot, Aa as ownValue, Ai as describeDockerFailure, An as malformedExportSourceWarning, Ar as identityKeyFor, At as IntrinsicFunctionResolver, B as isStatefulRecreateTargetSync, Ba as runWithStackAwsClients, Bi as runDockerStreaming, Bn as malformedResourceEntriesWarning, Br as redactSecretsForState, Bt as refStateLookupFromResource, C as namesAnyDeclaredParameter, Ca as failedStageNote, Ci as validateAssetBucketName, Cn as displayLogicalId, Co as safeStringify, Cr as STATE_SOURCED_CROSS_GENERATION_RULES, Ct as ccProtectionRegistryTypes, D as PRE_DELETE_SNAPSHOT_TYPES, Da as hasOwnKey, Di as resolveDockerContextDirectory, Dn as isReadableOrphanRecord, Dr as createSecretMasker, Dt as isWaitAbandonedError, E as ATOMIC_FINAL_SNAPSHOT_TYPES, Ea as defineOwnKey, Ei as buildDockerImage, En as hasReadableResources, Er as carriesSecretMask, Et as deleteSkipReason, F as extractDeploymentEventError, Fi as isDockerClientEnvKey, Fn as malformedOrphansRefusalMessage, Fr as maskSecretsInText, Ft as getAccountInfo, G as toCfnInteger, Ga as CrossAccountSecretRefusalError, Gi as getDockerImageBySourceHash, Gn as refuseDivergentRecordRegionForDestroy, Gr as UNREPRODUCIBLE_LOCK_CLAUSE, Gt as assertRegionMatch, H as WARM_THROUGHPUT_MEMBERS, Hi as escapeRegExp, Hn as malformedResourcesWarning, Hr as LockManager, Ht as WAFv2WebACLProvider, I as makeSiblingClaimReader, Ia as resolveBucketRegion, Ii as isMalformedEnvKey, In as malformedOrphansWarning, Ir as pathCrossesDottedKey, It as isImpossibleEmptyStoredAttribute, J as bold, Ja as DynamicReferenceRegionAmbiguousError, Ji as getDefaultStateBucketName, Jn as refuseMalformedOrphanRecordsForDestroy, Jr as forceQuitRecoveryClause, Jt as configBooleanRefusal, K as toFiniteNumber, Ki as Synthesizer, Kn as refuseMalformedNestedChildOutputs, Kr as buildForceUnlockCommand, Kt as coerceCfnBoolean, L as planOrphanAdoption, La as AwsClients, Li as partitionSensitiveEnv, Ln as malformedOutputsRefusalMessage, Lr as recordMaskOnlyValue, Lt as isNamelessDynamicReferenceError, M as refusesFinalSnapshot, Ma as displayAssemblyPath, Mi as finchSecretArgvRefusal, Mn as malformedOrphanRecordsRefusalMessage, Mr as isUncertifiedBaselineMaskPosition, Mt as carriesFetchableDynamicReference, N as unsupportedFinalSnapshotError, Na as renderAssemblyPathEscape, Ni as formatDockerLoginError, Nn as malformedOrphanRecordsWarning, Nr as markSameGenerationBag, Nt as cfnRefValueFromPhysicalId, O as buildFinalSnapshotIdentifier, Oa as hasPlainPrototype, Oi as describeDockerCapturedOutput, On as isReadableResourceEntry, Or as dynamicReferenceTokens, Ot as disableInstanceApiTermination, P as makeCanonicalizePropertiesFn, Pa as resolveAssemblyPath, Pi as getDockerCmd, Pn as malformedOrphanRowsKeptWarning, Pr as maskSecretsInError, Pt as coerceParameterTypedValue, Q as red, Qi as resolveCaptureObservedState, Qn as refuseMalformedOutputs, Qr as exportNamesCarriedFrom, Qt as replayWarn, R as MULTI_REGION_RECREATE_BLOCKED_TYPES, Ra as getAwsClients, Ri as redactDockerArgvValues, Rn as malformedOutputsWarning, Rr as recordMaskOnlyValuesIn, Rt as isUnboundTemplateParameter, S as computeParameterTaint, Sa as AssemblyReader, Si as readBootstrapMarkerBody, Sn as deployRefusesOrphanRowsReason, So as describeAwsFailure, Sr as STATE_SOURCED_BASELINE_RULES, St as slowCcOperationTimeoutMs, T as resourcesNamingDeclaredParameter, Ta as processStackMessages, Ti as buildDenyExternalAccessPolicy, Tn as hasReadableOutputs, Tr as TEMPLATE_SOURCED_RULES, Tt as deleteIndeterminateGuards, U as coerceWarmThroughput$1, Ua as CdkdError, Ui as stripControlChars, Un as malformedStateRefusalMessage, Ur as S3StateBackend, Ut as normalizeAwsTagsToCfn, V as renderStatefulReason, Va as setAwsClients, Vi as warnFinchArgvExposure, Vn as malformedResourcePropertiesWarning, Vr as scrubResourceRecord, Vt as isSettledInstanceState, W as isWarmThroughputDecrease, Wi as AssetManifestLoader, Wn as previewableOrphanRecords, Wr as rebuildClientForBucketRegion, Wt as resolveExplicitPhysicalId, X as gray, Xa as LocalInvokeBuildError$1, Xi as resolveApp, Xn as refuseMalformedOrphansForDestroy, Xr as CUSTOM_RESOURCE_RESPONSE_PREFIX, Xt as configStringRefusal, Y as cyan, Ya as IntrinsicResolutionRefusalError, Yi as getLegacyStateBucketName, Yn as refuseMalformedOrphans, Yr as formatLockExpiry, Yt as configIntegerRefusal, Z as green, Za as LocalStartServiceError, Zi as resolveAutoAssetStorage, Zn as refuseMalformedOrphansForOrphan, Zr as DEFAULT_STATE_PREFIX, Zt as readConfigString, _ as bagHoldsSecretExpression, _a as expectedOwnerParam, _i as assertAssetBucketRegion, _n as DiffCalculator, _o as isThrottlingError, _r as findSilentDropProperties, _t as endCommandInterruptScope, a as DeploymentEventsStore, aa as ssmResolvedValueType, ai as orphansAfterRollback, an as producerRegionsFromState, ao as StackHasActiveImportsError, ar as refuseMalformedState, at as secretBearingStateKeyWarning, b as mergeNoChangeOutputs, ba as derivePartitionAndUrlSuffix, bi as isCrossRegionRedirect, bn as UNREADABLE_ORPHANS_CONTAINER_ROW, bo as markRedactedCause, br as DagBuilder, bt as startInterruptWatch, c as replayFailedOperations, ca as MIGRATE_TMP_PREFIX, ci as AssetPublisher, cn as s3BucketDomainName, co as SynthesisError, cr as repairMalformedOutputsForReadOnly, ct as IAMRoleProvider, d as updatePartialMessage, da as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, di as buildAssetRedirectMap, dn as s3BucketWebsiteUrl, do as normalizeAwsError, dr as repairMalformedResourcesForReadOnly, dt as ProviderRegistry, ea as resolveStateBucketWithDefault, ei as hasReasonlessBaselineRefusal, en as requireConfigObject, eo as NestedStackChildDirectDestroyError, er as refuseMalformedResourceAttributesForOrphan, et as collectDeclaredOutputNames, f as updatePartialReason, fa as injectiveKey, fi as createAssetRedirectResolver, fn as applyRoleArnIfSet, fo as withErrorHandling, fr as safeRegion, ft as wouldReturnToSdkProvider, g as computeImplicitDeleteEdges, ga as decodeListingKey, gi as BOOTSTRAP_MARKER_PREFIX, gn as envCredentialsAreAssumedRole, go as isRetryableTransientError, gr as findActionableSilentDrops, gt as beginCommandInterruptScope, h as IMPLICIT_DELETE_DEPENDENCIES, ha as producerRecordKey, hi as AssetModeResolver, hn as callerEnvCredentials, ho as isMarkedNonRetryable, hr as unreadableOrphanRecords, ht as maskerOrIdentity, i as DeploymentEventsReader, ia as warnDeprecatedNoPrefixCliFlag, ii as isReadableBag, in as classifyReplaySecretRegion, io as ResourceUpdateNotSupportedError, ir as refuseMalformedResourcesForDestroy, it as secretBearing, j as isFinalSnapshotError, ja as absoluteAssemblyPathEscape, ji as dockerSpawnEnvWithSensitive, jn as malformedLocalOutputsWarning, jr as isSingleDynamicReferenceToken, jt as carriesDynamicReference, k as ccRoutedFinalSnapshotError, ka as nullPrototypeRecord, ki as describeDockerExecFailure, kn as malformedExportNamesWarning, kr as errorCauseChain, kt as isTerminationProtectionPropagationError, l as replayRollback, la as findLargeInlineResources, li as stringifyValue, ln as s3BucketDualStackDomainName, lr as repairMalformedResourceEntriesForReadOnly, lt as collectInlinePolicyNamesManagedBySiblings, m as maskingRetryLogger, ma as producerCoordinateKey, mi as rewriteTemplateAssetReferences, mn as applyCallerIdentityCredentials, mo as shellQuote, mr as unpreviewableOrphanRecords, mt as maskDeep, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as resolveUseCdkBootstrapAssets, ni as importableOutputKeys, nn as definedAttributes, no as ProvisioningError, nr as refuseMalformedResourceEntriesForOrphan, nt as exportAliasCollisionScrubWarning, o as planFailedOps, oa as CFN_TEMPLATE_BODY_LIMIT, oi as orphansCarriedFrom, on as withSharedDrainBudget, oo as StackTerminationProtectionError, or as repairMalformedOrphanRecordsForReadOnly, ot as secretSafeKeyDisplay, p as withResourceDeadline, pa as injectiveKeyPrefix, pi as loadPublishableAssetManifest, pn as AWS_CREDENTIAL_ENV_KEYS, po as pasteableCommand, pr as safeStackName, pt as createMaskedRetryLogger, q as formatResourceLine, qa as DeployCancelledError, qi as synthesisStatusMessage, qn as refuseMalformedOrphanRecords, qr as buildLockContentionMessage, qt as coerceCfnInteger, r as DeployEngine, ra as stateBucketExistenceConfirmed, ri as importableOutputs, rn as stringifyIfAssigned, ro as ResourceTimeoutError, rr as refuseMalformedResourcePropertiesForOrphan, rt as isExportAliasCollision, s as planRollback, sa as CFN_TEMPLATE_URL_LIMIT, si as shouldRetainResource, sn as s3BucketArn, sr as repairMalformedOrphansForReadOnly, st as getCurrentResourceSecrets, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as resolveStateBucketWithDefaultAndSource, ti as hasUnverifiableParameterRefusal, tn as requireConfigString, to as PartialFailureError, tr as refuseMalformedResourceEntries, tt as collectPublishedOutputNames, u as resolveReplacementOldType, ua as uploadCfnTemplate, ui as WorkGraph, un as s3BucketRegionalDomainName, ur as repairMalformedResourcePropertiesForReadOnly, ut as clearOnUpdateRemoval, v as isSecretBearingReferenceString, va as PARTITION_TABLE, vi as ensureAssetStorage, vn as INTRINSIC_KEYS, vo as isTransientServerError, vr as describeTypeWithThrottleRetry, vt as interruptWatchListenerCount, w as reachableDivergentParameters, wa as globMatches, wi as validateContainerRepoName, wn as hasReadableOrphans, wr as STATE_SOURCED_READBACK_RULES, wt as UNSPECIFIED_SKIP_REASON, x as bindingSkippedOutputs, xa as ambientClientDefaults, xi as parseBootstrapMarker, xn as UNREADABLE_RESOURCES_MAP_ROW, xo as retryClassificationText, xr as TemplateParser, xt as CloudControlProvider, y as keptWholeReasonText, ya as canonicalizeRegion, yi as getBootstrapMarkerKey, yn as STATE_RESOURCES_MALFORMED, yo as markNonRetryable, yr as withRetry, yt as isInterruptedWaitError, z as isStatefulRecreateTargetForReplace, za as resetAwsClients, zi as runDockerForeground, zn as malformedRenderedContainersWarning, zr as recoverMaskedOutput, zt as parameterTypeMayLoseSecretIdentity } from "./deploy-engine-BAOtjfHX.js";
2
2
  import { C as displayAwsMessage, D as isPasteableIdent, E as displayStackName, O as truncateCodePoints, S as UNRENDERABLE, T as displaySafe, _ as withSkipPrefix, b as SECRET_REF_MAX_CODE_POINTS, c as PATTERN_B_NAME_OPTIONS, f as explicitNamePropertyFor, h as getCurrentStackName, i as reserveStdoutForPayload, l as PATTERN_B_NAME_PROPERTIES, m as generateResourceNameWithFallback, n as getLogger, o as runStackBuffered, p as generateResourceName, s as getLiveRenderer, u as PATTERN_B_RESOURCE_TYPES, v as withStackName, w as displayIdent, x as STACK_REF_MAX_CODE_POINTS } from "./logger-Bt0RGDfb.js";
3
3
  import { n as awsClientDefaults, s as ambientRegion } from "./aws-client-defaults-jISU4PHo.js";
4
- import { t as getCdkdVersion } from "./version-2QIPw29e.js";
5
- import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-Dpki2-Xd.js";
4
+ import { t as getCdkdVersion } from "./version-ELgusB_X.js";
5
+ import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-HsFVvUCB.js";
6
6
  import { AsyncLocalStorage } from "node:async_hooks";
7
7
  import { createHash, randomBytes, randomUUID } from "node:crypto";
8
8
  import { CopyObjectCommand, CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
@@ -38213,6 +38213,15 @@ var AgentCoreEvaluatorProvider = class {
38213
38213
  //#endregion
38214
38214
  //#region src/provisioning/providers/stepfunctions-provider.ts
38215
38215
  /**
38216
+ * CloudFormation's `StateMachineRevisionId` for a described state machine.
38217
+ * `DescribeStateMachine` omits `revisionId` until the machine is first
38218
+ * updated, and CloudFormation then reports `INITIAL` (measured live,
38219
+ * 2026-09-25, issue #3627), so the absent value maps to that.
38220
+ */
38221
+ function stateMachineRevisionId(described) {
38222
+ return described.revisionId ?? "INITIAL";
38223
+ }
38224
+ /**
38216
38225
  * AWS Step Functions State Machine Provider
38217
38226
  *
38218
38227
  * Implements resource provisioning for AWS::StepFunctions::StateMachine using the SFN SDK.
@@ -38280,17 +38289,23 @@ var StepFunctionsProvider = class {
38280
38289
  tags,
38281
38290
  encryptionConfiguration
38282
38291
  };
38283
- const response = await this.getClient().send(new CreateStateMachineCommand(createParams));
38284
- const stateMachineArn = response.stateMachineArn;
38292
+ const stateMachineArn = (await this.getClient().send(new CreateStateMachineCommand(createParams))).stateMachineArn;
38285
38293
  if (!stateMachineArn) throw new Error("CreateStateMachine did not return stateMachineArn");
38286
38294
  this.logger.debug(`Successfully created Step Functions state machine ${logicalId}: ${stateMachineArn}`);
38295
+ const name = stateMachineArn.split(":").pop() || stateMachineName;
38296
+ let revisionId;
38297
+ try {
38298
+ revisionId = stateMachineRevisionId(await this.getClient().send(new DescribeStateMachineCommand({ stateMachineArn })));
38299
+ } catch (describeError) {
38300
+ this.logger.debug(`Could not read the revision id of ${logicalId} after create: ${describeAwsFailure(describeError).detail}`);
38301
+ }
38287
38302
  return {
38288
38303
  physicalId: stateMachineArn,
38289
- attributes: {
38304
+ attributes: definedAttributes({
38290
38305
  Arn: stateMachineArn,
38291
- Name: stateMachineArn.split(":").pop() || stateMachineName,
38292
- StateMachineRevisionId: response.stateMachineVersionArn
38293
- }
38306
+ Name: name,
38307
+ StateMachineRevisionId: revisionId
38308
+ })
38294
38309
  };
38295
38310
  } catch (error) {
38296
38311
  if (error instanceof ProvisioningError) throw error;
@@ -38325,7 +38340,7 @@ var StepFunctionsProvider = class {
38325
38340
  attributes: {
38326
38341
  Arn: physicalId,
38327
38342
  Name: describeResponse.name,
38328
- StateMachineRevisionId: describeResponse.revisionId
38343
+ StateMachineRevisionId: stateMachineRevisionId(describeResponse)
38329
38344
  }
38330
38345
  };
38331
38346
  } catch (error) {
@@ -38433,10 +38448,14 @@ var StepFunctionsProvider = class {
38433
38448
  */
38434
38449
  async import(input) {
38435
38450
  if (input.knownPhysicalId) try {
38436
- await this.getClient().send(new DescribeStateMachineCommand({ stateMachineArn: input.knownPhysicalId }));
38451
+ const resp = await this.getClient().send(new DescribeStateMachineCommand({ stateMachineArn: input.knownPhysicalId }));
38437
38452
  return {
38438
38453
  physicalId: input.knownPhysicalId,
38439
- attributes: {}
38454
+ attributes: definedAttributes({
38455
+ Arn: input.knownPhysicalId,
38456
+ Name: resp.name,
38457
+ StateMachineRevisionId: stateMachineRevisionId(resp)
38458
+ })
38440
38459
  };
38441
38460
  } catch (err) {
38442
38461
  if (err instanceof StateMachineDoesNotExist) return null;
@@ -42647,10 +42666,16 @@ var RDSProvider = class {
42647
42666
  async importDBCluster(input) {
42648
42667
  const explicit = resolveExplicitPhysicalId(input, "DBClusterIdentifier");
42649
42668
  if (explicit) try {
42650
- await this.getClient().send(new DescribeDBClustersCommand({ DBClusterIdentifier: explicit }));
42669
+ const described = (await this.getClient().send(new DescribeDBClustersCommand({ DBClusterIdentifier: explicit }))).DBClusters?.[0];
42651
42670
  return {
42652
42671
  physicalId: explicit,
42653
- attributes: {}
42672
+ attributes: definedAttributes({
42673
+ "Endpoint.Address": described?.Endpoint,
42674
+ "Endpoint.Port": stringifyIfAssigned(described?.Port),
42675
+ "ReadEndpoint.Address": described?.ReaderEndpoint,
42676
+ Arn: described?.DBClusterArn,
42677
+ DBClusterResourceId: described?.DbClusterResourceId
42678
+ })
42654
42679
  };
42655
42680
  } catch (err) {
42656
42681
  if (err.name === "DBClusterNotFoundFault") return null;
@@ -48042,6 +48067,21 @@ var CognitoUserPoolProvider = class {
48042
48067
  return result;
48043
48068
  }
48044
48069
  /**
48070
+ * The attribute map a user pool records, derived as `create()` / `update()`
48071
+ * derive it (issue #3627): the resolver served the pool id for
48072
+ * `ProviderName` / `ProviderURL` after an import.
48073
+ */
48074
+ async userPoolAttributes(userPoolId, arn) {
48075
+ const region = await this.getClient().config.region();
48076
+ const { urlSuffix } = derivePartitionAndUrlSuffix(region);
48077
+ return definedAttributes({
48078
+ Arn: arn,
48079
+ ProviderName: `cognito-idp.${region}.${urlSuffix}/${userPoolId}`,
48080
+ ProviderURL: `https://cognito-idp.${region}.${urlSuffix}/${userPoolId}`,
48081
+ UserPoolId: userPoolId
48082
+ });
48083
+ }
48084
+ /**
48045
48085
  * Adopt an existing Cognito User Pool into cdkd state.
48046
48086
  *
48047
48087
  * User Pool physical id is the AWS-generated `<region>_<random>` id.
@@ -48059,10 +48099,10 @@ var CognitoUserPoolProvider = class {
48059
48099
  */
48060
48100
  async import(input) {
48061
48101
  if (input.knownPhysicalId) try {
48062
- await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: input.knownPhysicalId }));
48102
+ const resp = await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: input.knownPhysicalId }));
48063
48103
  return {
48064
48104
  physicalId: input.knownPhysicalId,
48065
- attributes: {}
48105
+ attributes: await this.userPoolAttributes(input.knownPhysicalId, resp.UserPool?.Arn)
48066
48106
  };
48067
48107
  } catch (err) {
48068
48108
  if (err instanceof ResourceNotFoundException$9) return null;
@@ -48076,10 +48116,19 @@ var CognitoUserPoolProvider = class {
48076
48116
  MaxResults: 60,
48077
48117
  ...marker && { NextToken: marker }
48078
48118
  }));
48079
- for (const pool of list.UserPools ?? []) if (pool.Id && pool.Name === desiredName) return {
48080
- physicalId: pool.Id,
48081
- attributes: {}
48082
- };
48119
+ for (const pool of list.UserPools ?? []) if (pool.Id && pool.Name === desiredName) {
48120
+ let resp;
48121
+ try {
48122
+ resp = await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: pool.Id }));
48123
+ } catch (err) {
48124
+ if (err instanceof ResourceNotFoundException$9) return null;
48125
+ throw err;
48126
+ }
48127
+ return {
48128
+ physicalId: pool.Id,
48129
+ attributes: await this.userPoolAttributes(pool.Id, resp.UserPool?.Arn)
48130
+ };
48131
+ }
48083
48132
  marker = list.NextToken;
48084
48133
  } while (marker);
48085
48134
  return null;
@@ -62857,18 +62906,27 @@ var S3VectorsProvider = class {
62857
62906
  * Lookup order:
62858
62907
  * 1. `--resource <id>=<name>` override or `Properties.VectorBucketName`
62859
62908
  * → verify via `GetVectorBucket`. The physical id is the bucket name.
62909
+ * An `s3vectors` bucket ARN — CloudFormation's physical id, which
62910
+ * `--migrate-from-cloudformation` passes verbatim — is looked up BY ARN,
62911
+ * and the name AWS reports is recorded (issue #3627).
62860
62912
  */
62861
62913
  async import(input) {
62862
62914
  const explicit = input.knownPhysicalId ?? (typeof input.properties?.["VectorBucketName"] === "string" && input.properties["VectorBucketName"].length > 0 ? input.properties["VectorBucketName"] : void 0);
62863
- if (explicit) try {
62864
- await this.getClient().send(new GetVectorBucketCommand({ vectorBucketName: explicit }));
62865
- return {
62866
- physicalId: explicit,
62867
- attributes: {}
62868
- };
62869
- } catch (err) {
62870
- if (this.isNotFoundError(err)) return null;
62871
- throw err;
62915
+ if (explicit) {
62916
+ const isArn = explicit.startsWith("arn:");
62917
+ if (isArn && !/^arn:[^:]+:s3vectors:[^:]*:[^:]*:bucket\/[^/]+$/.test(explicit)) return null;
62918
+ try {
62919
+ const resp = await this.getClient().send(new GetVectorBucketCommand(isArn ? { vectorBucketArn: explicit } : { vectorBucketName: explicit }));
62920
+ const name = isArn ? resp.vectorBucket?.vectorBucketName : explicit;
62921
+ if (!name) return null;
62922
+ return {
62923
+ physicalId: name,
62924
+ attributes: definedAttributes({ VectorBucketArn: resp.vectorBucket?.vectorBucketArn })
62925
+ };
62926
+ } catch (err) {
62927
+ if (this.isNotFoundError(err)) return null;
62928
+ throw err;
62929
+ }
62872
62930
  }
62873
62931
  return null;
62874
62932
  }
@@ -68584,6 +68642,14 @@ function deployRefusesPropertiesReason(logicalIds) {
68584
68642
  * nothing to report and `--fail` exited 0.
68585
68643
  */
68586
68644
  const DEPLOY_REFUSES_OUTPUTS_REASON = "The 'outputs' bag cannot be read. This preview repaired it to empty; 'cdkd deploy' refuses the record instead, so the deploy this previews will not start.";
68645
+ const DEPLOY_REFUSES_RESOURCES_BAG_REASON = "The 'resources' map cannot be read. This preview read it as empty; 'cdkd deploy' refuses the record instead, so the deploy this previews will not start.";
68646
+ function deployRefusesResourceEntriesReason(logicalIds) {
68647
+ return `${logicalIds.length} resource record(s) in 'resources' cannot be read as resources. This preview dropped them; 'cdkd deploy' refuses the record instead, so the deploy this previews will not start.`;
68648
+ }
68649
+ const DEPLOY_REFUSES_ORPHANS_CONTAINER_REASON = "The 'orphans' field is not a list. This preview read it as empty; 'cdkd deploy' refuses the record instead, so the deploy this previews will not start.";
68650
+ function deployRefusesDroppedOrphanRowsReason(logicalIds) {
68651
+ return `${logicalIds.length} rollback-orphan record(s) in 'orphans' cannot be read as resources. This preview dropped them; 'cdkd deploy' refuses the record instead, so the deploy this previews will not start.`;
68652
+ }
68587
68653
  /** How many unreadable row names the human preview lists before summarizing. */
68588
68654
  const UNREADABLE_PREVIEW_NAMES = 10;
68589
68655
  /** Empty template used to diff a removed nested child's state → all DELETE. */
@@ -68655,11 +68721,13 @@ async function loadStateOrEmpty(stackName, region, stateBackend) {
68655
68721
  if (repairMalformedResourcesForReadOnly(result.state)) {
68656
68722
  logger.warn(malformedResourcesWarning(stackName, region));
68657
68723
  unreadable.push(UNREADABLE_RESOURCES_MAP_ROW);
68724
+ deployRefusals.push(DEPLOY_REFUSES_RESOURCES_BAG_REASON);
68658
68725
  }
68659
68726
  const dropped = repairMalformedResourceEntriesForReadOnly(result.state);
68660
68727
  if (dropped.length > 0) {
68661
68728
  logger.warn(malformedResourceEntriesWarning(stackName, region, dropped));
68662
- unreadable.push(...dropped);
68729
+ for (const id of dropped) unreadable.push(id);
68730
+ deployRefusals.push(deployRefusesResourceEntriesReason(dropped));
68663
68731
  }
68664
68732
  const unreadableProps = repairMalformedResourcePropertiesForReadOnly(result.state);
68665
68733
  if (unreadableProps.length > 0) {
@@ -68673,6 +68741,7 @@ async function loadStateOrEmpty(stackName, region, stateBackend) {
68673
68741
  if (repairMalformedOrphansForReadOnly(result.state)) {
68674
68742
  logger.warn(malformedOrphansWarning(stackName, region));
68675
68743
  unreadable.push(UNREADABLE_ORPHANS_CONTAINER_ROW);
68744
+ deployRefusals.push(DEPLOY_REFUSES_ORPHANS_CONTAINER_REASON);
68676
68745
  }
68677
68746
  if (isReadableBag(result.state.outputs) && !hasReadableExportSet(result.state)) logger.warn(malformedExportNamesWarning(stackName, region));
68678
68747
  return {
@@ -68846,7 +68915,10 @@ async function computeStackDiff(currentState, template, region, stackName, state
68846
68915
  if (currentState.orphans?.length && options.previewOrphanAdoption) {
68847
68916
  for (const id of unpreviewableOrphanRecords(currentState)) unreadableOrphans.push(id);
68848
68917
  const readableOrphans = previewableOrphanRecords(currentState);
68849
- if (unreadableOrphans.length > 0) logger.warn(malformedOrphanRecordsWarning(stackName, region, unreadableOrphans, false));
68918
+ if (unreadableOrphans.length > 0) {
68919
+ logger.warn(malformedOrphanRecordsWarning(stackName, region, unreadableOrphans, false));
68920
+ deployRefusals.push(deployRefusesDroppedOrphanRowsReason(unreadableOrphans));
68921
+ }
68850
68922
  let reportedByTheAdoptedPropertiesArm = [];
68851
68923
  const plan = await options.previewOrphanAdoption({
68852
68924
  ...currentState,
@@ -91981,10 +92053,10 @@ async function assumeRoleForEcr(roleArn, callerRegion, logger) {
91981
92053
  }
91982
92054
  /**
91983
92055
  * Authenticate the local docker daemon against the target ECR registry.
91984
- * Kept apart from `DockerAssetPublisher.ecrLogin`, and it no longer mirrors it:
91985
- * the publisher still prefers `proxyEndpoint`, which is right only because it
91986
- * pushes to the CALLER's own registry, while a pull here can name any account
91987
- * and any host form, so this one always logs in to the pull host.
92056
+ * Kept apart from `DockerAssetPublisher.ecrLogin`, which follows the same rule
92057
+ * (it logs in to the push host, #3681) but builds its host from an account and
92058
+ * region, while a pull here can name any account and any host form parsed from
92059
+ * the image URI.
91988
92060
  *
91989
92061
  * The login endpoint is ALWAYS the host the PULL targets (issues #1855 /
91990
92062
  * #3670): docker's credential store is keyed on the hostname verbatim, so a
@@ -99068,4 +99140,4 @@ function buildProgram() {
99068
99140
 
99069
99141
  //#endregion
99070
99142
  export { buildProgram };
99071
- //# sourceMappingURL=program-L-XPPVLA.js.map
99143
+ //# sourceMappingURL=program-C6B7leIq.js.map