@go-to-k/cdkd 0.285.13 → 0.285.14
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-DcFgnQQO.js → asg-provider-BvIH9Ivw.js} +2 -2
- package/dist/{asg-provider-DcFgnQQO.js.map → asg-provider-BvIH9Ivw.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-DhMm2M33.js → deploy-engine-CA50haPO.js} +273 -49
- package/dist/{deploy-engine-DhMm2M33.js.map → deploy-engine-CA50haPO.js.map} +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{program-DHJ4G_ZZ.js → program-BSanOkkV.js} +60 -72
- package/dist/{program-DHJ4G_ZZ.js.map → program-BSanOkkV.js.map} +1 -1
- package/dist/{version-FLW4rE5A.js → version-DP5kGlzj.js} +2 -2
- package/dist/{version-FLW4rE5A.js.map → version-DP5kGlzj.js.map} +1 -1
- package/package.json +1 -7
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;EAgBA;EAcA;EAYA;EAGA;;UAMe;EAEf;EAGA;EAGA,YAAY;EAcZ,qBAAqB;EAGrB,aAAa;EAGb;EAGA,WAAW;EAmBX;EAMA;EAyBA;;UAMe;EAEf;EAGA;EAGA;EAGA;;KAMU;UAKK;EAEf;EAGA,YAAY;EAGZ;EAGA,oBAAoB;EAGpB,oBAAoB;EAGpB,kBAAkB;EAWlB,mBAAmB;;UAUJ;EAEf;EACA;EACA;;UAiFe;EAEf;EAGA;EAGA;EAGA;EAYA;;;;KC1fU,uBAAuB;KAuvJvB,gBAAgB;;;UCrxJX;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;EAKf,sBAAsB;;UA8CP;EAKf;EAWA;;UAMe,6BAA6B,2BAA2B;EAEvE;EAEA,aAAa;;UAOL,iCAAiC,2BAA2B;EAEpE;EAEA;EAEA,aAAa;;KAwCH;WAGG;WAMA;;WAOA;WAaA;;KAOH,uBAAuB,2BAA2B;UAuB7C;WAQN;WAQA;;KA0DC;WAGG;WAKA,+BAA+B;;WAY/B,+BAA+B;WAU/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CACT,qBACA,mBAAmB;EA+Bf,OAAO,mBAAmB,UAAU,yBAAyB,QAAQ;UA+BnE;UAqHA;UAwDA;UAcA;UAiGA;UAqDA;UAwBA;UA8BA;UAkDA;UA2BA;UAkCM;UAgDA;UAsGN;UAqEM;UAqrBA;UA+kBA;UA4EA;UA2BA;UA+BA;UAuCN;UA+BM;UA4CA;UAqSN;UAaA;UAmBA;UAwBA;UAyCM;UA0CA;UAwKA;UAi0CN;UA8BA;UA4BA;UAkCA;UAgCA;UAOA;UAoCA;UA4EA;UA4BM;UA6BN;UAiCA;UAmBA;UAgBA;UAwCM;UAmRN"}
|
|
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;E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BA;UA4BA;UAkCA;UAgCA;UAOA;UAoCA;UA4EA;UA4BM;UA6BN;UAiCA;UAmBA;UAgBA;UAwCM;UAmSN"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as DiffCalculator, Cr as ConfigError, Gr as normalizeAwsError, Gt as TemplateParser, Hr as SynthesisError, Ir as ProvisioningError, K as ProviderRegistry, Mr as LockError, Sr as CdkdError, Tr as DependencyError, U as IAMRoleProvider, Un as Synthesizer, Ur as formatError, Vr as StateError, Wr as isCdkdError, Wt as DagBuilder, _r as AwsClients, at as CloudControlProvider, br as setAwsClients, gr as resolveBucketRegion, hr as clearBucketRegionCache, on as LockManager, pn as AssetPublisher, pr as AssemblyReader, r as DeployEngine, sn as S3StateBackend, vr as getAwsClients, xr as AssetError, yr as resetAwsClients } from "./deploy-engine-CA50haPO.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 DEFAULT_STATE_PREFIX, $n as resolveUseCdkBootstrapAssets, $t as isSingleDynamicReferenceToken, A as bold, An as validateAssetBucketName, Ar as
|
|
1
|
+
import { $ as DEFAULT_STATE_PREFIX, $n as resolveUseCdkBootstrapAssets, $r as retryClassificationText, $t as isSingleDynamicReferenceToken, A as bold, An as validateAssetBucketName, Ar as LocalMigrateError, At as requireConfigObject, B as secretBearingStateKeyWarning, Bn as runDockerStreaming, Br as StackTerminationProtectionError, Bt as DiffCalculator, C as unsupportedFinalSnapshotError, Cn as BOOTSTRAP_MARKER_PREFIX, Ct as assertRegionMatch, D as isStatefulRecreateTargetSync, Dn as isCrossRegionRedirect, Dr as DynamicReferenceRegionAmbiguousError, Dt as readConfigString, E as MULTI_REGION_RECREATE_BLOCKED_TYPES, En as getBootstrapMarkerKey, Er as DeployCancelledError, Et as configStringRefusal, F as yellow, Fn as dockerSpawnEnvWithSensitive, Fr as PartialFailureError, Ft as s3BucketDomainName, G as clearOnUpdateRemoval, Gn as getDefaultStateBucketName, Gr as normalizeAwsError, Gt as TemplateParser, H as getCurrentResourceSecrets, Hn as getDockerImageBySourceHash, Ht as describeTypeWithThrottleRetry, I as collectDeclaredOutputNames, In as formatDockerLoginError, Ir as ProvisioningError, It as s3BucketDualStackDomainName, J as findSilentDropProperties, Jn as resolveAutoAssetStorage, Jr as isRetryableTransientError, Jt as TEMPLATE_SOURCED_RULES, K as ProviderRegistry, Kn as getLegacyStateBucketName, Kr as withErrorHandling, Kt as STATE_SOURCED_CROSS_GENERATION_RULES, L as collectPublishedOutputNames, Ln as getDockerCmd, Lr as ResourceTimeoutError, Lt as s3BucketRegionalDomainName, M as gray, Mn as buildDenyExternalAccessPolicy, Mt as classifyReplaySecretRegion, N as green, Nn as describeAwsFailure, Nr as MissingCdkCliError, Nt as producerRegionsFromState, O as renderStatefulReason, On as parseBootstrapMarker, Or as IntrinsicResolutionRefusalError, Ot as replayWarn, P as red, Pn as buildDockerImage, Pr as NestedStackChildDirectDestroyError, Pt as s3BucketArn, Q as CUSTOM_RESOURCE_RESPONSE_PREFIX, Qn as resolveStateBucketWithDefaultAndSource, Qr as markRedactedCause, Qt as errorCauseChain, R as exportAliasCollisionScrubWarning, Rn as partitionSensitiveEnv, Rr as ResourceUpdateNotSupportedError, Rt as s3BucketWebsiteUrl, S as refusesFinalSnapshot, Sn as AssetModeResolver, Sr as CdkdError, St as resolveExplicitPhysicalId, T as extractDeploymentEventError, Tn as ensureAssetStorage, Tt as configBooleanRefusal, U as IAMRoleProvider, Un as Synthesizer, Ut as withRetry, V as stateKeySecretExposure, Vn as AssetManifestLoader, Vt as INTRINSIC_KEYS, W as collectInlinePolicyNamesManagedBySiblings, Wn as synthesisStatusMessage, Wt as DagBuilder, X as maskDeep, Xn as resolveSkipPrefix, Xr as isTransientServerError, Xt as createSecretMasker, Y as createMaskedRetryLogger, Yn as resolveCaptureObservedState, Yr as isThrottlingError, Yt as carriesSecretMask, Z as maskerOrIdentity, Zn as resolveStateBucketWithDefault, Zr as markNonRetryable, Zt as dynamicReferenceTokens, _ as PRE_DELETE_SNAPSHOT_TYPES, _n as createAssetRedirectResolver, _r as AwsClients, _t as isUnboundTemplateParameter, a as DeploymentEventsStore, an as scrubResourceRecord, ar as findLargeInlineResources, at as CloudControlProvider, b as createPreDeleteFinalSnapshot, bn as escapeRegExp, br as setAwsClients, bt as WAFv2WebACLProvider, c as replayFailedOperations, cn as rebuildClientForBucketRegion, cr as displaySafe, ct as deleteIndeterminateGuards, d as updatePartialReason, dn as importableOutputs, dr as canonicalizeRegion, dt as isTerminationProtectionPropagationError, en as maskSecretsInError, er as stateBucketExistenceConfirmed, et as beginCommandInterruptScope, f as withResourceDeadline, fn as shouldRetainResource, fr as derivePartitionAndUrlSuffix, ft as IntrinsicFunctionResolver, g as ATOMIC_FINAL_SNAPSHOT_TYPES, gn as buildAssetRedirectMap, gr as resolveBucketRegion, gt as getAccountInfo, h as computeImplicitDeleteEdges, hn as WorkGraph, ht as coerceParameterTypedValue, i as DeploymentEventsReader, in as redactSecretsForState, ir as MIGRATE_TMP_PREFIX, it as startInterruptWatch, j as cyan, jn as validateContainerRepoName, jr as LocalStartServiceError, jt as requireConfigString, k as formatResourceLine, kn as readBootstrapMarkerBody, kr as LocalInvokeBuildError$1, kt as requireConfigArray, l as replayRollback, ln as exportNamesCarriedFrom, lr as expectedOwnerParam, lt as deleteSkipReason, m as IMPLICIT_DELETE_DEPENDENCIES, mn as stringifyValue, mr as processStackMessages, mt as cfnRefValueFromPhysicalId, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nn as recordMaskOnlyValue, nr as CFN_TEMPLATE_BODY_LIMIT, nt as interruptWatchListenerCount, o as planFailedOps, on as LockManager, or as uploadCfnTemplate, ot as slowCcOperationTimeoutMs, p as maskingRetryLogger, pn as AssetPublisher, pr as AssemblyReader, pt as carriesDynamicReference, q as findActionableSilentDrops, qn as resolveApp, qr as isMarkedNonRetryable, qt as STATE_SOURCED_READBACK_RULES, r as DeployEngine, rn as recoverMaskedOutput, rr as CFN_TEMPLATE_URL_LIMIT, rt as isInterruptedWaitError, s as planRollback, sn as S3StateBackend, sr as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, st as UNSPECIFIED_SKIP_REASON, t as DEFAULT_RESOURCE_TIMEOUT_MS, tn as maskSecretsInText, tr as warnDeprecatedNoPrefixCliFlag, tt as endCommandInterruptScope, u as updatePartialMessage, un as importableOutputKeys, ur as PARTITION_TABLE, ut as disableInstanceApiTermination, v as buildFinalSnapshotIdentifier, vn as loadPublishableAssetManifest, vr as getAwsClients, vt as parameterTypeMayLoseSecretIdentity, w as makeCanonicalizePropertiesFn, wn as assertAssetBucketRegion, wr as CrossAccountSecretRefusalError, wt as coerceCfnBoolean, x as isFinalSnapshotError, xn as stripControlChars, xt as normalizeAwsTagsToCfn, y as ccRoutedFinalSnapshotError, yn as rewriteTemplateAssetReferences, yr as resetAwsClients, yt as refStateLookupFromResource, z as isExportAliasCollision, zn as runDockerForeground, zr as StackHasActiveImportsError, zt as applyRoleArnIfSet } from "./deploy-engine-CA50haPO.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 { t as ASGProvider } from "./asg-provider-
|
|
4
|
+
import { t as getCdkdVersion } from "./version-DP5kGlzj.js";
|
|
5
|
+
import { t as ASGProvider } from "./asg-provider-BvIH9Ivw.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, 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";
|
|
@@ -65391,15 +65391,14 @@ const DYNAMIC_REFERENCE_OPENING = "{{resolve:";
|
|
|
65391
65391
|
* unactionable for prose. Requiring the service makes the count a count of
|
|
65392
65392
|
* SECRET references rather than of the characters `{{resolve:`.
|
|
65393
65393
|
*
|
|
65394
|
-
*
|
|
65395
|
-
* `
|
|
65396
|
-
* classifies the tokens below — the same set on both sides, so the
|
|
65397
|
-
* the classification never disagree about what is in scope.
|
|
65398
|
-
*
|
|
65399
|
-
*
|
|
65400
|
-
*
|
|
65401
|
-
*
|
|
65402
|
-
* the guard correct the day that arm changes.
|
|
65394
|
+
* All three mirror `REPLAY_SECRET_SERVICES` in
|
|
65395
|
+
* `secret-region-classification.ts`, whose {@link classifyReplaySecretRegion}
|
|
65396
|
+
* is what classifies the tokens below — the same set on both sides, so the
|
|
65397
|
+
* count and the classification never disagree about what is in scope. Until
|
|
65398
|
+
* issue #2482 `ssm-secure` was counted here AHEAD of that set (cdkd did not
|
|
65399
|
+
* resolve it, so it could never become a wrong-region needle, and counting it
|
|
65400
|
+
* kept the guard correct for the day the resolver's arm changed); that day
|
|
65401
|
+
* came, and the two lists agree again.
|
|
65403
65402
|
*
|
|
65404
65403
|
* THE TRADE, stated rather than hidden: an `Fn::Join` that splits BEFORE the
|
|
65405
65404
|
* service name (`['{{resolve:', 'secretsmanager:db:SecretString:pw}}']`) has no
|
|
@@ -67751,9 +67750,9 @@ var DriftDetectedError = class DriftDetectedError extends CdkdError {
|
|
|
67751
67750
|
*
|
|
67752
67751
|
* SCOPED TO THE CLEARABLE CAUSES, not to everything the report calls
|
|
67753
67752
|
* `notCompared`. The roll-up also contains resources whose only problem is a
|
|
67754
|
-
* surviving `{{resolve
|
|
67755
|
-
*
|
|
67756
|
-
* create. Exiting non-zero for them would break `cdkd drift` in CI forever over
|
|
67753
|
+
* surviving `{{resolve:...}}` token cdkd resolves for nobody — a look-alike
|
|
67754
|
+
* spelling, since issue #2482 moved `ssm-secure` onto the `ssm` path — which
|
|
67755
|
+
* can never clear on a re-run, and which this change did not create. Exiting non-zero for them would break `cdkd drift` in CI forever over
|
|
67757
67756
|
* an unrelated defect, so the exit reads `refused` and `readFailed` while the
|
|
67758
67757
|
* report covers all three. See `NotComparedCause` and `outcomeExitSignal`.
|
|
67759
67758
|
*
|
|
@@ -67787,12 +67786,15 @@ var DriftDetectedError = class DriftDetectedError extends CdkdError {
|
|
|
67787
67786
|
* honest SENTENCE, since their no-drift line claimed a clean bill of health for
|
|
67788
67787
|
* a stack they had not read. See {@link incompleteRemediationMessage}.
|
|
67789
67788
|
*
|
|
67790
|
-
* WHAT DOES NOT TRIGGER IT: a stack whose properties
|
|
67791
|
-
*
|
|
67792
|
-
* compared and the report says so, but nothing REFUSED them — cdkd has
|
|
67793
|
-
* resolved that spelling — so the condition is permanent, unclearable by
|
|
67794
|
-
* action the user can take, and predates this change. It is reported as
|
|
67795
|
-
* information and kept out of the exit code.
|
|
67789
|
+
* WHAT DOES NOT TRIGGER IT: a stack whose properties carry a `{{resolve:...}}`
|
|
67790
|
+
* spelling cdkd resolves for nobody still exits 0. Those properties genuinely
|
|
67791
|
+
* are not compared and the report says so, but nothing REFUSED them — cdkd has
|
|
67792
|
+
* never resolved that spelling — so the condition is permanent, unclearable by
|
|
67793
|
+
* any action the user can take, and predates this change. It is reported as
|
|
67794
|
+
* information and kept out of the exit code. (`ssm-secure` was that spelling
|
|
67795
|
+
* when this was written; since issue #2482 it resolves like `ssm`, and a
|
|
67796
|
+
* lookup that fails for it lands with the other resolution failures, not
|
|
67797
|
+
* here.)
|
|
67796
67798
|
*
|
|
67797
67799
|
* Carries no message of its own for the same reason {@link DriftDetectedError}
|
|
67798
67800
|
* does -- the report was already printed.
|
|
@@ -67863,8 +67865,7 @@ function notComparedOutcomes(report) {
|
|
|
67863
67865
|
* code covers only the CLEARABLE ones — `refused` (the population #2108 created)
|
|
67864
67866
|
* and `readFailed` (issues #2151 / #1945). Exiting non-zero on
|
|
67865
67867
|
* `unresolvedToken` would break `cdkd drift` in CI forever for every stack
|
|
67866
|
-
* holding
|
|
67867
|
-
* and unrelated. See {@link NotComparedCause}.
|
|
67868
|
+
* holding such a spelling — permanent, unclearable, and unrelated. See {@link NotComparedCause}.
|
|
67868
67869
|
*
|
|
67869
67870
|
* A `drifted` outcome reports `drifted` even when its own comparison was
|
|
67870
67871
|
* refused: drift is the stronger, actionable signal and the caller ranks it
|
|
@@ -68000,7 +68001,7 @@ function uncomparedTally(reports) {
|
|
|
68000
68001
|
*
|
|
68001
68002
|
* - The TRIGGER is `anyIncomplete`, i.e. {@link outcomeExitSignal}'s
|
|
68002
68003
|
* `incomplete`. It is narrow on purpose: a stack whose ONLY uncompared
|
|
68003
|
-
* resource holds a `{{resolve
|
|
68004
|
+
* resource holds a `{{resolve:...}}` token cdkd resolves for nobody must not start
|
|
68004
68005
|
* shouting on every run about a comparison no action of the user's can ever
|
|
68005
68006
|
* complete -- the same CI-forever hazard that cause is kept out of the exit
|
|
68006
68007
|
* code on.
|
|
@@ -68285,25 +68286,6 @@ function carriesRecordedSecret(value, secrets) {
|
|
|
68285
68286
|
return false;
|
|
68286
68287
|
}
|
|
68287
68288
|
/**
|
|
68288
|
-
* Is this unresolvable token one whose value is a SECRET by definition?
|
|
68289
|
-
*
|
|
68290
|
-
* `ssm-secure` is the only such spelling, and it is decidable with no lookup:
|
|
68291
|
-
* CloudFormation defines exactly three dynamic-reference services (`ssm`,
|
|
68292
|
-
* `ssm-secure`, `secretsmanager`), cdkd resolves the other two, and
|
|
68293
|
-
* `ssm-secure` is the encrypted one.
|
|
68294
|
-
*
|
|
68295
|
-
* Anything else reaching the survivor arm is not a CloudFormation dynamic
|
|
68296
|
-
* reference at all — it is text that merely looks like one — and treating it as
|
|
68297
|
-
* secret is not the safe direction it appears to be: the path would be masked
|
|
68298
|
-
* to `***`, refused by `--accept`, and pinned to the live value by
|
|
68299
|
-
* {@link preserveLiveValuesAtUnresolvedTokens}, which is permanently stuck
|
|
68300
|
-
* drift with no remedy the user can apply. Such a token is still REPORTED; it
|
|
68301
|
-
* just does not claim to be a secret.
|
|
68302
|
-
*/
|
|
68303
|
-
function isSecretBySpelling(token) {
|
|
68304
|
-
return token.startsWith("{{resolve:ssm-secure:");
|
|
68305
|
-
}
|
|
68306
|
-
/**
|
|
68307
68289
|
* Every `{{resolve:...}}` token still present in `value`.
|
|
68308
68290
|
*
|
|
68309
68291
|
* Used to NAME an unresolvable reference without quoting the string it sits in.
|
|
@@ -68456,10 +68438,13 @@ var DriftSecretRefusalError = class DriftSecretRefusalError extends CdkdError {
|
|
|
68456
68438
|
/**
|
|
68457
68439
|
* Whether an error thrown out of `resolveStateSecretExpressions` is a
|
|
68458
68440
|
* deliberate REFUSAL rather than a failed read. See
|
|
68459
|
-
* {@link DriftSecretRefusalError}
|
|
68441
|
+
* {@link DriftSecretRefusalError} — drift's own region refusal — and
|
|
68442
|
+
* `IntrinsicResolutionRefusalError`, the resolver's: since issue #2482 the
|
|
68443
|
+
* `ssm-secure` arm refuses a definitive `String` / `StringList` parameter with
|
|
68444
|
+
* the latter, and that is a decision, not an IAM problem to go hunting for.
|
|
68460
68445
|
*/
|
|
68461
68446
|
function isDriftSecretRefusal(err) {
|
|
68462
|
-
return err instanceof DriftSecretRefusalError;
|
|
68447
|
+
return err instanceof DriftSecretRefusalError || err instanceof IntrinsicResolutionRefusalError;
|
|
68463
68448
|
}
|
|
68464
68449
|
/**
|
|
68465
68450
|
* One-line human phrasing for a {@link NotComparedCause}, used per entry in the
|
|
@@ -68638,17 +68623,19 @@ async function resolveDriftLeafByRegion(leaf, propertyPath, logicalId, consumerR
|
|
|
68638
68623
|
*
|
|
68639
68624
|
* A `{{resolve:...}}` token that SURVIVES the pass is reported through
|
|
68640
68625
|
* `onUnresolved` and left in place — it is not an error. The resolver's
|
|
68641
|
-
* unsupported-service arm (`ssm-secure:`
|
|
68642
|
-
*
|
|
68643
|
-
*
|
|
68644
|
-
*
|
|
68645
|
-
*
|
|
68646
|
-
*
|
|
68647
|
-
*
|
|
68626
|
+
* unsupported-service arm warns and returns the literal (`ssm-secure:` was the
|
|
68627
|
+
* live example until issue #2482 gave it an arm; what reaches it now is text
|
|
68628
|
+
* that merely looks like a reference), and `cdkd deploy` resolves through the
|
|
68629
|
+
* very same code, so AWS is ALREADY holding that literal string and state
|
|
68630
|
+
* records it. Replaying it is therefore a correct no-op, and failing the
|
|
68631
|
+
* resource over it would take every other drifted property on that resource
|
|
68632
|
+
* down with it (plus exit 2). The report exists so the user learns cdkd is
|
|
68633
|
+
* shipping a token it cannot resolve, which is a real thing to know and not a
|
|
68634
|
+
* reason to stop.
|
|
68648
68635
|
*
|
|
68649
68636
|
* Only the TOKENS are reported, never the leaf that held them: the leaf is
|
|
68650
68637
|
* partially substituted by this point, so a mixed `secretsmanager` +
|
|
68651
|
-
*
|
|
68638
|
+
* look-alike string comes back carrying real plaintext.
|
|
68652
68639
|
*
|
|
68653
68640
|
* Returns the input by identity when it holds no dynamic reference, so the
|
|
68654
68641
|
* non-secret path is unchanged down to object identity.
|
|
@@ -68671,10 +68658,7 @@ async function resolveStateSecretExpressions(props, resolvers, secrets, options)
|
|
|
68671
68658
|
if (!v.includes("{{resolve:")) return v;
|
|
68672
68659
|
const resolved = await resolveDriftLeafByRegion(v, path, logicalId, consumerRegion, producerRegions, resolvers, ctx);
|
|
68673
68660
|
const survivors = survivingDynamicReferences(resolved).filter((t) => v.includes(t));
|
|
68674
|
-
if (survivors.length > 0)
|
|
68675
|
-
if (survivors.some(isSecretBySpelling)) secretPaths?.add(path);
|
|
68676
|
-
onUnresolved?.(survivors, path);
|
|
68677
|
-
}
|
|
68661
|
+
if (survivors.length > 0) onUnresolved?.(survivors, path);
|
|
68678
68662
|
if (carriesRecordedSecret(resolved, secrets)) secretPaths?.add(path);
|
|
68679
68663
|
return resolved;
|
|
68680
68664
|
}
|
|
@@ -68934,7 +68918,7 @@ async function runDriftForStack(stackName, region, stateBackend, providerRegistr
|
|
|
68934
68918
|
logger.warn(`${logicalId} (${resource.resourceType}): ` + (refused ? "refused to resolve a dynamic reference this resource's state records, so its secret-bearing properties are NOT compared — " : "could not resolve the dynamic reference(s) this resource's state records, so its secret-bearing properties are NOT compared — ") + `${maskSecretsInText(err instanceof Error ? err.message : String(err), secrets)}`);
|
|
68935
68919
|
secrets.clear();
|
|
68936
68920
|
}
|
|
68937
|
-
if (unresolvedTokens.size > 0) logger.warn(`${logicalId} (${resource.resourceType}): cdkd cannot resolve ${maskSecretsInText([...unresolvedTokens].join(", "), secrets)} — those properties are NOT compared. A revert leaves a property whose WHOLE value is one of these tokens untouched; where a token is EMBEDDED in a longer string, the revert writes that string with the token literal, exactly as 'cdkd deploy' does — so a resolved value AWS holds there WOULD be overwritten. cdkd resolves 'secretsmanager' and 'ssm' references
|
|
68921
|
+
if (unresolvedTokens.size > 0) logger.warn(`${logicalId} (${resource.resourceType}): cdkd cannot resolve ${maskSecretsInText([...unresolvedTokens].join(", "), secrets)} — those properties are NOT compared. A revert leaves a property whose WHOLE value is one of these tokens untouched; where a token is EMBEDDED in a longer string, the revert writes that string with the token literal, exactly as 'cdkd deploy' does — so a resolved value AWS holds there WOULD be overwritten. cdkd resolves 'secretsmanager', 'ssm' and 'ssm-secure' references; anything else is left as written.`);
|
|
68938
68922
|
const observedIgnorePaths = useObserved ? undeclaredEmptyObservedKeys(resource.observedProperties, resource.properties ?? {}) : [];
|
|
68939
68923
|
const normalized = await canonicalizePrincipalUniqueIds(comparisonBaseline, aws, resolvePrincipalUniqueId);
|
|
68940
68924
|
const protocolNormalized = canonicalizeIpProtocols(normalized.baseline, normalized.aws, resource.resourceType);
|
|
@@ -69505,19 +69489,24 @@ function mergeUntemplatedValue(awsValue, desiredValue) {
|
|
|
69505
69489
|
* warning, on the premise that `cdkd deploy` resolves through the
|
|
69506
69490
|
* resolver's same unsupported-service arm — so AWS already holds the literal
|
|
69507
69491
|
* and replaying it is a no-op. **That premise holds only for records cdkd
|
|
69508
|
-
* deployed.**
|
|
69509
|
-
*
|
|
69510
|
-
*
|
|
69511
|
-
*
|
|
69512
|
-
*
|
|
69513
|
-
*
|
|
69514
|
-
*
|
|
69492
|
+
* deployed.** A record adopted by `cdkd import --migrate-from-cloudformation`,
|
|
69493
|
+
* or one whose position was edited out of band, holds something ELSE there.
|
|
69494
|
+
* `diffAt` skips such a leaf, so it never drifts — but
|
|
69495
|
+
* `buildRevertNewProperties` overlays the whole top-level subtree when any
|
|
69496
|
+
* SIBLING key drifts, which would push the literal token over that value. That
|
|
69497
|
+
* is defect 1 of this issue surviving in a narrower case, on a live AWS write.
|
|
69498
|
+
*
|
|
69499
|
+
* (When this was written the population was `ssm-secure`, which CloudFormation
|
|
69500
|
+
* resolves SERVER-side, so a migrated record held the PLAINTEXT on AWS. Since
|
|
69501
|
+
* issue #2482 cdkd resolves that spelling itself and the token never reaches
|
|
69502
|
+
* this pass; what survives is a spelling nobody resolves, so the live value
|
|
69503
|
+
* here is whatever the user or another tool put at that position.)
|
|
69515
69504
|
*
|
|
69516
69505
|
* Deciding by PROVENANCE would need a flag state does not carry. Deciding by
|
|
69517
69506
|
* what AWS actually holds needs nothing and is exact in both directions: for a
|
|
69518
69507
|
* cdkd-deployed record AWS holds the token, so copying it back is the same
|
|
69519
|
-
* no-op the premise described; for
|
|
69520
|
-
*
|
|
69508
|
+
* no-op the premise described; for any other record AWS holds a value cdkd
|
|
69509
|
+
* cannot compare, which is left untouched.
|
|
69521
69510
|
*
|
|
69522
69511
|
* Falls back to KEEPING the token wherever AWS has nothing at that position —
|
|
69523
69512
|
* that is what `cdkd deploy` sends, so it is the safe residual rather than
|
|
@@ -69525,12 +69514,11 @@ function mergeUntemplatedValue(awsValue, desiredValue) {
|
|
|
69525
69514
|
* and bails to that same residual on any length mismatch, since a reordered
|
|
69526
69515
|
* readback cannot be positioned against.
|
|
69527
69516
|
*/
|
|
69528
|
-
function preserveLiveValuesAtUnresolvedTokens(send, awsProperties
|
|
69517
|
+
function preserveLiveValuesAtUnresolvedTokens(send, awsProperties) {
|
|
69529
69518
|
const walk = (value, live) => {
|
|
69530
69519
|
if (typeof value === "string" && value.includes("{{resolve:")) {
|
|
69531
69520
|
if (!isSingleDynamicReferenceToken(value)) return value;
|
|
69532
69521
|
if (live === void 0) return value;
|
|
69533
|
-
if (typeof live === "string" && live.length >= MIN_SECRET_NEEDLE_LENGTH && isSecretBySpelling(value)) secrets.set(live, value);
|
|
69534
69522
|
return live;
|
|
69535
69523
|
}
|
|
69536
69524
|
if (Array.isArray(value)) {
|
|
@@ -69884,7 +69872,7 @@ async function runRevert(reports, providerRegistry, stateBackend, stateConfig, a
|
|
|
69884
69872
|
let newProperties;
|
|
69885
69873
|
try {
|
|
69886
69874
|
const overlaid = buildRevertNewProperties(outcome.changes, desiredProperties, outcome.awsProperties, { preserveUntemplated: stateResource.observedProperties === void 0 });
|
|
69887
|
-
const maskPreserved = preserveLiveValuesAtMaskedLeaves(unresolvedTokens.size > 0 ? preserveLiveValuesAtUnresolvedTokens(overlaid, outcome.awsProperties
|
|
69875
|
+
const maskPreserved = preserveLiveValuesAtMaskedLeaves(unresolvedTokens.size > 0 ? preserveLiveValuesAtUnresolvedTokens(overlaid, outcome.awsProperties) : overlaid, outcome.awsProperties, secrets);
|
|
69888
69876
|
if (maskPreserved.unpreservablePaths.length > 0) {
|
|
69889
69877
|
totalUnresolvable++;
|
|
69890
69878
|
logger.error(` ✗ ${report.stackName}/${outcome.logicalId} (${outcome.resourceType}): refused to revert ${maskPreserved.unpreservablePaths.join(", ")} — the recorded baseline holds only the redaction mask there (a NoEcho custom-resource value), and AWS reports nothing to preserve, so cdkd has no value it may write. Force that custom resource to update (change one of its properties, e.g. a nonce) and re-deploy, so its handler runs again and supplies the value — an ordinary re-deploy leaves it unchanged and the mask stays.`);
|
|
@@ -74503,7 +74491,7 @@ async function confirmPrompt$3(prompt) {
|
|
|
74503
74491
|
return confirmOrRefuse(prompt, { refusal: "The cdkd export confirmation prompt cannot run in a non-interactive environment. Pass -y / --yes to confirm, or run the command from a real terminal." });
|
|
74504
74492
|
}
|
|
74505
74493
|
function createExportCommand() {
|
|
74506
|
-
const cmd = new Command("export").description("Hand a cdkd-managed stack over to CloudFormation via CFn IMPORT (changeset). AWS resources are unchanged; cdkd state for the stack is deleted on success. Mirror of `cdkd import` (AWS → cdkd) in the reverse direction (cdkd → CFn). Accepts JSON and YAML templates (YAML via a CFn-aware codec that preserves !Ref / !GetAtt / !Sub shorthand). Aborts if any resource is not CFn-importable.").argument("[stack]", "Stack name to export (auto-detected for single-stack apps)").option("--cfn-stack-name <name>", "Name of the destination CloudFormation stack for the root stack. Defaults to the cdkd stack name (or the cdkd2cfnStackName mapping when the name contains '~'). For per-nested-child overrides, use --cfn-child-stack-name.").option("--cfn-child-stack-name <pair...>", "Per-nested-child CFn stack-name override. Repeatable. Format: '<cdkdName>=<cfnName>' (e.g. --cfn-child-stack-name 'MyApp~Database=my-app-db'). The cdkd stack name for a nested child is '<parent>~<childLogicalId>' (v6 state-key form). Without an override the CFn name is derived by replacing '~' with '-'. Only consulted when the exported stack tree contains nested children; ignored for flat stacks.").option("--template <path>", "Path to a pre-rendered CloudFormation template (JSON or YAML — format auto-detected). Skips synth.").option("--stack-region <region>", "Region of the cdkd state record to operate on. Required when the same stack name has state in multiple regions.").option("--dry-run", "Print the import plan without creating a changeset.", false).option("--accept-transient-context", "Allow CLI -c key=value overrides at export time even though they are not persisted to cdk.json / cdk.context.json (default: refuse). When set, the user is responsible for passing the same -c flags to every future cdk deploy.", false).option("--include-non-importable", "Run a 2-phase migration when the stack contains non-importable resources (Custom::*). Phase 1 imports the importable resources; phase 2 CFn-CREATEs the non-importable ones, which re-invokes each Custom Resource's onCreate handler. Make sure onCreate is idempotent before enabling.", false).option("--parameter <key=value...>", "CFn template Parameter override, repeatable. Required when the synthesized template has Parameters without Default values; otherwise overrides the template's default value. Format: --parameter Key=Value.").option("--strict-cross-stack", "Refuse to export when sibling cdkd stacks in the same CDK app reference the exporting stack via Fn::GetStackOutput. Without the flag, cdkd warns and proceeds — the consumers keep resolving via the CloudFormation fallback (weak reference) unless they deploy with --no-cfn-fallback.", false).option("--skip-import-support-preflight", "Skip the pre-flight that refuses resource types whose CloudFormation registry schema says CFn cannot IMPORT them (no read handler AND NON_PROVISIONABLE), and let CreateChangeSet answer instead. The pre-flight is a registry HEURISTIC, not AWS's supported-for-import list, so this is the escape hatch for a type AWS has since made importable. Expect the changeset to be rejected if the heuristic was right.", false).option("--no-recreate-import-unsupported", "Block instead of auto-handling resource types AWS does NOT support in IMPORT changesets (
|
|
74494
|
+
const cmd = new Command("export").description("Hand a cdkd-managed stack over to CloudFormation via CFn IMPORT (changeset). AWS resources are unchanged; cdkd state for the stack is deleted on success. Mirror of `cdkd import` (AWS → cdkd) in the reverse direction (cdkd → CFn). Accepts JSON and YAML templates (YAML via a CFn-aware codec that preserves !Ref / !GetAtt / !Sub shorthand). Aborts if any resource is not CFn-importable.").argument("[stack]", "Stack name to export (auto-detected for single-stack apps)").option("--cfn-stack-name <name>", "Name of the destination CloudFormation stack for the root stack. Defaults to the cdkd stack name (or the cdkd2cfnStackName mapping when the name contains '~'). For per-nested-child overrides, use --cfn-child-stack-name.").option("--cfn-child-stack-name <pair...>", "Per-nested-child CFn stack-name override. Repeatable. Format: '<cdkdName>=<cfnName>' (e.g. --cfn-child-stack-name 'MyApp~Database=my-app-db'). The cdkd stack name for a nested child is '<parent>~<childLogicalId>' (v6 state-key form). Without an override the CFn name is derived by replacing '~' with '-'. Only consulted when the exported stack tree contains nested children; ignored for flat stacks.").option("--template <path>", "Path to a pre-rendered CloudFormation template (JSON or YAML — format auto-detected). Skips synth.").option("--stack-region <region>", "Region of the cdkd state record to operate on. Required when the same stack name has state in multiple regions.").option("--dry-run", "Print the import plan without creating a changeset.", false).option("--accept-transient-context", "Allow CLI -c key=value overrides at export time even though they are not persisted to cdk.json / cdk.context.json (default: refuse). When set, the user is responsible for passing the same -c flags to every future cdk deploy.", false).option("--include-non-importable", "Run a 2-phase migration when the stack contains non-importable resources (Custom::*). Phase 1 imports the importable resources; phase 2 CFn-CREATEs the non-importable ones, which re-invokes each Custom Resource's onCreate handler. Make sure onCreate is idempotent before enabling.", false).option("--parameter <key=value...>", "CFn template Parameter override, repeatable. Required when the synthesized template has Parameters without Default values; otherwise overrides the template's default value. Format: --parameter Key=Value.").option("--strict-cross-stack", "Refuse to export when sibling cdkd stacks in the same CDK app reference the exporting stack via Fn::GetStackOutput. Without the flag, cdkd warns and proceeds — the consumers keep resolving via the CloudFormation fallback (weak reference) unless they deploy with --no-cfn-fallback.", false).option("--skip-import-support-preflight", "Skip the pre-flight that refuses resource types whose CloudFormation registry schema says CFn cannot IMPORT them (no read handler AND NON_PROVISIONABLE), and let CreateChangeSet answer instead. The pre-flight is a registry HEURISTIC, not AWS's supported-for-import list, so this is the escape hatch for a type AWS has since made importable. Expect the changeset to be rejected if the heuristic was right.", false).option("--no-recreate-import-unsupported", "Block instead of auto-handling resource types AWS does NOT support in IMPORT changesets (AWS::ApiGatewayV2::Stage and AWS::IAM::Policy). Default behavior: cdkd skips these from phase 1, deletes the AWS-side resource between phases, and lets CFn re-CREATE in phase 2 (brief unavailability window). With this flag, the export aborts with a clear error instead.").action(withErrorHandling(exportCommand));
|
|
74507
74495
|
[
|
|
74508
74496
|
...commonOptions,
|
|
74509
74497
|
...appOptions,
|
|
@@ -89893,4 +89881,4 @@ function buildProgram() {
|
|
|
89893
89881
|
|
|
89894
89882
|
//#endregion
|
|
89895
89883
|
export { buildProgram };
|
|
89896
|
-
//# sourceMappingURL=program-
|
|
89884
|
+
//# sourceMappingURL=program-BSanOkkV.js.map
|