@go-to-k/cdkd 0.291.22 → 0.291.23
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/{asg-provider-B5acrjOr.js → asg-provider-ChgXLoRA.js} +2 -2
- package/dist/{asg-provider-B5acrjOr.js.map → asg-provider-ChgXLoRA.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-DGV6XNWO.js → deploy-engine-CCvNP_dA.js} +544 -169
- package/dist/deploy-engine-CCvNP_dA.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{program-BKAJWkPf.js → program-nxeZp1Qs.js} +40 -228
- package/dist/{program-BKAJWkPf.js.map → program-nxeZp1Qs.js.map} +1 -1
- package/dist/{version-BuD41yiK.js → version-BLo_Pzd-.js} +2 -2
- package/dist/{version-BuD41yiK.js.map → version-BLo_Pzd-.js.map} +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-DGV6XNWO.js.map +0 -1
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/state.ts","../src/deployment/secret-redaction.ts","../src/provisioning/region-check.ts","../src/types/resource.ts","../src/types/config.ts","../src/utils/logger.ts","../src/utils/error-handler.ts","../src/utils/aws-clients.ts","../src/utils/aws-region-resolver.ts","../src/types/assembly.ts","../src/synthesis/stack-messages.ts","../src/synthesis/failed-stages.ts","../src/synthesis/assembly-reader.ts","../src/cli/upload-cfn-template.ts","../src/synthesis/macro-expander.ts","../src/synthesis/synthesizer.ts","../src/types/deployment-events.ts","../src/provisioning/cloud-control-provider.ts","../src/provisioning/provider-registry.ts","../src/provisioning/final-snapshot.ts","../src/deployment/rollback-executor.ts","../src/types/rollback-journal.ts","../src/state/s3-noncurrent-version-purge.ts","../src/state/s3-state-backend.ts","../src/assets/asset-redirect.ts","../src/deployment/work-graph.ts","../src/assets/asset-publisher.ts","../src/state/lock-manager.ts","../src/analyzer/template-parser.ts","../src/analyzer/dag-builder.ts","../src/analyzer/diff-calculator.ts","../src/provisioning/providers/iam-role-provider.ts","../src/state/export-index-store.ts","../src/deployment/deploy-engine.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;KAiJY;UAyBK;EAEf;EAMA;EAYA;;UAsBe;EAUf;EAMA;EAQA;;UAMe;EAKf,SAAS;EAGT;EAMA;EAGA,WAAW,eAAe;EAG1B,SAAS;EAUT,UAAU;EAoBV,cAAc;EAqBd;EA0EA,iBAAiB;EAgBjB;EAcA;EAYA;EAwCA,UAAU;EAGV;;UASe;EAEf;EAGA;EAGA,OAAO;;UAMQ;EAEf;EAGA;EAGA,YAAY;EAcZ,qBAAqB;EAGrB,aAAa;EAGb;EAGA,WAAW;EAmBX;EAMA;EA0CA;EA6DA;EAiEA;;UA0Ce;EAEf;EAGA;EAGA;EAGA;;KAMU;UAKK;EAEf;EAGA,YAAY;EAGZ;EAGA,oBAAoB;EAGpB,oBAAoB;EAGpB,kBAAkB;EAWlB,mBAAmB;;UAUJ;EAEf;EACA;EACA;;UA+Te;EAEf;EAGA;EAGA;EAGA;EAYA;;;;KC3lCU,uBAAuB;KA6zOvB,gBAAgB;;;UCh2OX;EASf;EAyCA;EAwBA;EA0BA;;;;UClHe;EACf;EACA;EACA,aAAa,eAAe;EAC5B,WAAW,eAAe;EAC1B,UAAU,eAAe;EACzB,aAAa;EACb,WAAW;EAWX;EACA,QAAQ;;UAMO;EACf;EACA;EACA;EACA;EACA;EACA;EAMA;;UAMe;EACf;EACA,aAAa;EACb;EACA;EACA,WAAW;EACX,iBAAiB;EACjB,eAAe;EACf;EACA;;UAMe;EACf;EACA;EAOA;EACA;IACE;;;UAgCa;EAYf,sBAAsB;;UA8CP;EAKf;EAWA;;UAMe,6BAA6B,2BAA2B;EAEvE;EAEA,aAAa;;UAOL,iCAAiC,2BAA2B;EAEpE;EAEA;EAEA,aAAa;;KAwCH;WAGG;WAM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/state.ts","../src/deployment/secret-redaction.ts","../src/provisioning/region-check.ts","../src/types/resource.ts","../src/types/config.ts","../src/utils/logger.ts","../src/utils/error-handler.ts","../src/utils/aws-clients.ts","../src/utils/aws-region-resolver.ts","../src/types/assembly.ts","../src/synthesis/stack-messages.ts","../src/synthesis/failed-stages.ts","../src/synthesis/assembly-reader.ts","../src/cli/upload-cfn-template.ts","../src/synthesis/macro-expander.ts","../src/synthesis/synthesizer.ts","../src/types/deployment-events.ts","../src/provisioning/cloud-control-provider.ts","../src/provisioning/provider-registry.ts","../src/provisioning/final-snapshot.ts","../src/deployment/rollback-executor.ts","../src/types/rollback-journal.ts","../src/state/s3-noncurrent-version-purge.ts","../src/state/s3-state-backend.ts","../src/assets/asset-redirect.ts","../src/deployment/work-graph.ts","../src/assets/asset-publisher.ts","../src/state/lock-manager.ts","../src/analyzer/template-parser.ts","../src/analyzer/dag-builder.ts","../src/analyzer/diff-calculator.ts","../src/provisioning/providers/iam-role-provider.ts","../src/state/export-index-store.ts","../src/deployment/deploy-engine.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;KAiJY;UAyBK;EAEf;EAMA;EAYA;;UAsBe;EAUf;EAMA;EAQA;;UAMe;EAKf,SAAS;EAGT;EAMA;EAGA,WAAW,eAAe;EAG1B,SAAS;EAUT,UAAU;EAoBV,cAAc;EAqBd;EA0EA,iBAAiB;EAgBjB;EAcA;EAYA;EAwCA,UAAU;EAGV;;UASe;EAEf;EAGA;EAGA,OAAO;;UAMQ;EAEf;EAGA;EAGA,YAAY;EAcZ,qBAAqB;EAGrB,aAAa;EAGb;EAGA,WAAW;EAmBX;EAMA;EA0CA;EA6DA;EAiEA;;UA0Ce;EAEf;EAGA;EAGA;EAGA;;KAMU;UAKK;EAEf;EAGA,YAAY;EAGZ;EAGA,oBAAoB;EAGpB,oBAAoB;EAGpB,kBAAkB;EAWlB,mBAAmB;;UAUJ;EAEf;EACA;EACA;;UA+Te;EAEf;EAGA;EAGA;EAGA;EAY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,UAAU,yBAAyB,QAAQ;UAkEnE;UAuJA;UA2EA;UAiDA;UAiBA;UAyGA;iBA6GO;UA6PP;UAuFA;UA4EA;UA8BA;UAYM;UAmEN;UAsBA;UAUA;UA0IA;UAiDA;UAmCA;UAwBA;UA2BA;UAkCM;UAwGA;UA0GN;UAiDA;UA2IM;UA+hCA;UAqpBA;UA8FA;UA4DA;UAgCA;UA+BA;UA4CN;UAoCM;UA4CA;UAoVN;UAwBA;UAWA;UAkDA;UAmBA;UAwBA;UAyCM;UA0CA;UAgMA;UAiqEN;UA+CA;UA4DA;UA6FA;UA0IA;UAgCA;UAOA;UAoCA;UAgFA;UA4BM;UA6BN;UAiCA;UAmBA;UAgEA;UAiEM;UAkeN"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $a as DependencyError, Ga as getAwsClients, Ha as clearBucketRegionCache, Ja as setAwsClients, Ka as resetAwsClients, Kr as LockManager, Tr as TemplateParser, Ua as resolveBucketRegion, Wa as AwsClients, Xa as CdkdError, Xi as Synthesizer, Ya as AssetError, Za as ConfigError, _o as isCdkdError, ao as LockError, ct as IAMRoleProvider, dt as ProviderRegistry, fi as AssetPublisher, go as formatError, ho as SynthesisError, ka as AssemblyReader, lo as ProvisioningError, mo as StateError, qr as S3StateBackend, r as DeployEngine, vo as normalizeAwsError, vt as CloudControlProvider, wr as DagBuilder, xn as DiffCalculator } from "./deploy-engine-CCvNP_dA.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 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-DGV6XNWO.js";
|
|
1
|
+
import { $ as yellow, $i as getLegacyStateBucketName, $n as refuseMalformedOrphans, $r as formatLockExpiry, $t as configIntegerRefusal, A as createPreDeleteFinalSnapshot, Aa as failedStageNote, Ai as buildDockerImage, An as hasReadableResources, Ao as safeStringify, Ar as carriesSecretMask, At as deleteSkipReason, B as isStatefulRecreateTargetSync, Ba as renderAssemblyPathEscape, Bi as isMalformedEnvKey, Bn as malformedOrphansWarning, Br as pathCrossesDottedKey, Bt as isImpossibleEmptyStoredAttribute, C as namesAnyDeclaredParameter, Ca as canonicalizeRegion, Ci as getBootstrapMarkerKey, Cn as STATE_RESOURCES_MALFORMED, Co as isRetryableTransientError, Cr as withRetry, Ct as compositeIdSkipResult, D as PRE_DELETE_SNAPSHOT_TYPES, Da as clientDefaultsFor, Di as validateAssetBucketName, Dn as displayLogicalId, Do as markRedactedCause, Dr as STATE_SOURCED_CROSS_GENERATION_RULES, Dt as maskerOrIdentity, E as ATOMIC_FINAL_SNAPSHOT_TYPES, Ea as ambientCredentialConfig, Ei as readBootstrapMarkerBody, En as deployRefusesOrphanRowsReason, Eo as markNonRetryable, Er as STATE_SOURCED_BASELINE_RULES, Et as maskDeep, F as extractDeploymentEventError, Fa as hasPlainPrototype, Fi as dockerSpawnEnvWithSensitive, Fn as malformedLocalOutputsWarning, Fr as isSingleDynamicReferenceToken, Ft as carriesDynamicReference, G as toCfnInteger, Ga as getAwsClients, Gi as warnFinchArgvExposure, Gn as malformedResourcePropertiesWarning, Gr as scrubResourceRecord, Gt as isSettledInstanceState, H as WARM_THROUGHPUT_MEMBERS, Hi as redactDockerArgvValues, Hn as malformedOutputsWarning, Hr as recordMaskOnlyValuesIn, Ht as isUnboundTemplateParameter, I as makeSiblingClaimReader, Ia as nullPrototypeRecord, Ii as finchSecretArgvRefusal, In as malformedOrphanRecordsRefusalMessage, Ir as isUncertifiedBaselineMaskPosition, It as carriesFetchableDynamicReference, J as bold, Ja as setAwsClients, Ji as AssetManifestLoader, Jn as previewableOrphanRecords, Jr as rebuildClientForBucketRegion, Jt as resolveExplicitPhysicalId, K as toFiniteNumber, Ka as resetAwsClients, Ki as escapeRegExp, Kn as malformedResourcesWarning, Kr as LockManager, Kt as WAFv2WebACLProvider, L as planOrphanAdoption, La as ownValue, Li as formatDockerLoginError, Ln as malformedOrphanRecordsWarning, Lr as markSameGenerationBag, Lt as cfnRefValueFromPhysicalId, M as refusesFinalSnapshot, Ma as processStackMessages, Mi as describeDockerCapturedOutput, Mn as isReadableResourceEntry, Mr as dynamicReferenceTokens, Mt as disableInstanceApiTermination, N as unsupportedFinalSnapshotError, Na as defineOwnKey, Ni as describeDockerExecFailure, Nn as malformedExportNamesWarning, Nr as errorCauseChain, Nt as isTerminationProtectionPropagationError, O as buildFinalSnapshotIdentifier, Oa as credentialFingerprint, Oi as validateContainerRepoName, On as hasReadableOrphans, Oo as retryClassificationText, Or as STATE_SOURCED_READBACK_RULES, Ot as UNSPECIFIED_SKIP_REASON, P as makeCanonicalizePropertiesFn, Pa as hasOwnKey, Pi as describeDockerFailure, Pn as malformedExportSourceWarning, Pr as identityKeyFor, Pt as IntrinsicFunctionResolver, Q as red, Qa as CrossAccountSecretRefusalError, Qi as getDefaultStateBucketName, Qn as refuseMalformedOrphanRecordsForDestroy, Qr as forceQuitRecoveryClause, Qt as configBooleanRefusal, R as MULTI_REGION_RECREATE_BLOCKED_TYPES, Ra as absoluteAssemblyPathEscape, Ri as getDockerCmd, Rn as malformedOrphanRowsKeptWarning, Rr as maskSecretsInError, Rt as coerceParameterTypedValue, S as computeParameterTaint, Sa as PARTITION_TABLE, Si as ensureAssetStorage, Sn as INTRINSIC_KEYS, So as isMarkedNonRetryable, Sr as describeTypeWithThrottleRetry, St as compositeIdSeparatorRefusal, T as resourcesNamingDeclaredParameter, Ta as ambientClientDefaults, Ti as parseBootstrapMarker, Tn as UNREADABLE_RESOURCES_MAP_ROW, To as isTransientServerError, Tr as TemplateParser, Tt as createMaskedRetryLogger, U as coerceWarmThroughput$1, Ua as resolveBucketRegion, Ui as runDockerForeground, Un as malformedRenderedContainersWarning, Ur as recoverMaskedOutput, Ut as parameterTypeMayLoseSecretIdentity, V as renderStatefulReason, Va as resolveAssemblyPath, Vi as partitionSensitiveEnv, Vn as malformedOutputsRefusalMessage, Vr as recordMaskOnlyValue, Vt as isNamelessDynamicReferenceError, W as isWarmThroughputDecrease, Wa as AwsClients, Wi as runDockerStreaming, Wn as malformedResourceEntriesWarning, Wr as redactSecretsForState, Wt as refStateLookupFromResource, X as gray, Xa as CdkdError, Xi as Synthesizer, Xn as refuseMalformedNestedChildOutputs, Xr as buildForceUnlockCommand, Xt as coerceCfnBoolean, Y as cyan, Yi as getDockerImageBySourceHash, Yn as refuseDivergentRecordRegionForDestroy, Yr as UNREPRODUCIBLE_LOCK_CLAUSE, Yt as assertRegionMatch, Z as green, Zi as synthesisStatusMessage, Zn as refuseMalformedOrphanRecords, Zr as buildLockContentionMessage, Zt as coerceCfnInteger, _ as bagHoldsSecretExpression, _a as injectiveKeyPrefix, _i as loadPublishableAssetManifest, _n as AWS_CREDENTIAL_ENV_KEYS, _r as safeStackName, _t as startInterruptWatch, a as DeploymentEventsStore, aa as resolveStateBucketWithDefaultAndSource, ai as hasUnverifiableParameterRefusal, an as requireConfigString, ar as refuseMalformedResourceEntries, at as secretBearingStateKeyWarning, b as mergeNoChangeOutputs, ba as decodeListingKey, bi as BOOTSTRAP_MARKER_PREFIX, bn as envCredentialsAreAssumedRole, bo as pasteableCommand, br as findActionableSilentDrops, bt as ccProtectionRegistryTypes, c as replayFailedOperations, ca as warnDeprecatedNoPrefixCliFlag, ci as isReadableBag, cn as classifyReplaySecretRegion, co as PartialFailureError, cr as refuseMalformedResourcesForDestroy, ct as IAMRoleProvider, d as updatePartialMessage, da as CFN_TEMPLATE_URL_LIMIT, di as shouldRetainResource, dn as s3BucketArn, do as ResourceUpdateNotSupportedError, dr as repairMalformedOrphansForReadOnly, dt as ProviderRegistry, ea as resolveApp, ei as CUSTOM_RESOURCE_RESPONSE_PREFIX, en as configStringRefusal, eo as DeployCancelledError, er as refuseMalformedOrphansForDestroy, et as collectDeclaredOutputNames, f as updatePartialReason, fa as MIGRATE_TMP_PREFIX, fi as AssetPublisher, fn as s3BucketDomainName, fo as StackHasActiveImportsError, fr as repairMalformedOutputsForReadOnly, ft as wouldReturnToSdkProvider, g as computeImplicitDeleteEdges, ga as injectiveKey, gi as createAssetRedirectResolver, gn as applyRoleArnIfSet, gr as safeRegion, gt as isInterruptedWaitError, h as IMPLICIT_DELETE_DEPENDENCIES, ha as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, hi as buildAssetRedirectMap, hn as s3BucketWebsiteUrl, ho as SynthesisError, hr as repairMalformedResourcesForReadOnly, ht as interruptWatchListenerCount, i as DeploymentEventsReader, ia as resolveStateBucketWithDefault, ii as hasReasonlessBaselineRefusal, in as requireConfigObject, io as LocalStartServiceError, ir as refuseMalformedResourceAttributesForOrphan, it as secretBearing, j as isFinalSnapshotError, ja as globMatches, ji as resolveDockerContextDirectory, jn as isReadableOrphanRecord, jr as createSecretMasker, jt as isWaitAbandonedError, k as ccRoutedFinalSnapshotError, ka as AssemblyReader, ki as buildDenyExternalAccessPolicy, kn as hasReadableOutputs, ko as describeAwsFailure, kr as TEMPLATE_SOURCED_RULES, kt as deleteIndeterminateGuards, l as replayRollback, la as ssmResolvedValueType, li as orphansAfterRollback, ln as producerRegionsFromState, lo as ProvisioningError, lr as refuseMalformedState, lt as collectInlinePolicyNamesManagedBySiblings, m as maskingRetryLogger, ma as uploadCfnTemplate, mi as WorkGraph, mn as s3BucketRegionalDomainName, mr as repairMalformedResourcePropertiesForReadOnly, mt as endCommandInterruptScope, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as resolveCaptureObservedState, ni as exportNamesCarriedFrom, nn as replayWarn, no as IntrinsicResolutionRefusalError, nr as refuseMalformedOutputs, nt as exportAliasCollisionScrubWarning, o as planFailedOps, oa as resolveUseCdkBootstrapAssets, oi as importableOutputKeys, on as definedAttributes, oo as MalformedProducerRecordRefusalError, or as refuseMalformedResourceEntriesForOrphan, ot as secretSafeKeyDisplay, p as withResourceDeadline, pa as findLargeInlineResources, pi as stringifyValue, pn as s3BucketDualStackDomainName, po as StackTerminationProtectionError, pr as repairMalformedResourceEntriesForReadOnly, pt as beginCommandInterruptScope, q as formatResourceLine, qa as runWithStackAwsClients, qi as stripControlChars, qn as malformedStateRefusalMessage, qr as S3StateBackend, qt as normalizeAwsTagsToCfn, r as DeployEngine, ra as resolveSkipPrefix, ri as hasReadableExportSet, rn as requireConfigArray, ro as LocalInvokeBuildError$1, rr as refuseMalformedOutputsForDestroy, rt as isExportAliasCollision, s as planRollback, sa as stateBucketExistenceConfirmed, si as importableOutputs, sn as stringifyIfAssigned, so as NestedStackChildDirectDestroyError, sr as refuseMalformedResourcePropertiesForOrphan, st as getCurrentResourceSecrets, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as resolveAutoAssetStorage, ti as DEFAULT_STATE_PREFIX, tn as readConfigString, to as DynamicReferenceRegionAmbiguousError, tr as refuseMalformedOrphansForOrphan, tt as collectPublishedOutputNames, u as resolveReplacementOldType, ua as CFN_TEMPLATE_BODY_LIMIT, ui as orphansCarriedFrom, un as withSharedDrainBudget, uo as ResourceTimeoutError, ur as repairMalformedOrphanRecordsForReadOnly, ut as clearOnUpdateRemoval, v as isSecretBearingReferenceString, va as producerCoordinateKey, vi as rewriteTemplateAssetReferences, vn as applyCallerIdentityCredentials, vo as normalizeAwsError, vr as unpreviewableOrphanRecords, vt as CloudControlProvider, w as reachableDivergentParameters, wa as derivePartitionAndUrlSuffix, wi as isCrossRegionRedirect, wn as UNREADABLE_ORPHANS_CONTAINER_ROW, wo as isThrottlingError, wr as DagBuilder, wt as packCompositeId, x as bindingSkippedOutputs, xa as expectedOwnerParam, xi as assertAssetBucketRegion, xn as DiffCalculator, xo as shellQuote, xr as findSilentDropProperties, xt as compositeIdFormatMessage, y as keptWholeReasonText, ya as producerRecordKey, yi as AssetModeResolver, yn as callerEnvCredentials, yo as withErrorHandling, yr as unreadableOrphanRecords, yt as slowCcOperationTimeoutMs, z as isStatefulRecreateTargetForReplace, za as displayAssemblyPath, zi as isDockerClientEnvKey, zn as malformedOrphansRefusalMessage, zr as maskSecretsInText, zt as getAccountInfo } from "./deploy-engine-CCvNP_dA.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-
|
|
5
|
-
import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-
|
|
4
|
+
import { t as getCdkdVersion } from "./version-BLo_Pzd-.js";
|
|
5
|
+
import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-ChgXLoRA.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";
|
|
@@ -16192,210 +16192,6 @@ var LambdaLayerVersionProvider = class {
|
|
|
16192
16192
|
}
|
|
16193
16193
|
};
|
|
16194
16194
|
|
|
16195
|
-
//#endregion
|
|
16196
|
-
//#region src/provisioning/composite-id.ts
|
|
16197
|
-
/**
|
|
16198
|
-
* Refuse a composite physicalId whose segments would make it ambiguous
|
|
16199
|
-
* (issue [#1672](https://github.com/go-to-k/cdkd/issues/1672)).
|
|
16200
|
-
*
|
|
16201
|
-
* ## Why a composite id exists at all
|
|
16202
|
-
*
|
|
16203
|
-
* `ResourceProvider` passes a SINGLE `physicalId: string` as a resource's
|
|
16204
|
-
* identity, while CloudFormation keeps the physical id and its containing
|
|
16205
|
-
* scope as separate values. So every provider whose type needs more than one
|
|
16206
|
-
* value to address the resource PACKS them into one string joined by
|
|
16207
|
-
* {@link COMPOSITE_ID_SEPARATOR} — `<databaseName>|<tableName>` for
|
|
16208
|
-
* `AWS::Glue::Table`, `<apiId>|<typeName>|<fieldName>` for
|
|
16209
|
-
* `AWS::AppSync::Resolver`, and so on.
|
|
16210
|
-
*
|
|
16211
|
-
* ## Why it has to be guarded
|
|
16212
|
-
*
|
|
16213
|
-
* The separator is NOT escaped, so a segment that itself contains a `|`
|
|
16214
|
-
* produces an id with the wrong arity. Every decode site splits the stored id
|
|
16215
|
-
* back apart and the extra segment shifts everything — for a Glue table named
|
|
16216
|
-
* `a|b` in database `mydb` the recorded id `mydb|a|b` decodes to database
|
|
16217
|
-
* `mydb`, table `a`. Both halves are non-empty, so every existing
|
|
16218
|
-
* "is this id well-formed?" guard passes and the deploy SUCCEEDS. What breaks
|
|
16219
|
-
* is everything afterwards: `cdkd destroy` deletes the WRONG resource if one
|
|
16220
|
-
* exists under the decoded pair (or warn-and-skips, reporting success while
|
|
16221
|
-
* the real resource stays alive and billing), and `cdkd drift` reads back
|
|
16222
|
-
* `undefined` forever.
|
|
16223
|
-
*
|
|
16224
|
-
* AWS itself accepts such a name — verified live us-east-1 2026-08-12,
|
|
16225
|
-
* `glue:CreateTable` with `TableInput.Name: 'a|b'` succeeds — and
|
|
16226
|
-
* CloudFormation manages the resource fine. The limitation is cdkd's own, so
|
|
16227
|
-
* the honest answer is to REFUSE at deploy time with a message that says so,
|
|
16228
|
-
* rather than to record an id that silently names something else. Escaping the
|
|
16229
|
-
* separator, or dropping the packing where the decode sites already receive
|
|
16230
|
-
* the properties bag, are the two real fixes and both remain open on #1672;
|
|
16231
|
-
* this guard is what closes the data-loss path in the meantime.
|
|
16232
|
-
*
|
|
16233
|
-
* ## Two entry points, mirroring `config-shape.ts`
|
|
16234
|
-
*
|
|
16235
|
-
* {@link packCompositeId} is the ACTION (throw, or warn-and-pack under the
|
|
16236
|
-
* replay downgrade) and {@link compositeIdSeparatorRefusal} is the bare
|
|
16237
|
-
* PREDICATE, for a caller whose response is neither — the `import()` paths
|
|
16238
|
-
* warn and return `null` (`skipped-not-found`), which is the idiom those
|
|
16239
|
-
* methods already use for every other unusable id. Both share one message
|
|
16240
|
-
* builder so the two can never drift.
|
|
16241
|
-
*
|
|
16242
|
-
* ## Where to place the call
|
|
16243
|
-
*
|
|
16244
|
-
* Prefer computing the id BEFORE the create call rather than after it. The
|
|
16245
|
-
* refusal is a pre-flight check, and a throw placed after the AWS mutation has
|
|
16246
|
-
* already committed would leave an orphan resource behind with no state
|
|
16247
|
-
* record. Only where a segment is derived from the create RESPONSE (an
|
|
16248
|
-
* AWS-generated id) does the call have to sit after it — and those segments
|
|
16249
|
-
* are structurally incapable of carrying a `|` anyway. A post-call site must
|
|
16250
|
-
* also sit OUTSIDE the `try` whose `catch` re-wraps as
|
|
16251
|
-
* `ProvisioningError('Failed to create …')`, or a refusal would be
|
|
16252
|
-
* mis-reported as an AWS creation failure.
|
|
16253
|
-
*
|
|
16254
|
-
* ## What this does NOT cover
|
|
16255
|
-
*
|
|
16256
|
-
* The claim is "every composite packer this change reaches", not "every `|`
|
|
16257
|
-
* join in the tree". One deliberate exclusion, recorded so the scope is not
|
|
16258
|
-
* read as wider than it is:
|
|
16259
|
-
*
|
|
16260
|
-
* - **`intrinsic-function-resolver.ts`'s `|` joins** (the WAFv2 and
|
|
16261
|
-
* `AWS::Events::Rule` arms) are out of scope by KIND, not by ownership: they
|
|
16262
|
-
* build a `Ref` VALUE for the template resolver, never a physicalId cdkd
|
|
16263
|
-
* records and later splits. Nothing decodes them, so an ambiguous join has
|
|
16264
|
-
* no decode site to go wrong at.
|
|
16265
|
-
*
|
|
16266
|
-
* ## Guarding the PACKERS is not the whole story
|
|
16267
|
-
*
|
|
16268
|
-
* A packer that refuses ambiguity does nothing about an id an EARLIER binary
|
|
16269
|
-
* already recorded, or one an `import` was handed — and a type whose decoder is
|
|
16270
|
-
* loose will mis-decode both. Issue #1711 is where that was learned:
|
|
16271
|
-
* `AWS::Route53::RecordSet`'s `parseRecordSetCompositeId` accepts any three
|
|
16272
|
-
* NON-EMPTY segments, so a record name carrying two pipes decoded to a
|
|
16273
|
-
* DIFFERENT hosted zone at three sites this helper never sees — an `import`
|
|
16274
|
-
* early accept, an identity-resolution short-circuit, and `delete`'s own parse,
|
|
16275
|
-
* where `cdkd destroy` then reported success over a live record. When adopting
|
|
16276
|
-
* this guard for a new type, audit its DECODE sites in the same change and make
|
|
16277
|
-
* each one cross-check the parsed segments against something it can verify them
|
|
16278
|
-
* with (Route 53 uses the template's own `Name` / `Type`).
|
|
16279
|
-
*/
|
|
16280
|
-
/** The character every composite physicalId in this codebase joins segments with. */
|
|
16281
|
-
const COMPOSITE_ID_SEPARATOR = "|";
|
|
16282
|
-
/** The issue tracking the real fix (escaping, or not packing at all). */
|
|
16283
|
-
const COMPOSITE_ID_ISSUE_URL = "https://github.com/go-to-k/cdkd/issues/1672";
|
|
16284
|
-
/** Render `<a>|<b>|<c>` from the segment names. */
|
|
16285
|
-
function idShape(segments) {
|
|
16286
|
-
return segments.map((segment) => `<${segment.name}>`).join("|");
|
|
16287
|
-
}
|
|
16288
|
-
/**
|
|
16289
|
-
* The refusal sentence for a composite id whose segments carry the separator,
|
|
16290
|
-
* or `undefined` when the id is unambiguous.
|
|
16291
|
-
*
|
|
16292
|
-
* Every offending segment is named, not just the first: a template that
|
|
16293
|
-
* mis-names one value frequently mis-names its sibling too, and reporting them
|
|
16294
|
-
* one deploy at a time is the shape of remedy nobody finishes.
|
|
16295
|
-
*/
|
|
16296
|
-
function compositeIdSeparatorRefusal(resourceType, logicalId, segments, maskSecrets) {
|
|
16297
|
-
const offending = segments.filter((segment) => String(segment.value).includes("|"));
|
|
16298
|
-
if (offending.length === 0) return void 0;
|
|
16299
|
-
const mask = maskerOrIdentity(maskSecrets);
|
|
16300
|
-
return `${resourceType} ${logicalId}: ${offending.map((segment) => `${segment.name} '${mask(String(segment.value))}'`).join(" and ")} contains '${"|"}', which cdkd uses as the separator in this type's physical id (${idShape(segments)}). Recording it would produce an id that decodes back to a DIFFERENT resource, so a later cdkd destroy / drift / update would target the wrong one — or silently skip it while the real resource stays alive. AWS accepts the name and CloudFormation manages such a resource fine; this is a cdkd limitation tracked in ${COMPOSITE_ID_ISSUE_URL}. Rename the resource so no segment contains '${"|"}', or manage it outside cdkd.`;
|
|
16301
|
-
}
|
|
16302
|
-
/**
|
|
16303
|
-
* Join the segments into a composite physicalId, REFUSING one that would be
|
|
16304
|
-
* ambiguous.
|
|
16305
|
-
*
|
|
16306
|
-
* @throws ProvisioningError when a segment contains {@link COMPOSITE_ID_SEPARATOR},
|
|
16307
|
-
* unless `options.onRefusal` is supplied — under which the message is handed
|
|
16308
|
-
* to the callback and the ambiguous id is returned, keeping the pre-guard
|
|
16309
|
-
* behavior.
|
|
16310
|
-
*/
|
|
16311
|
-
function packCompositeId(resourceType, logicalId, segments, options) {
|
|
16312
|
-
const refusal = compositeIdSeparatorRefusal(resourceType, logicalId, segments, options?.maskSecrets);
|
|
16313
|
-
if (refusal !== void 0) {
|
|
16314
|
-
if (options?.onRefusal) options.onRefusal(`${refusal} Continuing with the ambiguous id because the value comes from a cdkd state record, which no template edit can repair; the same value is REFUSED on a template-path create.`);
|
|
16315
|
-
else throw new ProvisioningError(refusal, resourceType, logicalId);
|
|
16316
|
-
}
|
|
16317
|
-
return segments.map((segment) => String(segment.value)).join("|");
|
|
16318
|
-
}
|
|
16319
|
-
/** Render the expected id shape, e.g. `<databaseName>|<tableName>`. */
|
|
16320
|
-
function formatShape(segments) {
|
|
16321
|
-
return segments.map((segment) => `<${segment}>`).join("|");
|
|
16322
|
-
}
|
|
16323
|
-
/**
|
|
16324
|
-
* The message EVERY malformed-composite-id decode site emits (issue
|
|
16325
|
-
* [#1657](https://github.com/go-to-k/cdkd/issues/1657)).
|
|
16326
|
-
*
|
|
16327
|
-
* ## Why one builder
|
|
16328
|
-
*
|
|
16329
|
-
* Roughly half the decode sites stated the expected shape and half only echoed
|
|
16330
|
-
* the value back, and the format is documented nowhere else — so on the silent
|
|
16331
|
-
* half the message was the user's only possible route to the answer and it did
|
|
16332
|
-
* not carry it. Routing the sites that already got it right through the same
|
|
16333
|
-
* builder is what stops them drifting back.
|
|
16334
|
-
*
|
|
16335
|
-
* ## This is a WORDING fix, not an acceptance change
|
|
16336
|
-
*
|
|
16337
|
-
* Each caller keeps its own split-and-guard exactly as it was. The arities
|
|
16338
|
-
* genuinely differ (some sites accept AT LEAST N segments, some destructure the
|
|
16339
|
-
* first N and tolerate extras — the #1672 ambiguity, tracked separately), and
|
|
16340
|
-
* folding them into one predicate here would silently change which ids deploy.
|
|
16341
|
-
*
|
|
16342
|
-
* ## The `skipping` variant
|
|
16343
|
-
*
|
|
16344
|
-
* On the DELETE path the established policy is warn-and-continue, so a
|
|
16345
|
-
* malformed record leaves the AWS resource ALIVE. That policy is unchanged —
|
|
16346
|
-
* the warning says what the skip costs, because an orphan the user is never
|
|
16347
|
-
* told about is one they cannot go and delete.
|
|
16348
|
-
*
|
|
16349
|
-
* Since issue [#1752](https://github.com/go-to-k/cdkd/issues/1752) the ACCOUNTING
|
|
16350
|
-
* around it is no longer a lie: an arm emitting this message must also return
|
|
16351
|
-
* `{ outcome: 'skipped', reason: COMPOSITE_ID_SKIP_REASON }` so `cdkd destroy`
|
|
16352
|
-
* prints a `⚠ … skipped` line instead of `✓ … deleted`, reports
|
|
16353
|
-
* `N deleted, 1 skipped`, KEEPS the state record, and exits non-zero. The
|
|
16354
|
-
* wording here changed accordingly — it used to promise unconditionally that
|
|
16355
|
-
* cdkd "will report this delete as successful", which is no longer true on
|
|
16356
|
-
* either path. Issue [#1762](https://github.com/go-to-k/cdkd/issues/1762) then
|
|
16357
|
-
* taught the deploy engine to consume the outcome too, so the message no longer
|
|
16358
|
-
* warns that deploy drops the record: the template-removal DELETE keeps it,
|
|
16359
|
-
* exactly like destroy. What it DOES still distinguish is the replacement /
|
|
16360
|
-
* rollback delete, which fails the resource and can leave the old one
|
|
16361
|
-
* untracked — there "drop the record with 'cdkd state orphan'" is not the
|
|
16362
|
-
* remedy, deleting the resource by hand is.
|
|
16363
|
-
*/
|
|
16364
|
-
function compositeIdFormatMessage(format, logicalId, physicalId, options) {
|
|
16365
|
-
const accepted = format.alsoAccepts ? `"${formatShape(format.segments)}" or ${format.alsoAccepts}` : `"${formatShape(format.segments)}"`;
|
|
16366
|
-
const head = `Invalid physicalId format for ${format.label} ${logicalId}: expected ${accepted}, got "${physicalId}"`;
|
|
16367
|
-
if (!options?.skipping) return head;
|
|
16368
|
-
return `${head}. Skipping the delete — no AWS call is issued, so the resource is LEFT IN PLACE. The state record is KEPT and the run reports the skip: on 'cdkd destroy' / 'cdkd state destroy' (which exits non-zero) and, since issue 1762, on the plain DELETE of a resource removed from the template during cdkd deploy (which re-attempts it on the next deploy). So repair the id in state.json and re-run, or delete the resource by hand and drop the record with 'cdkd state orphan'. NOTE a deploy-side REPLACEMENT or rollback delete instead FAILS the resource (https://github.com/go-to-k/cdkd/issues/1762) — the old resource is left untracked there, so delete it by hand.`;
|
|
16369
|
-
}
|
|
16370
|
-
/**
|
|
16371
|
-
* The short `ResourceDeleteResult.reason` every malformed-composite-id DELETE
|
|
16372
|
-
* skip reports (issue [#1752](https://github.com/go-to-k/cdkd/issues/1752)).
|
|
16373
|
-
*
|
|
16374
|
-
* Deliberately short and IDENTICAL across the five arms: it is rendered inline
|
|
16375
|
-
* on the per-resource status line (`⚠ MyTable (AWS::Glue::Table) skipped
|
|
16376
|
-
* (malformed physicalId in state — no delete issued)`), where the full
|
|
16377
|
-
* remediation sentence built by {@link compositeIdFormatMessage} would not fit.
|
|
16378
|
-
* The full text is still emitted, as the `logger.warn` right beside it.
|
|
16379
|
-
*
|
|
16380
|
-
* A shared constant rather than five literals so the five arms cannot drift and
|
|
16381
|
-
* a grep for the wording finds all of them.
|
|
16382
|
-
*/
|
|
16383
|
-
const COMPOSITE_ID_SKIP_REASON = "malformed physicalId in state — no delete issued";
|
|
16384
|
-
/**
|
|
16385
|
-
* The `ResourceDeleteResult` a malformed-composite-id DELETE arm returns.
|
|
16386
|
-
*
|
|
16387
|
-
* Pairs with the `{ skipping: true }` warning: emit the warning, return this.
|
|
16388
|
-
* Providers call it as `return compositeIdSkipResult();` so the arm reads as
|
|
16389
|
-
* the deliberate skip it is rather than as the bare `return;` that made issue
|
|
16390
|
-
* #1752's mis-accounting possible.
|
|
16391
|
-
*/
|
|
16392
|
-
function compositeIdSkipResult() {
|
|
16393
|
-
return {
|
|
16394
|
-
outcome: "skipped",
|
|
16395
|
-
reason: COMPOSITE_ID_SKIP_REASON
|
|
16396
|
-
};
|
|
16397
|
-
}
|
|
16398
|
-
|
|
16399
16195
|
//#endregion
|
|
16400
16196
|
//#region src/provisioning/providers/lambda-event-invoke-config-provider.ts
|
|
16401
16197
|
/**
|
|
@@ -91935,16 +91731,21 @@ function parseEcrUri(imageUri) {
|
|
|
91935
91731
|
};
|
|
91936
91732
|
}
|
|
91937
91733
|
/**
|
|
91938
|
-
* Module-level cache for STS-issued AssumeRole credentials,
|
|
91939
|
-
* `(ecrRoleArn, callerRegion)`. Closes the reviewer's MAJOR finding: ECS
|
|
91734
|
+
* Module-level cache for STS-issued AssumeRole credentials, per SOURCE credential
|
|
91735
|
+
* identity and then per `(ecrRoleArn, callerRegion)`. Closes the reviewer's MAJOR finding: ECS
|
|
91940
91736
|
* run-task with N containers under one `--ecr-role-arn` would otherwise issue
|
|
91941
91737
|
* N× `AssumeRole` and N× `GetCallerIdentity` for identical credentials valid
|
|
91942
91738
|
* for 3600s. The cache keeps a 5-minute safety margin against the recorded
|
|
91943
91739
|
* `Expiration` so STS-side / local-clock skew never lets a stale entry through.
|
|
91944
91740
|
*
|
|
91945
|
-
*
|
|
91946
|
-
*
|
|
91947
|
-
*
|
|
91741
|
+
* The inner key is `(roleArn, region)`: STS issues per-region session creds,
|
|
91742
|
+
* so a switch of `--region` between two `local invoke` calls in the same
|
|
91743
|
+
* process must re-issue. The OUTER key is the source identity (issue
|
|
91744
|
+
* [#3588](https://github.com/go-to-k/cdkd/issues/3588), as in `role-arn.ts`),
|
|
91745
|
+
* so a library caller that installs `AwsClients` with other explicit
|
|
91746
|
+
* credentials is never handed credentials the first identity obtained. It is
|
|
91747
|
+
* {@link credentialFingerprint} — profile plus access key id, never a secret —
|
|
91748
|
+
* and neither key is ever rendered.
|
|
91948
91749
|
*
|
|
91949
91750
|
* NOT cleared on process exit — Node's module scope evaporates with the
|
|
91950
91751
|
* process, and no inter-process sharing is desired (each `cdkd local invoke`
|
|
@@ -91952,12 +91753,15 @@ function parseEcrUri(imageUri) {
|
|
|
91952
91753
|
*/
|
|
91953
91754
|
const ASSUMED_ROLE_CACHE = /* @__PURE__ */ new Map();
|
|
91954
91755
|
/**
|
|
91955
|
-
* Module-level cache for `STS:GetCallerIdentity
|
|
91956
|
-
* (
|
|
91957
|
-
*
|
|
91958
|
-
*
|
|
91959
|
-
*
|
|
91960
|
-
*
|
|
91756
|
+
* Module-level cache for `STS:GetCallerIdentity`, keyed by
|
|
91757
|
+
* `(credential identity, callerRegion)`. The account is a function of the
|
|
91758
|
+
* identity that asked, so the identity is part of the key (issue
|
|
91759
|
+
* [#3588](https://github.com/go-to-k/cdkd/issues/3588)): a library caller that
|
|
91760
|
+
* installs `AwsClients` with other explicit credentials must not be told the
|
|
91761
|
+
* first identity's account. The region half avoids a cross-region leak when the
|
|
91762
|
+
* caller flips `AWS_REGION` mid-process (STS is global but the SDK uses
|
|
91763
|
+
* regional endpoints; the result is invariant in practice, but we key on region
|
|
91764
|
+
* for safety). Never rendered.
|
|
91961
91765
|
*/
|
|
91962
91766
|
const CALLER_IDENTITY_CACHE = /* @__PURE__ */ new Map();
|
|
91963
91767
|
/** 5-minute safety margin against the recorded STS expiration timestamp. */
|
|
@@ -91988,11 +91792,13 @@ async function pullEcrImage(imageUri, options) {
|
|
|
91988
91792
|
await verifyImageInLocalCache(canonicalUri);
|
|
91989
91793
|
return canonicalUri;
|
|
91990
91794
|
}
|
|
91991
|
-
const
|
|
91795
|
+
const credentialConfig = ambientCredentialConfig();
|
|
91796
|
+
const identityFingerprint = credentialFingerprint(credentialConfig);
|
|
91797
|
+
const callerIdentityKey = injectiveKey(identityFingerprint, callerRegion ?? "_unset");
|
|
91992
91798
|
let callerAccount = CALLER_IDENTITY_CACHE.get(callerIdentityKey);
|
|
91993
91799
|
if (callerAccount === void 0) {
|
|
91994
91800
|
const sts = new STSClient({
|
|
91995
|
-
...
|
|
91801
|
+
...clientDefaultsFor(credentialConfig),
|
|
91996
91802
|
...callerRegion && { region: callerRegion }
|
|
91997
91803
|
});
|
|
91998
91804
|
try {
|
|
@@ -92009,19 +91815,24 @@ async function pullEcrImage(imageUri, options) {
|
|
|
92009
91815
|
let assumed;
|
|
92010
91816
|
if (options.ecrRoleArn) {
|
|
92011
91817
|
const cacheKey = `${options.ecrRoleArn}|${callerRegion ?? "_unset"}`;
|
|
92012
|
-
|
|
91818
|
+
let roleCache = ASSUMED_ROLE_CACHE.get(identityFingerprint);
|
|
91819
|
+
if (roleCache === void 0) {
|
|
91820
|
+
roleCache = /* @__PURE__ */ new Map();
|
|
91821
|
+
ASSUMED_ROLE_CACHE.set(identityFingerprint, roleCache);
|
|
91822
|
+
}
|
|
91823
|
+
const cached = roleCache.get(cacheKey);
|
|
92013
91824
|
if (cached && isCredentialFresh(cached)) {
|
|
92014
91825
|
assumed = cached;
|
|
92015
91826
|
logger.debug(`Reusing cached AssumeRole credentials for ${displayIdent(options.ecrRoleArn, { maxCodePoints: 613 })}`);
|
|
92016
91827
|
} else {
|
|
92017
|
-
assumed = await assumeRoleForEcr(options.ecrRoleArn, callerRegion, logger);
|
|
92018
|
-
|
|
91828
|
+
assumed = await assumeRoleForEcr(options.ecrRoleArn, callerRegion, credentialConfig, logger);
|
|
91829
|
+
roleCache.set(cacheKey, assumed);
|
|
92019
91830
|
logger.info(`Assumed role ${displayIdent(options.ecrRoleArn, { maxCodePoints: 613 })} for ECR pull (account=${parsed.accountId}, region=${parsed.region})`);
|
|
92020
91831
|
}
|
|
92021
91832
|
} else if (crossAccount) logger.info(`Cross-account ECR pull: image account ${parsed.accountId} != caller ${callerAccount}. Using the caller's credentials; pass --ecr-role-arn <arn> if AWS rejects with AccessDenied.`);
|
|
92022
91833
|
if (crossRegion) logger.info(`Cross-region ECR pull: image region ${parsed.region} != caller ${callerRegion ?? "(unset)"}. Authenticating against the image region directly.`);
|
|
92023
91834
|
const ecr = new ECRClient({
|
|
92024
|
-
...
|
|
91835
|
+
...clientDefaultsFor(credentialConfig),
|
|
92025
91836
|
region: parsed.region,
|
|
92026
91837
|
...assumed && { credentials: assumed }
|
|
92027
91838
|
});
|
|
@@ -92044,16 +91855,17 @@ async function pullEcrImage(imageUri, options) {
|
|
|
92044
91855
|
return canonicalUri;
|
|
92045
91856
|
}
|
|
92046
91857
|
/**
|
|
92047
|
-
* Assume the supplied role
|
|
91858
|
+
* Assume the supplied role as the caller's active credential configuration
|
|
91859
|
+
* (`credentialConfig`, the same reading `pullEcrImage` keys its caches on) and
|
|
92048
91860
|
* return the resulting temporary credentials. The STS client is built
|
|
92049
91861
|
* with the caller's profile region (or unset) — STS is a global
|
|
92050
91862
|
* service so the region is informational, but threading it through
|
|
92051
91863
|
* mirrors the convention used by `src/utils/role-arn.ts`.
|
|
92052
91864
|
*/
|
|
92053
|
-
async function assumeRoleForEcr(roleArn, callerRegion, logger) {
|
|
91865
|
+
async function assumeRoleForEcr(roleArn, callerRegion, credentialConfig, logger) {
|
|
92054
91866
|
logger.debug(`Assuming role ${displayIdent(roleArn, { maxCodePoints: 613 })} for ECR pull...`);
|
|
92055
91867
|
const sts = new STSClient({
|
|
92056
|
-
...
|
|
91868
|
+
...clientDefaultsFor(credentialConfig),
|
|
92057
91869
|
...callerRegion && { region: callerRegion }
|
|
92058
91870
|
});
|
|
92059
91871
|
try {
|
|
@@ -99166,4 +98978,4 @@ function buildProgram() {
|
|
|
99166
98978
|
|
|
99167
98979
|
//#endregion
|
|
99168
98980
|
export { buildProgram };
|
|
99169
|
-
//# sourceMappingURL=program-
|
|
98981
|
+
//# sourceMappingURL=program-nxeZp1Qs.js.map
|