@go-to-k/cdkd 0.288.5 → 0.288.6
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-C_AHAmgD.js → asg-provider-CC6BMuNK.js} +2 -2
- package/dist/{asg-provider-C_AHAmgD.js.map → asg-provider-CC6BMuNK.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-Dsf9bTqH.js → deploy-engine-umIP3xus.js} +774 -36
- package/dist/deploy-engine-umIP3xus.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{program-CMhpftan.js → program-CxMjCbiG.js} +123 -26
- package/dist/{program-CMhpftan.js.map → program-CxMjCbiG.js.map} +1 -1
- package/dist/{version-BFmq8S23.js → version-4xTzOaA1.js} +2 -2
- package/dist/{version-BFmq8S23.js.map → version-4xTzOaA1.js.map} +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-Dsf9bTqH.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -593,6 +593,7 @@ declare class CloudControlProvider implements ResourceProvider {
|
|
|
593
593
|
private cloudControlClient;
|
|
594
594
|
private logger;
|
|
595
595
|
private patchGenerator;
|
|
596
|
+
private readonly warnedUnresolvableSchemaTypes;
|
|
596
597
|
private readonly MAX_WAIT_TIME_MS;
|
|
597
598
|
private readonly INITIAL_POLL_INTERVAL_MS;
|
|
598
599
|
private readonly MAX_POLL_INTERVAL_MS;
|
|
@@ -617,6 +618,7 @@ declare class CloudControlProvider implements ResourceProvider {
|
|
|
617
618
|
static isSupportedResourceType(resourceType: string): boolean;
|
|
618
619
|
readCurrentState(physicalId: string, _logicalId: string, resourceType: string, _properties?: Record<string, unknown>): Promise<Record<string, unknown> | undefined>;
|
|
619
620
|
import(input: ResourceImportInput): Promise<ResourceImportResult | null>;
|
|
621
|
+
private maskUncertifiedModelValues;
|
|
620
622
|
}
|
|
621
623
|
//#endregion
|
|
622
624
|
//#region src/provisioning/provider-registry.d.ts
|
|
@@ -1160,6 +1162,7 @@ declare class DeployEngine {
|
|
|
1160
1162
|
private rememberRecoverableMaskedOutputs;
|
|
1161
1163
|
private redactOutputs;
|
|
1162
1164
|
private registerNoEchoAttributes;
|
|
1165
|
+
private static maskedRecordRemedyFor;
|
|
1163
1166
|
private refuseRedactedAttributeReads;
|
|
1164
1167
|
private redactOperationsForJournal;
|
|
1165
1168
|
private redactStateForPersist;
|
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/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":";;;;;;;;;;;;;;;;;;;;;;;;;KAuGY;UAyBK;EAEf;EAMA;EAEA;;UAsBe;EAEf;EAMA;EAEA;;UAMe;EAKf,SAAS;EAGT;EAMA;EAGA,WAAW,eAAe;EAG1B,SAAS;EAUT,UAAU;EAoBV,cAAc;EAqBd;EAyEA,iBAAiB;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AyB,QAAQ;UAuDnE;UAqHA;UA8DA;UAcA;UAiGA;UAqDA;UAwBA;UAyDA;UAkDA;UA2BA;UAkCM;UAkFA;UAsGN;UA0GM;UA4yBA;UAgnBA;UA6EA;UA2BA;UA+BA;UAuCN;UA+BM;UA4CA;UA+UN;UAwBA;UAWA;UAkDA;UAmBA;UAwBA;UAyCM;UA0CA;UAyLA;UAg8DN;UA+CA;UA4DA;UA6FA;UA0IA;UAgCA;UAOA;UAoCA;UA4EA;UA4BM;UA6BN;UAiCA;UAmBA;UA8DA;UAiEM;UAuYN"}
|
|
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/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":";;;;;;;;;;;;;;;;;;;;;;;;;KAuGY;UAyBK;EAEf;EAMA;EAEA;;UAsBe;EAEf;EAMA;EAEA;;UAMe;EAKf,SAAS;EAGT;EAMA;EAGA,WAAW,eAAe;EAG1B,SAAS;EAUT,UAAU;EAoBV,cAAc;EAqBd;EAyEA,iBA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,mBAAmB,UAAU,yBAAyB,QAAQ;UAuDnE;UAkJA;UA8DA;UAcA;UAiGA;iBA6GO;UAgMP;UAoFA;UAyDA;UAkDA;UA2BA;UAkCM;UAkFA;UAsGN;UA0GM;UA4yBA;UAgnBA;UA6EA;UA2BA;UA+BA;UAuCN;UA+BM;UA4CA;UA+UN;UAwBA;UAWA;UAkDA;UAmBA;UAwBA;UAyCM;UA0CA;UAyLA;UAw8DN;UA+CA;UA4DA;UA6FA;UA0IA;UAgCA;UAOA;UAoCA;UA4EA;UA4BM;UA6BN;UAiCA;UAmBA;UA8DA;UAiEM;UAsgBN"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as ProviderRegistry, Br as setAwsClients, Fr as clearBucketRegionCache, Gr as DependencyError, Gt as DiffCalculator, Hr as CdkdError, Ir as resolveBucketRegion, Lr as AwsClients, Nr as AssemblyReader, Qt as TemplateParser, Rr as getAwsClients, Ur as ConfigError, Vr as AssetError, X as IAMRoleProvider, Zr as LockError, Zt as DagBuilder, ai as StateError, ci as isCdkdError, ei as ProvisioningError, gn as S3StateBackend, hn as LockManager, kn as AssetPublisher, li as normalizeAwsError, lr as Synthesizer, lt as CloudControlProvider, oi as SynthesisError, r as DeployEngine, si as formatError, zr as resetAwsClients } from "./deploy-engine-
|
|
1
|
+
import { $ as ProviderRegistry, Br as setAwsClients, Fr as clearBucketRegionCache, Gr as DependencyError, Gt as DiffCalculator, Hr as CdkdError, Ir as resolveBucketRegion, Lr as AwsClients, Nr as AssemblyReader, Qt as TemplateParser, Rr as getAwsClients, Ur as ConfigError, Vr as AssetError, X as IAMRoleProvider, Zr as LockError, Zt as DagBuilder, ai as StateError, ci as isCdkdError, ei as ProvisioningError, gn as S3StateBackend, hn as LockManager, kn as AssetPublisher, li as normalizeAwsError, lr as Synthesizer, lt as CloudControlProvider, oi as SynthesisError, r as DeployEngine, si as formatError, zr as resetAwsClients } from "./deploy-engine-umIP3xus.js";
|
|
2
2
|
import { a as setLogger, n as getLogger, t as ConsoleLogger } from "./logger-Dw-3y48G.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 ProviderRegistry, $n as formatDockerLoginError, $r as PartialFailureError, $t as STATE_SOURCED_BASELINE_RULES, A as renderStatefulReason, An as stringifyValue, Ar as PARTITION_TABLE, At as configStringRefusal, B as red, Bn as getBootstrapMarkerKey, Br as setAwsClients, Bt as s3BucketDomainName, C as refusesFinalSnapshot, Cn as CUSTOM_RESOURCE_RESPONSE_PREFIX, Cr as CFN_TEMPLATE_URL_LIMIT, Ct as refStateLookupFromResource, D as MULTI_REGION_RECREATE_BLOCKED_TYPES, Dn as importableOutputs, Dr as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Dt as assertRegionMatch, E as extractDeploymentEventError, En as importableOutputKeys, Er as uploadCfnTemplate, Et as resolveExplicitPhysicalId, F as formatResourceLine, Fn as rewriteTemplateAssetReferences, Ft as requireConfigString, G as isExportAliasCollision, Gn as validateContainerRepoName, Gt as DiffCalculator, H as collectDeclaredOutputNames, Hn as parseBootstrapMarker, Hr as CdkdError, Ht as s3BucketRegionalDomainName, I as bold, In as AssetModeResolver, Ir as resolveBucketRegion, It as classifyReplaySecretRegion, J as secretSafeKeyDisplay, Jn as buildDockerImage, Jr as IntrinsicResolutionRefusalError, Jt as findSilentDropProperties, K as secretBearing, Kn as buildDenyExternalAccessPolicy, Kr as DeployCancelledError, Kt as INTRINSIC_KEYS, L as cyan, Ln as BOOTSTRAP_MARKER_PREFIX, Lr as AwsClients, Lt as producerRegionsFromState, M as coerceWarmThroughput$1, Mn as buildAssetRedirectMap, Mr as derivePartitionAndUrlSuffix, Mt as replayWarn, N as isWarmThroughputDecrease, Nn as createAssetRedirectResolver, Nr as AssemblyReader, Nt as requireConfigArray, O as isStatefulRecreateTargetForReplace, On as shouldRetainResource, Or as displaySafe, Ot as coerceCfnBoolean, P as toFiniteNumber, Pn as loadPublishableAssetManifest, Pr as processStackMessages, Pt as requireConfigObject, Q as clearOnUpdateRemoval, Qn as dockerSpawnEnvWithSensitive, Qr as NestedStackChildDirectDestroyError, Qt as TemplateParser, R as gray, Rn as assertAssetBucketRegion, Rr as getAwsClients, Rt as withSharedDrainBudget, S as isFinalSnapshotError, Sn as shellQuote, Sr as CFN_TEMPLATE_BODY_LIMIT, St as parameterTypeMayLoseSecretIdentity, T as makeCanonicalizePropertiesFn, Tn as exportNamesCarriedFrom, Tr as findLargeInlineResources, Tt as normalizeAwsTagsToCfn, U as collectPublishedOutputNames, Un as readBootstrapMarkerBody, Ut as s3BucketWebsiteUrl, V as yellow, Vn as isCrossRegionRedirect, Vt as s3BucketDualStackDomainName, W as exportAliasCollisionScrubWarning, Wn as validateAssetBucketName, Wr as CrossAccountSecretRefusalError, Wt as applyRoleArnIfSet, X as IAMRoleProvider, Xn as describeDockerExecFailure, Xr as LocalStartServiceError, Xt as withRetry, Y as getCurrentResourceSecrets, Yn as describeDockerCapturedOutput, Yr as LocalInvokeBuildError$1, Yt as describeTypeWithThrottleRetry, Z as collectInlinePolicyNamesManagedBySiblings, Zn as describeDockerFailure, Zt as DagBuilder, _ as ATOMIC_FINAL_SNAPSHOT_TYPES, _i as retryClassificationText, _n as rebuildClientForBucketRegion, _r as resolveStateBucketWithDefault, _t as carriesDynamicReference, a as DeploymentEventsStore, an as dynamicReferenceTokens, ar as escapeRegExp, at as endCommandInterruptScope, b as ccRoutedFinalSnapshotError, bn as buildLockContentionMessage, br as stateBucketExistenceConfirmed, bt as getAccountInfo, c as replayFailedOperations, cn as isSingleDynamicReferenceToken, cr as getDockerImageBySourceHash, ct as startInterruptWatch, d as updatePartialReason, di as isMarkedNonRetryable, dn as recordMaskOnlyValue, dr as getDefaultStateBucketName, dt as UNSPECIFIED_SKIP_REASON, ei as ProvisioningError, en as STATE_SOURCED_CROSS_GENERATION_RULES, er as getDockerCmd, et as wouldReturnToSdkProvider, f as withResourceDeadline, fi as isRetryableTransientError, fn as recoverMaskedOutput, fr as getLegacyStateBucketName, ft as deleteIndeterminateGuards, g as bindingSkippedOutputs, gi as markRedactedCause, gn as S3StateBackend, gr as resolveSkipPrefix, gt as IntrinsicFunctionResolver, h as computeImplicitDeleteEdges, hi as markNonRetryable, hn as LockManager, hr as resolveCaptureObservedState, ht as isTerminationProtectionPropagationError, i as DeploymentEventsReader, ii as StackTerminationProtectionError, in as createSecretMasker, ir as runDockerStreaming, it as beginCommandInterruptScope, j as WARM_THROUGHPUT_MEMBERS, jn as WorkGraph, jr as canonicalizeRegion, jt as readConfigString, k as isStatefulRecreateTargetSync, kn as AssetPublisher, kr as expectedOwnerParam, kt as configBooleanRefusal, l as replayRollback, li as normalizeAwsError, ln as maskSecretsInError, lr as Synthesizer, lt as CloudControlProvider, m as IMPLICIT_DELETE_DEPENDENCIES, mi as isTransientServerError, mn as scrubResourceRecord, mr as resolveAutoAssetStorage, mt as disableInstanceApiTermination, n as DEFAULT_RESOURCE_WARN_AFTER_MS, ni as ResourceUpdateNotSupportedError, nn as TEMPLATE_SOURCED_RULES, nr as redactDockerArgvValues, nt as maskDeep, o as planFailedOps, on as errorCauseChain, or as stripControlChars, ot as interruptWatchListenerCount, p as maskingRetryLogger, pi as isThrottlingError, pn as redactSecretsForState, pr as resolveApp, pt as deleteSkipReason, q as secretBearingStateKeyWarning, qn as describeAwsFailure, qr as DynamicReferenceRegionAmbiguousError, qt as findActionableSilentDrops, r as DeployEngine, ri as StackHasActiveImportsError, rn as carriesSecretMask, rr as runDockerForeground, rt as maskerOrIdentity, s as planRollback, sn as identityKeyFor, sr as AssetManifestLoader, st as isInterruptedWaitError, t as DEFAULT_RESOURCE_TIMEOUT_MS, ti as ResourceTimeoutError, tn as STATE_SOURCED_READBACK_RULES, tr as partitionSensitiveEnv, tt as createMaskedRetryLogger, u as updatePartialMessage, ui as withErrorHandling, un as maskSecretsInText, ur as synthesisStatusMessage, ut as slowCcOperationTimeoutMs, v as PRE_DELETE_SNAPSHOT_TYPES, vn as UNRENDERABLE, vr as resolveStateBucketWithDefaultAndSource, vt as cfnRefValueFromPhysicalId, w as unsupportedFinalSnapshotError, wn as DEFAULT_STATE_PREFIX, wr as MIGRATE_TMP_PREFIX, wt as WAFv2WebACLProvider, x as createPreDeleteFinalSnapshot, xn as forceQuitRecoveryClause, xr as warnDeprecatedNoPrefixCliFlag, xt as isUnboundTemplateParameter, y as buildFinalSnapshotIdentifier, yn as buildForceUnlockCommand, yr as resolveUseCdkBootstrapAssets, yt as coerceParameterTypedValue, z as green, zn as ensureAssetStorage, zr as resetAwsClients, zt as s3BucketArn } from "./deploy-engine-
|
|
1
|
+
import { $ as ProviderRegistry, $n as formatDockerLoginError, $r as PartialFailureError, $t as STATE_SOURCED_BASELINE_RULES, A as renderStatefulReason, An as stringifyValue, Ar as PARTITION_TABLE, At as configStringRefusal, B as red, Bn as getBootstrapMarkerKey, Br as setAwsClients, Bt as s3BucketDomainName, C as refusesFinalSnapshot, Cn as CUSTOM_RESOURCE_RESPONSE_PREFIX, Cr as CFN_TEMPLATE_URL_LIMIT, Ct as refStateLookupFromResource, D as MULTI_REGION_RECREATE_BLOCKED_TYPES, Dn as importableOutputs, Dr as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Dt as assertRegionMatch, E as extractDeploymentEventError, En as importableOutputKeys, Er as uploadCfnTemplate, Et as resolveExplicitPhysicalId, F as formatResourceLine, Fn as rewriteTemplateAssetReferences, Ft as requireConfigString, G as isExportAliasCollision, Gn as validateContainerRepoName, Gt as DiffCalculator, H as collectDeclaredOutputNames, Hn as parseBootstrapMarker, Hr as CdkdError, Ht as s3BucketRegionalDomainName, I as bold, In as AssetModeResolver, Ir as resolveBucketRegion, It as classifyReplaySecretRegion, J as secretSafeKeyDisplay, Jn as buildDockerImage, Jr as IntrinsicResolutionRefusalError, Jt as findSilentDropProperties, K as secretBearing, Kn as buildDenyExternalAccessPolicy, Kr as DeployCancelledError, Kt as INTRINSIC_KEYS, L as cyan, Ln as BOOTSTRAP_MARKER_PREFIX, Lr as AwsClients, Lt as producerRegionsFromState, M as coerceWarmThroughput$1, Mn as buildAssetRedirectMap, Mr as derivePartitionAndUrlSuffix, Mt as replayWarn, N as isWarmThroughputDecrease, Nn as createAssetRedirectResolver, Nr as AssemblyReader, Nt as requireConfigArray, O as isStatefulRecreateTargetForReplace, On as shouldRetainResource, Or as displaySafe, Ot as coerceCfnBoolean, P as toFiniteNumber, Pn as loadPublishableAssetManifest, Pr as processStackMessages, Pt as requireConfigObject, Q as clearOnUpdateRemoval, Qn as dockerSpawnEnvWithSensitive, Qr as NestedStackChildDirectDestroyError, Qt as TemplateParser, R as gray, Rn as assertAssetBucketRegion, Rr as getAwsClients, Rt as withSharedDrainBudget, S as isFinalSnapshotError, Sn as shellQuote, Sr as CFN_TEMPLATE_BODY_LIMIT, St as parameterTypeMayLoseSecretIdentity, T as makeCanonicalizePropertiesFn, Tn as exportNamesCarriedFrom, Tr as findLargeInlineResources, Tt as normalizeAwsTagsToCfn, U as collectPublishedOutputNames, Un as readBootstrapMarkerBody, Ut as s3BucketWebsiteUrl, V as yellow, Vn as isCrossRegionRedirect, Vt as s3BucketDualStackDomainName, W as exportAliasCollisionScrubWarning, Wn as validateAssetBucketName, Wr as CrossAccountSecretRefusalError, Wt as applyRoleArnIfSet, X as IAMRoleProvider, Xn as describeDockerExecFailure, Xr as LocalStartServiceError, Xt as withRetry, Y as getCurrentResourceSecrets, Yn as describeDockerCapturedOutput, Yr as LocalInvokeBuildError$1, Yt as describeTypeWithThrottleRetry, Z as collectInlinePolicyNamesManagedBySiblings, Zn as describeDockerFailure, Zt as DagBuilder, _ as ATOMIC_FINAL_SNAPSHOT_TYPES, _i as retryClassificationText, _n as rebuildClientForBucketRegion, _r as resolveStateBucketWithDefault, _t as carriesDynamicReference, a as DeploymentEventsStore, an as dynamicReferenceTokens, ar as escapeRegExp, at as endCommandInterruptScope, b as ccRoutedFinalSnapshotError, bn as buildLockContentionMessage, br as stateBucketExistenceConfirmed, bt as getAccountInfo, c as replayFailedOperations, cn as isSingleDynamicReferenceToken, cr as getDockerImageBySourceHash, ct as startInterruptWatch, d as updatePartialReason, di as isMarkedNonRetryable, dn as recordMaskOnlyValue, dr as getDefaultStateBucketName, dt as UNSPECIFIED_SKIP_REASON, ei as ProvisioningError, en as STATE_SOURCED_CROSS_GENERATION_RULES, er as getDockerCmd, et as wouldReturnToSdkProvider, f as withResourceDeadline, fi as isRetryableTransientError, fn as recoverMaskedOutput, fr as getLegacyStateBucketName, ft as deleteIndeterminateGuards, g as bindingSkippedOutputs, gi as markRedactedCause, gn as S3StateBackend, gr as resolveSkipPrefix, gt as IntrinsicFunctionResolver, h as computeImplicitDeleteEdges, hi as markNonRetryable, hn as LockManager, hr as resolveCaptureObservedState, ht as isTerminationProtectionPropagationError, i as DeploymentEventsReader, ii as StackTerminationProtectionError, in as createSecretMasker, ir as runDockerStreaming, it as beginCommandInterruptScope, j as WARM_THROUGHPUT_MEMBERS, jn as WorkGraph, jr as canonicalizeRegion, jt as readConfigString, k as isStatefulRecreateTargetSync, kn as AssetPublisher, kr as expectedOwnerParam, kt as configBooleanRefusal, l as replayRollback, li as normalizeAwsError, ln as maskSecretsInError, lr as Synthesizer, lt as CloudControlProvider, m as IMPLICIT_DELETE_DEPENDENCIES, mi as isTransientServerError, mn as scrubResourceRecord, mr as resolveAutoAssetStorage, mt as disableInstanceApiTermination, n as DEFAULT_RESOURCE_WARN_AFTER_MS, ni as ResourceUpdateNotSupportedError, nn as TEMPLATE_SOURCED_RULES, nr as redactDockerArgvValues, nt as maskDeep, o as planFailedOps, on as errorCauseChain, or as stripControlChars, ot as interruptWatchListenerCount, p as maskingRetryLogger, pi as isThrottlingError, pn as redactSecretsForState, pr as resolveApp, pt as deleteSkipReason, q as secretBearingStateKeyWarning, qn as describeAwsFailure, qr as DynamicReferenceRegionAmbiguousError, qt as findActionableSilentDrops, r as DeployEngine, ri as StackHasActiveImportsError, rn as carriesSecretMask, rr as runDockerForeground, rt as maskerOrIdentity, s as planRollback, sn as identityKeyFor, sr as AssetManifestLoader, st as isInterruptedWaitError, t as DEFAULT_RESOURCE_TIMEOUT_MS, ti as ResourceTimeoutError, tn as STATE_SOURCED_READBACK_RULES, tr as partitionSensitiveEnv, tt as createMaskedRetryLogger, u as updatePartialMessage, ui as withErrorHandling, un as maskSecretsInText, ur as synthesisStatusMessage, ut as slowCcOperationTimeoutMs, v as PRE_DELETE_SNAPSHOT_TYPES, vn as UNRENDERABLE, vr as resolveStateBucketWithDefaultAndSource, vt as cfnRefValueFromPhysicalId, w as unsupportedFinalSnapshotError, wn as DEFAULT_STATE_PREFIX, wr as MIGRATE_TMP_PREFIX, wt as WAFv2WebACLProvider, x as createPreDeleteFinalSnapshot, xn as forceQuitRecoveryClause, xr as warnDeprecatedNoPrefixCliFlag, xt as isUnboundTemplateParameter, y as buildFinalSnapshotIdentifier, yn as buildForceUnlockCommand, yr as resolveUseCdkBootstrapAssets, yt as coerceParameterTypedValue, z as green, zn as ensureAssetStorage, zr as resetAwsClients, zt as s3BucketArn } from "./deploy-engine-umIP3xus.js";
|
|
2
2
|
import { _ as withStackName, c as PATTERN_B_NAME_OPTIONS, f as generateResourceName, g as withSkipPrefix, i as reserveStdoutForPayload, l as PATTERN_B_NAME_PROPERTIES, m as getCurrentStackName, n as getLogger, o as runStackBuffered, p as generateResourceNameWithFallback, s as getLiveRenderer, u as PATTERN_B_RESOURCE_TYPES } from "./logger-Dw-3y48G.js";
|
|
3
3
|
import { t as awsClientDefaults } from "./aws-client-defaults-D-iYiIJ6.js";
|
|
4
|
-
import { t as getCdkdVersion } from "./version-
|
|
5
|
-
import { r as protectedReplacementAdvice, t as ASGProvider } from "./asg-provider-
|
|
4
|
+
import { t as getCdkdVersion } from "./version-4xTzOaA1.js";
|
|
5
|
+
import { r as protectedReplacementAdvice, t as ASGProvider } from "./asg-provider-CC6BMuNK.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";
|
|
@@ -74362,7 +74362,7 @@ async function buildImportPlan(state, template, cfnClient, parentStackName, opti
|
|
|
74362
74362
|
blocked.push({
|
|
74363
74363
|
logicalId,
|
|
74364
74364
|
resourceType,
|
|
74365
|
-
reason: "cdkd state holds only the redaction mask ('***') for at least one property
|
|
74365
|
+
reason: "cdkd state holds only the redaction mask ('***') for at least one property, and cdkd cannot re-derive the value. There are two ways a record comes to hold it. (1) A NoEcho custom-resource value: forcing the custom resource to update does NOT clear this — the handler supplies the value to the deploy and cdkd re-masks it on the way into state, so the export still has nothing to declare. Stop setting NoEcho on that response and re-deploy, then export again. (2) The value was SPLICED from a masked record of ANOTHER resource — by 'cdkd orphan --force', or by 'cdkd import' resolving an Fn::GetAtt or a Ref over a value the Cloud Control fallback had masked. Repair the record that HOLDS the mask ('cdkd import <stack> --resource <logicalId>=<physicalId> --force', granting cloudformation:DescribeType first if the import warned that it could not read the schema), then re-run whichever command wrote this property. Either way you can also export this stack without that resource and adopt it into CloudFormation by hand. See https://github.com/go-to-k/cdkd/issues/2274."
|
|
74366
74366
|
});
|
|
74367
74367
|
continue;
|
|
74368
74368
|
}
|
|
@@ -79592,6 +79592,13 @@ function resolveCdkPathToLogicalIds(input, index) {
|
|
|
79592
79592
|
*/
|
|
79593
79593
|
var AttributeFetcher = class {
|
|
79594
79594
|
cache = /* @__PURE__ */ new Map();
|
|
79595
|
+
/**
|
|
79596
|
+
* Orphans whose masked-`Ref` `--force` warning has already been printed.
|
|
79597
|
+
* Separate from {@link cache}, which memoizes VALUES keyed by
|
|
79598
|
+
* `(orphan, attribute)`; a `Ref` has no attribute and produces no cacheable
|
|
79599
|
+
* value, so sharing that map would need a sentinel key that means "warned".
|
|
79600
|
+
*/
|
|
79601
|
+
warnedMaskedRefs = /* @__PURE__ */ new Set();
|
|
79595
79602
|
logger = getLogger().child("OrphanRewriter");
|
|
79596
79603
|
orphans;
|
|
79597
79604
|
providerRegistry;
|
|
@@ -79607,11 +79614,69 @@ var AttributeFetcher = class {
|
|
|
79607
79614
|
* is NOT the raw physical id (compound `<parent>|<child>` CC ids, ARN-stored
|
|
79608
79615
|
* SDK ids like `AWS::Events::Rule`) substitute the same value CloudFormation
|
|
79609
79616
|
* would have resolved.
|
|
79617
|
+
*
|
|
79618
|
+
* IT CAN FAIL, and the one failure is a REDACTED recovery key (issue
|
|
79619
|
+
* [#2847](https://github.com/go-to-k/cdkd/issues/2847), security review of
|
|
79620
|
+
* the fix round). For a handful of types CFn's `Ref` is a value stored in
|
|
79621
|
+
* `properties` / `attributes` rather than the physical id, and `cdkd import`
|
|
79622
|
+
* now masks any such key it cannot certify is a read-only attribute. The
|
|
79623
|
+
* lookup refuses to serve a mask, so the fall-through emits the RAW PHYSICAL
|
|
79624
|
+
* ID — for a Cloud-Control-routed `AWS::S3Tables::Table` a bare `TableARN`
|
|
79625
|
+
* ending in a UUID, not the table name — and that value would be spliced into
|
|
79626
|
+
* a sibling's persisted properties where NOTHING recognises it.
|
|
79627
|
+
*
|
|
79628
|
+
* That last clause is why this returns a result rather than a string. Before
|
|
79629
|
+
* the lookup learned to refuse a mask it returned the literal `'***'`, which
|
|
79630
|
+
* four unchanged readers DO recognise (`refuseMaskedReplayBaseline`, the
|
|
79631
|
+
* `cdkd export` blocker, drift's mask handling, the deploy-time refusal) — so
|
|
79632
|
+
* silently taking the fall-through here would have traded a guarded sentinel
|
|
79633
|
+
* for an unguarded wrong value, which is a worse outcome than the one the
|
|
79634
|
+
* refusal exists to prevent.
|
|
79635
|
+
*
|
|
79636
|
+
* ## The `--force` arm SUBSTITUTES THE MASK, not the physical id
|
|
79637
|
+
*
|
|
79638
|
+
* `--force`'s contract is "use a possibly-wrong value rather than stranding
|
|
79639
|
+
* me", so this arm still produces a value — but WHICH value is the whole
|
|
79640
|
+
* finding of the issue #2847 round-2 security review, and an earlier
|
|
79641
|
+
* revision of this method got it backwards by handing back the physical id.
|
|
79642
|
+
* That is the unguarded-wrong-value outcome the paragraph above calls worse
|
|
79643
|
+
* than the bug, reached through the one arm that skips the refusal:
|
|
79644
|
+
* `cdkd orphan --force` over a CC-imported `AWS::S3Tables::Table` whose
|
|
79645
|
+
* `TableName` is masked wrote `arn:aws:s3tables:…/<uuid>` into a sibling's
|
|
79646
|
+
* persisted property, every later deploy shipped that ARN where a table name
|
|
79647
|
+
* belongs, and export / rollback / drift / deploy all passed it.
|
|
79648
|
+
*
|
|
79649
|
+
* {@link SECRET_MASK} keeps the `--force` escape hatch open — the rewrite
|
|
79650
|
+
* completes and the orphan leaves state — while leaving a value those four
|
|
79651
|
+
* readers still catch, so the damage stays inside cdkd instead of reaching
|
|
79652
|
+
* AWS. That is also what {@link cacheFallback}, this method's stated mirror,
|
|
79653
|
+
* already does with a masked cached attribute; the two arms now agree.
|
|
79610
79654
|
*/
|
|
79611
79655
|
ref(orphanLogicalId) {
|
|
79612
79656
|
const o = this.orphans[orphanLogicalId];
|
|
79613
79657
|
if (!o) throw new Error(`Internal: Ref to '${orphanLogicalId}' has no orphan entry — should have been filtered out`);
|
|
79614
|
-
|
|
79658
|
+
let maskedKey;
|
|
79659
|
+
const value = cfnRefValueFromPhysicalId(o.resourceType, o.physicalId, refStateLookupFromResource(o, (key) => {
|
|
79660
|
+
maskedKey = key;
|
|
79661
|
+
}));
|
|
79662
|
+
if (maskedKey === void 0) return {
|
|
79663
|
+
ok: true,
|
|
79664
|
+
value
|
|
79665
|
+
};
|
|
79666
|
+
const safeType = displaySafe(o.resourceType, { asciiOnly: true });
|
|
79667
|
+
const reason = `state records the redaction mask ('${"***"}') for '${maskedKey}', the key CloudFormation's Ref returns for ${safeType} — cdkd cannot recover it, and the physical id is NOT that value`;
|
|
79668
|
+
if (!this.options.force) return {
|
|
79669
|
+
ok: false,
|
|
79670
|
+
reason
|
|
79671
|
+
};
|
|
79672
|
+
if (!this.warnedMaskedRefs.has(orphanLogicalId)) {
|
|
79673
|
+
this.warnedMaskedRefs.add(orphanLogicalId);
|
|
79674
|
+
this.logger.warn(`--force: '${orphanLogicalId}': ${reason}. Substituting '${"***"}' rather than the physical id, which would be a wrong value no later cdkd command recognises. The referring resource's state row now records a value the live resource does not have: the next 'cdkd diff' / 'cdkd deploy' reports a spurious change there (a REPLACEMENT if the property is create-only), 'cdkd rollback' refuses the record as a replay baseline, and 'cdkd export' blocks it. Re-import the record that holds the mask, or fix the referring property by hand.`);
|
|
79675
|
+
}
|
|
79676
|
+
return {
|
|
79677
|
+
ok: true,
|
|
79678
|
+
value: "***"
|
|
79679
|
+
};
|
|
79615
79680
|
}
|
|
79616
79681
|
/**
|
|
79617
79682
|
* Return the orphan's resolved value for `Fn::GetAtt`. Hits the live
|
|
@@ -79678,6 +79743,7 @@ var AttributeFetcher = class {
|
|
|
79678
79743
|
}
|
|
79679
79744
|
this.logger.warn(`--force: live fetch failed for '${orphanLogicalId}.${attribute}' (${reason}); falling back to cached value from state.attributes.`);
|
|
79680
79745
|
if (carriesDynamicReference(cached)) this.logger.warn(`--force: the cached value for '${orphanLogicalId}.${attribute}' is an UNRESOLVED dynamic reference (a nested stack's redacted output, issue #2055). It is being written into the referring resource's state VERBATIM — cdkd cannot re-resolve it from here. Re-run without --force once the live attribute is readable, or fix the referring property by hand.`);
|
|
79746
|
+
if (carriesSecretMask(cached)) this.logger.warn(`--force: the cached value for '${orphanLogicalId}.${attribute}' is the REDACTION MASK ('${"***"}'), not the attribute's value — cdkd redacted it into state and cannot recover it. It is being written into the referring resource's state VERBATIM, so that row now records a value the live resource does not have: the next 'cdkd diff' / 'cdkd deploy' reports a spurious change there (a REPLACEMENT if the property is create-only), 'cdkd rollback' refuses the record as a replay baseline, and 'cdkd export' blocks it. Re-run without --force once the live attribute is readable, re-import the record that holds the mask, or fix the referring property by hand.`);
|
|
79681
79747
|
const cacheKey = `${orphanLogicalId}\0${attribute}`;
|
|
79682
79748
|
this.cache.set(cacheKey, cached);
|
|
79683
79749
|
return {
|
|
@@ -79786,16 +79852,26 @@ async function rewriteValue(value, pathPrefix, ownerLogicalId, orphanSet, fetche
|
|
|
79786
79852
|
if ("Ref" in obj && Object.keys(obj).length === 1 && typeof obj["Ref"] === "string") {
|
|
79787
79853
|
const target = obj["Ref"];
|
|
79788
79854
|
if (orphanSet.has(target)) {
|
|
79789
|
-
const
|
|
79855
|
+
const result = fetcher.ref(target);
|
|
79856
|
+
if (!result.ok) {
|
|
79857
|
+
unresolvable.push({
|
|
79858
|
+
logicalId: ownerLogicalId,
|
|
79859
|
+
path: pathPrefix,
|
|
79860
|
+
orphanLogicalId: target,
|
|
79861
|
+
attribute: "Ref",
|
|
79862
|
+
reason: result.reason
|
|
79863
|
+
});
|
|
79864
|
+
return value;
|
|
79865
|
+
}
|
|
79790
79866
|
rewrites.push({
|
|
79791
79867
|
logicalId: ownerLogicalId,
|
|
79792
79868
|
path: pathPrefix,
|
|
79793
79869
|
kind: "ref",
|
|
79794
79870
|
before: { Ref: target },
|
|
79795
|
-
after:
|
|
79871
|
+
after: result.value,
|
|
79796
79872
|
orphanLogicalId: target
|
|
79797
79873
|
});
|
|
79798
|
-
return
|
|
79874
|
+
return result.value;
|
|
79799
79875
|
}
|
|
79800
79876
|
return value;
|
|
79801
79877
|
}
|
|
@@ -79892,17 +79968,29 @@ async function rewriteSubTemplate(template, ownerLogicalId, pathPrefix, orphanSe
|
|
|
79892
79968
|
const dot = inner.indexOf(".");
|
|
79893
79969
|
if (dot < 0) {
|
|
79894
79970
|
if (orphanSet.has(inner)) {
|
|
79895
|
-
const
|
|
79896
|
-
|
|
79897
|
-
|
|
79898
|
-
|
|
79899
|
-
|
|
79900
|
-
|
|
79901
|
-
|
|
79902
|
-
|
|
79903
|
-
|
|
79904
|
-
|
|
79905
|
-
|
|
79971
|
+
const result = fetcher.ref(inner);
|
|
79972
|
+
if (!result.ok) {
|
|
79973
|
+
unresolvable.push({
|
|
79974
|
+
logicalId: ownerLogicalId,
|
|
79975
|
+
path: pathPrefix,
|
|
79976
|
+
orphanLogicalId: inner,
|
|
79977
|
+
attribute: "Ref",
|
|
79978
|
+
reason: result.reason
|
|
79979
|
+
});
|
|
79980
|
+
out += m[0];
|
|
79981
|
+
hasUnresolvable = true;
|
|
79982
|
+
} else {
|
|
79983
|
+
rewrites.push({
|
|
79984
|
+
logicalId: ownerLogicalId,
|
|
79985
|
+
path: pathPrefix,
|
|
79986
|
+
kind: "sub",
|
|
79987
|
+
before: m[0],
|
|
79988
|
+
after: result.value,
|
|
79989
|
+
orphanLogicalId: inner
|
|
79990
|
+
});
|
|
79991
|
+
out += result.value;
|
|
79992
|
+
didChange = true;
|
|
79993
|
+
}
|
|
79906
79994
|
} else out += m[0];
|
|
79907
79995
|
} else {
|
|
79908
79996
|
const target = inner.slice(0, dot);
|
|
@@ -81195,11 +81283,19 @@ function defaultOnlyParameterTemplate(template) {
|
|
|
81195
81283
|
* - a parameter binds to a placeholder `Default` while the DEPLOYED value was
|
|
81196
81284
|
* the reference, so no opener exists in any template this walk is handed --
|
|
81197
81285
|
* [#2854](https://github.com/go-to-k/cdkd/issues/2854);
|
|
81198
|
-
* - `redactSecretsForState` cannot PAIR the readback against the source
|
|
81199
|
-
*
|
|
81200
|
-
*
|
|
81201
|
-
*
|
|
81202
|
-
*
|
|
81286
|
+
* - `redactSecretsForState` cannot PAIR the readback against the source at a
|
|
81287
|
+
* position the source carries NO leaf for -- an observed KEY beside a paired
|
|
81288
|
+
* one -- so there is nothing to refuse from and the value scan has no needle
|
|
81289
|
+
* naming it. The row `refuseUncertifiedReadbackPositions`' own table marks
|
|
81290
|
+
* deliberately open, with the cost argument for leaving it that way;
|
|
81291
|
+
* [#2868](https://github.com/go-to-k/cdkd/issues/2868) owns it.
|
|
81292
|
+
* The OTHER pairing failures this bullet used to list -- a reshaped
|
|
81293
|
+
* container, an identity key AWS normalised, an array whose anchors do not
|
|
81294
|
+
* corroborate -- no longer persist the plaintext: since
|
|
81295
|
+
* [#2885](https://github.com/go-to-k/cdkd/issues/2885) this capture declares
|
|
81296
|
+
* its bag a drift baseline, so an uncertified position is masked. They are
|
|
81297
|
+
* rows of `tests/unit/cli/import-observed-baseline-refusal-matrix.test.ts`
|
|
81298
|
+
* rather than entries here;
|
|
81203
81299
|
* - the readback holds a secret with NO counterpart in the source at all, set
|
|
81204
81300
|
* out of band -- [#2868](https://github.com/go-to-k/cdkd/issues/2868), filed
|
|
81205
81301
|
* as a remit question rather than a defect in this mechanism.
|
|
@@ -81268,6 +81364,7 @@ async function resolveImportedProperties(stackState, template, region, stateBack
|
|
|
81268
81364
|
logger.warn(`Failed to resolve intrinsics in Properties for imported resource '${logicalId}' (${resource.resourceType}): ${maskSecretsInText(err instanceof Error ? err.message : String(err), recordedSecretValues)}. State will be written with the raw intrinsic shape, which may cause 'cdkd destroy' to fail on this resource — re-import once every referenced sibling is in state, or remove this resource via 'cdkd state orphan'.` + (unboundParameterNames.length > 0 ? ` This template also declares parameter(s) with no 'Default' that an import cannot bind (${unboundParameterNames.join(", ")}), and 'cdkd import' accepts no parameter values — if this property was built from one of those, re-importing a sibling will not change it: give the parameter a 'Default' in the template and re-import, or correct the recorded properties before the next 'cdkd deploy'.` : ""));
|
|
81269
81365
|
threw = true;
|
|
81270
81366
|
}
|
|
81367
|
+
if (recordedSecretValues.size > 0 && resource.attributes !== void 0) resource.attributes = redactSecretsForState(resource.attributes, recordedSecretValues);
|
|
81271
81368
|
if (threw) {
|
|
81272
81369
|
unsafeObservedBaselineLogicalIds.add(logicalId);
|
|
81273
81370
|
continue;
|
|
@@ -81449,7 +81546,7 @@ async function captureObservedForImportedResources(stackState, providerRegistry,
|
|
|
81449
81546
|
}).provider;
|
|
81450
81547
|
if (!provider.readCurrentState) return;
|
|
81451
81548
|
const observed = await provider.readCurrentState(resource.physicalId, logicalId, resource.resourceType, resource.properties ?? {}, buildReadCurrentStateContext(stackState, logicalId));
|
|
81452
|
-
if (observed !== void 0) resource.observedProperties = redactSecretsForState(observed, NO_RECORDED_SECRETS, resource.properties ?? {},
|
|
81549
|
+
if (observed !== void 0) resource.observedProperties = redactSecretsForState(observed, NO_RECORDED_SECRETS, resource.properties ?? {}, STATE_SOURCED_BASELINE_RULES);
|
|
81453
81550
|
} catch (err) {
|
|
81454
81551
|
logger.debug(`observedProperties capture for imported ${logicalId} (${resource.resourceType}) failed: ${err instanceof Error ? err.name : typeof err} — drift will fall back to template properties for this resource until the next successful deploy.`);
|
|
81455
81552
|
}
|
|
@@ -90852,4 +90949,4 @@ function buildProgram() {
|
|
|
90852
90949
|
|
|
90853
90950
|
//#endregion
|
|
90854
90951
|
export { buildProgram };
|
|
90855
|
-
//# sourceMappingURL=program-
|
|
90952
|
+
//# sourceMappingURL=program-CxMjCbiG.js.map
|