@go-to-k/cdkd 0.286.4 → 0.288.0
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-dBSdt3nB.js → asg-provider-DQCVYO5-.js} +2 -2
- package/dist/{asg-provider-dBSdt3nB.js.map → asg-provider-DQCVYO5-.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-DylsbAdu.js → deploy-engine-DF3fAY6q.js} +11619 -10978
- package/dist/deploy-engine-DF3fAY6q.js.map +1 -0
- package/dist/index.d.ts +12 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{program-dEYAo80R.js → program-CizHCByV.js} +204 -8
- package/dist/{program-dEYAo80R.js.map → program-CizHCByV.js.map} +1 -1
- package/dist/{version-CKOnsgg1.js → version-BQMDIEQY.js} +2 -2
- package/dist/{version-CKOnsgg1.js.map → version-BQMDIEQY.js.map} +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-DylsbAdu.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -626,11 +626,14 @@ interface ProviderRoutingDecision {
|
|
|
626
626
|
ccRouteReason?: {
|
|
627
627
|
properties: string[];
|
|
628
628
|
};
|
|
629
|
+
sdkMigration?: true;
|
|
629
630
|
}
|
|
630
631
|
interface GetProviderForInput {
|
|
631
632
|
resourceType: string;
|
|
632
633
|
properties?: Record<string, unknown> | undefined;
|
|
633
634
|
provisionedBy?: ProvisionedBy | undefined;
|
|
635
|
+
previousProperties?: Record<string, unknown> | undefined;
|
|
636
|
+
forceCcApi?: boolean | undefined;
|
|
634
637
|
}
|
|
635
638
|
interface AutoRouteHit {
|
|
636
639
|
logicalId: string;
|
|
@@ -648,6 +651,7 @@ declare class ProviderRegistry {
|
|
|
648
651
|
constructor();
|
|
649
652
|
allowUnsupportedTypes(resourceTypes: Iterable<string>): void;
|
|
650
653
|
allowUnsupportedProperties(entries: Iterable<string>): void;
|
|
654
|
+
getAllowedUnsupportedProperties(): ReadonlySet<string>;
|
|
651
655
|
setCustomResourceResponseBucket(bucket: string): void;
|
|
652
656
|
skipResourceType(resourceType: string): void;
|
|
653
657
|
register(resourceType: string, provider: ResourceProvider): void;
|
|
@@ -678,6 +682,7 @@ declare class ProviderRegistry {
|
|
|
678
682
|
properties: Record<string, unknown> | undefined;
|
|
679
683
|
provisionedBy?: 'sdk' | 'cc-api' | undefined;
|
|
680
684
|
}>): void;
|
|
685
|
+
private reportUnrecognizedProperties;
|
|
681
686
|
findAutoRouteHits(resources: Iterable<{
|
|
682
687
|
logicalId: string;
|
|
683
688
|
resourceType: string;
|
|
@@ -973,7 +978,7 @@ declare class DiffCalculator {
|
|
|
973
978
|
private logger;
|
|
974
979
|
private replacementRules;
|
|
975
980
|
private parser;
|
|
976
|
-
calculateDiff(currentState: StackState, desiredTemplate: CloudFormationTemplate, resolveFn?: IntrinsicResolveFn, canonicalizeProperties?: CanonicalizePropertiesFn): Promise<Map<string, ResourceChange>>;
|
|
981
|
+
calculateDiff(currentState: StackState, desiredTemplate: CloudFormationTemplate, resolveFn?: IntrinsicResolveFn, canonicalizeProperties?: CanonicalizePropertiesFn, allowedUnsupportedProperties?: ReadonlySet<string>): Promise<Map<string, ResourceChange>>;
|
|
977
982
|
private promoteReplacementDependents;
|
|
978
983
|
private promoteInPlaceAttributeDependents;
|
|
979
984
|
private static extractGetAttRefs;
|
|
@@ -1084,6 +1089,10 @@ interface DeployEngineOptions {
|
|
|
1084
1089
|
};
|
|
1085
1090
|
inheritedSecrets?: RecordedSecretValues;
|
|
1086
1091
|
onCurrentStateLoaded?: (stackName: string, state: StackState | undefined) => Promise<void>;
|
|
1092
|
+
pinCcApi?: {
|
|
1093
|
+
stackName: string;
|
|
1094
|
+
logicalIds: ReadonlySet<string>;
|
|
1095
|
+
};
|
|
1087
1096
|
recreateTargets?: {
|
|
1088
1097
|
stackName: string;
|
|
1089
1098
|
viaCcApi: ReadonlySet<string>;
|
|
@@ -1159,6 +1168,8 @@ declare class DeployEngine {
|
|
|
1159
1168
|
private rollbackExecutorContext;
|
|
1160
1169
|
private writeRollbackJournalSegment;
|
|
1161
1170
|
private provisionResource;
|
|
1171
|
+
private isPinnedToCcApi;
|
|
1172
|
+
private recreateDirectionFor;
|
|
1162
1173
|
private peekRoutingForLabel;
|
|
1163
1174
|
private recordEvent;
|
|
1164
1175
|
private maskSecretsInEvent;
|
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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BA;UAgCA;UAkCA;UAgCA;UAOA;UAoCA;UA4EA;UA4BM;UA6BN;UAiCA;UAmBA;UAgBA;UAwCM;UAmSN"}
|
|
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;EA0CA;;UAMe;EAEf;EAGA;EAGA;EAGA;;KAMU;UAKK;EAEf;EAGA,YAAY;EAGZ;EAGA,oBAAoB;EAGpB,oBAAoB;EAGpB,kBAAkB;EAWlB,mBAAmB;;UAUJ;EAE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UN"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ar as clearBucketRegionCache, Br as DependencyError, Fr as setAwsClients, Ht as DiffCalculator, Ir as AssetError, J as IAMRoleProvider, Jt as DagBuilder, Kr as LockError, Lr as CdkdError, Mr as AwsClients, Nr as getAwsClients, Or as AssemblyReader, Pr as resetAwsClients, Rr as ConfigError, Yr as ProvisioningError, Yt as TemplateParser, Z as ProviderRegistry, dn as S3StateBackend, ei as StateError, ii as normalizeAwsError, ir as Synthesizer, jr as resolveBucketRegion, ni as formatError, r as DeployEngine, ri as isCdkdError, st as CloudControlProvider, ti as SynthesisError, un as LockManager, wn as AssetPublisher } from "./deploy-engine-DF3fAY6q.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
|
|
1
|
+
import { $ as createMaskedRetryLogger, $n as runDockerStreaming, $r as StackTerminationProtectionError, $t as carriesSecretMask, A as WARM_THROUGHPUT_MEMBERS, An as rewriteTemplateAssetReferences, At as replayWarn, B as yellow, Bn as validateContainerRepoName, Bt as s3BucketWebsiteUrl, C as unsupportedFinalSnapshotError, Cn as shouldRetainResource, Cr as displaySafe, Ct as normalizeAwsTagsToCfn, D as isStatefulRecreateTargetForReplace, Dn as buildAssetRedirectMap, Dr as derivePartitionAndUrlSuffix, Dt as configBooleanRefusal, E as MULTI_REGION_RECREATE_BLOCKED_TYPES, En as WorkGraph, Er as canonicalizeRegion, Et as coerceCfnBoolean, F as bold, Fn as getBootstrapMarkerKey, Fr as setAwsClients, Ft as producerRegionsFromState, G as secretBearingStateKeyWarning, Gn as describeDockerExecFailure, Gr as LocalStartServiceError, Gt as findSilentDropProperties, H as collectPublishedOutputNames, Hn as describeAwsFailure, Hr as DynamicReferenceRegionAmbiguousError, Ht as DiffCalculator, I as cyan, In as isCrossRegionRedirect, It as s3BucketArn, J as IAMRoleProvider, Jn as formatDockerLoginError, Jr as PartialFailureError, Jt as DagBuilder, K as stateKeySecretExposure, Kn as describeDockerFailure, Kt as describeTypeWithThrottleRetry, L as gray, Ln as parseBootstrapMarker, Lr as CdkdError, Lt as s3BucketDomainName, M as isWarmThroughputDecrease, Mn as BOOTSTRAP_MARKER_PREFIX, Mr as AwsClients, Mt as requireConfigObject, N as toFiniteNumber, Nn as assertAssetBucketRegion, Nr as getAwsClients, Nt as requireConfigString, O as isStatefulRecreateTargetSync, On as createAssetRedirectResolver, Or as AssemblyReader, Ot as configStringRefusal, P as formatResourceLine, Pn as ensureAssetStorage, Pr as resetAwsClients, Pt as classifyReplaySecretRegion, Q as wouldReturnToSdkProvider, Qn as runDockerForeground, Qr as StackHasActiveImportsError, Qt as TEMPLATE_SOURCED_RULES, R as green, Rn as readBootstrapMarkerBody, Rt as s3BucketDualStackDomainName, S as refusesFinalSnapshot, Sn as importableOutputs, Sr as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, St as WAFv2WebACLProvider, T as extractDeploymentEventError, Tn as stringifyValue, Tr as PARTITION_TABLE, Tt as assertRegionMatch, U as exportAliasCollisionScrubWarning, Un as buildDockerImage, Ur as IntrinsicResolutionRefusalError, Ut as INTRINSIC_KEYS, V as collectDeclaredOutputNames, Vn as buildDenyExternalAccessPolicy, Vr as DeployCancelledError, Vt as applyRoleArnIfSet, W as isExportAliasCollision, Wn as describeDockerCapturedOutput, Wr as LocalInvokeBuildError$1, Wt as findActionableSilentDrops, X as clearOnUpdateRemoval, Xn as partitionSensitiveEnv, Xr as ResourceTimeoutError, Xt as STATE_SOURCED_CROSS_GENERATION_RULES, Y as collectInlinePolicyNamesManagedBySiblings, Yn as getDockerCmd, Yr as ProvisioningError, Yt as TemplateParser, Z as ProviderRegistry, Zn as redactDockerArgvValues, Zr as ResourceUpdateNotSupportedError, Zt as STATE_SOURCED_READBACK_RULES, _ as PRE_DELETE_SNAPSHOT_TYPES, _n as shellQuote, _r as CFN_TEMPLATE_BODY_LIMIT, _t as coerceParameterTypedValue, a as DeploymentEventsStore, ai as withErrorHandling, an as maskSecretsInText, ar as synthesisStatusMessage, at as isInterruptedWaitError, b as createPreDeleteFinalSnapshot, bn as exportNamesCarriedFrom, br as findLargeInlineResources, bt as parameterTypeMayLoseSecretIdentity, c as replayFailedOperations, ci as isThrottlingError, cn as redactSecretsForState, cr as resolveApp, ct as slowCcOperationTimeoutMs, d as updatePartialReason, di as markRedactedCause, dn as S3StateBackend, dr as resolveSkipPrefix, dt as deleteSkipReason, en as createSecretMasker, er as escapeRegExp, et as maskDeep, f as withResourceDeadline, fi as retryClassificationText, fn as rebuildClientForBucketRegion, fr as resolveStateBucketWithDefault, ft as disableInstanceApiTermination, g as ATOMIC_FINAL_SNAPSHOT_TYPES, gn as forceQuitRecoveryClause, gr as warnDeprecatedNoPrefixCliFlag, gt as cfnRefValueFromPhysicalId, h as computeImplicitDeleteEdges, hn as buildLockContentionMessage, hr as stateBucketExistenceConfirmed, ht as carriesDynamicReference, i as DeploymentEventsReader, ii as normalizeAwsError, in as maskSecretsInError, ir as Synthesizer, it as interruptWatchListenerCount, j as coerceWarmThroughput$1, jn as AssetModeResolver, jr as resolveBucketRegion, jt as requireConfigArray, k as renderStatefulReason, kn as loadPublishableAssetManifest, kr as processStackMessages, kt as readConfigString, l as replayRollback, li as isTransientServerError, ln as scrubResourceRecord, lr as resolveAutoAssetStorage, lt as UNSPECIFIED_SKIP_REASON, m as IMPLICIT_DELETE_DEPENDENCIES, mn as buildForceUnlockCommand, mr as resolveUseCdkBootstrapAssets, mt as IntrinsicFunctionResolver, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nn as errorCauseChain, nr as AssetManifestLoader, nt as beginCommandInterruptScope, o as planFailedOps, oi as isMarkedNonRetryable, on as recordMaskOnlyValue, or as getDefaultStateBucketName, ot as startInterruptWatch, p as maskingRetryLogger, pn as UNRENDERABLE, pr as resolveStateBucketWithDefaultAndSource, pt as isTerminationProtectionPropagationError, q as getCurrentResourceSecrets, qn as dockerSpawnEnvWithSensitive, qr as NestedStackChildDirectDestroyError, qt as withRetry, r as DeployEngine, rn as isSingleDynamicReferenceToken, rr as getDockerImageBySourceHash, rt as endCommandInterruptScope, s as planRollback, si as isRetryableTransientError, sn as recoverMaskedOutput, sr as getLegacyStateBucketName, st as CloudControlProvider, t as DEFAULT_RESOURCE_TIMEOUT_MS, tn as dynamicReferenceTokens, tr as stripControlChars, tt as maskerOrIdentity, u as updatePartialMessage, ui as markNonRetryable, un as LockManager, ur as resolveCaptureObservedState, ut as deleteIndeterminateGuards, v as buildFinalSnapshotIdentifier, vn as CUSTOM_RESOURCE_RESPONSE_PREFIX, vr as CFN_TEMPLATE_URL_LIMIT, vt as getAccountInfo, w as makeCanonicalizePropertiesFn, wn as AssetPublisher, wr as expectedOwnerParam, wt as resolveExplicitPhysicalId, x as isFinalSnapshotError, xn as importableOutputKeys, xr as uploadCfnTemplate, xt as refStateLookupFromResource, y as ccRoutedFinalSnapshotError, yn as DEFAULT_STATE_PREFIX, yr as MIGRATE_TMP_PREFIX, yt as isUnboundTemplateParameter, z as red, zn as validateAssetBucketName, zr as CrossAccountSecretRefusalError, zt as s3BucketRegionalDomainName } from "./deploy-engine-DF3fAY6q.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-BQMDIEQY.js";
|
|
5
|
+
import { r as protectedReplacementAdvice, t as ASGProvider } from "./asg-provider-DQCVYO5-.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";
|
|
@@ -745,6 +745,32 @@ function parseRecreateViaSdkProviderToken(value, previous) {
|
|
|
745
745
|
if (!LOGICAL_ID_FORMAT.test(token)) throw new Error(`Invalid --recreate-via-sdk-provider value "${value}": expected a CloudFormation logical id (alphanumeric, starts with a letter, max 255 chars). One --recreate-via-sdk-provider flag per resource — repeat the flag for additional targets.`);
|
|
746
746
|
return [...previous ?? [], token];
|
|
747
747
|
}
|
|
748
|
+
/**
|
|
749
|
+
* Issue [#2719] — `--pin-cc-api <logicalId>` keeps a named resource on the
|
|
750
|
+
* Cloud Control route for this deploy, suppressing the `'sdk-coverage'`
|
|
751
|
+
* sticky-exemption that would otherwise return it to its SDK provider.
|
|
752
|
+
*
|
|
753
|
+
* The lightweight counterpart to `--recreate-via-cc-api`: that one forces the
|
|
754
|
+
* CC layer by DESTROYING and recreating the resource, which is not something a
|
|
755
|
+
* user can do to a stateful resource just to decline a routing change. This
|
|
756
|
+
* one changes only which provider runs the update.
|
|
757
|
+
*
|
|
758
|
+
* Deliberately per-deploy rather than a state field. A persisted pin would be
|
|
759
|
+
* a v10 schema bump plus its migration integ, and nothing has yet shown a user
|
|
760
|
+
* needing the pin to survive a deploy they did not pass it on -- the flip is
|
|
761
|
+
* conditioned on the resource's own coverage, so the case it guards against is
|
|
762
|
+
* "I disagree with this specific deploy's routing", not a standing preference.
|
|
763
|
+
*
|
|
764
|
+
* It does NOT override a `'cc-broken'` exemption: honoring it there would pin
|
|
765
|
+
* the resource to a handler that cannot manage it, which is the bug those
|
|
766
|
+
* entries exist to escape.
|
|
767
|
+
*/
|
|
768
|
+
function parsePinCcApiToken(value, previous) {
|
|
769
|
+
const token = value.trim();
|
|
770
|
+
if (!LOGICAL_ID_FORMAT.test(token)) throw new Error(`Invalid --pin-cc-api value "${value}": expected a CloudFormation logical id (alphanumeric, starts with a letter, max 255 chars). One --pin-cc-api flag per resource — repeat the flag for additional targets.`);
|
|
771
|
+
return [...previous ?? [], token];
|
|
772
|
+
}
|
|
773
|
+
const pinCcApiOption = new Option("--pin-cc-api <logicalId>", "Keep the named resource (by CloudFormation logical id) on the Cloud Control route in this deploy, declining the automatic return to the SDK Provider that a type-level sdk-coverage exemption would otherwise apply to a resource recorded as provisionedBy: cc-api. Repeatable — pass the flag once per resource. Has no effect on a resource already on the SDK path, and does not override an exemption admitted because Cloud Control cannot manage the type.").argParser(parsePinCcApiToken);
|
|
748
774
|
const recreateViaSdkProviderOption = new Option("--recreate-via-sdk-provider <logicalId>", "Destroy + recreate the named resource (by CloudFormation logical id) via cdkd's SDK Provider in this deploy, so a resource currently sticky on provisionedBy: cc-api flips back to provisionedBy: sdk. Used after a #609 backfill release adds SDK coverage for a type the user originally needed CC for (e.g. Lambda LoggingConfig). Repeatable — pass the flag once per resource. Per-resource opt-in. Stateful resource types refuse unless --force-stateful-recreation is ALSO passed.").argParser(parseRecreateViaSdkProviderToken);
|
|
749
775
|
/**
|
|
750
776
|
* Issue [#615] — `--force-stateful-recreation` (boolean) confirms a
|
|
@@ -874,6 +900,7 @@ const deployOptions = [
|
|
|
874
900
|
allowUnsupportedPropertiesOption,
|
|
875
901
|
recreateViaCcApiOption,
|
|
876
902
|
recreateViaSdkProviderOption,
|
|
903
|
+
pinCcApiOption,
|
|
877
904
|
forceStatefulRecreationOption,
|
|
878
905
|
replaceOption,
|
|
879
906
|
useCdkBootstrapAssetsOption,
|
|
@@ -3145,6 +3172,32 @@ async function promptRecreateConfirm(input) {
|
|
|
3145
3172
|
}
|
|
3146
3173
|
}
|
|
3147
3174
|
|
|
3175
|
+
//#endregion
|
|
3176
|
+
//#region src/cli/commands/pin-cc-api-reachability.ts
|
|
3177
|
+
function analyzePinCcApiReachability(pinnedLogicalIds, stacks) {
|
|
3178
|
+
const idSets = stacks.map((s) => ({
|
|
3179
|
+
stackName: s.stackName,
|
|
3180
|
+
ids: new Set(s.logicalIds)
|
|
3181
|
+
}));
|
|
3182
|
+
const unmatched = [];
|
|
3183
|
+
const partial = [];
|
|
3184
|
+
for (const logicalId of [...new Set(pinnedLogicalIds)]) {
|
|
3185
|
+
const appliesTo = idSets.filter((t) => t.ids.has(logicalId)).map((t) => t.stackName);
|
|
3186
|
+
const absentFrom = idSets.filter((t) => !t.ids.has(logicalId)).map((t) => t.stackName);
|
|
3187
|
+
if (appliesTo.length === 0) unmatched.push(logicalId);
|
|
3188
|
+
else if (absentFrom.length > 0) partial.push({
|
|
3189
|
+
logicalId,
|
|
3190
|
+
appliesTo,
|
|
3191
|
+
absentFrom
|
|
3192
|
+
});
|
|
3193
|
+
}
|
|
3194
|
+
return {
|
|
3195
|
+
unmatched,
|
|
3196
|
+
partial,
|
|
3197
|
+
errorMessage: unmatched.length === 0 ? "" : `--pin-cc-api named ${unmatched.length} logical id(s) present in no stack of this run:\n` + unmatched.map((id) => ` - ${id}`).join("\n") + `\n Stacks in this run: ${idSets.map((t) => t.stackName).join(", ")}\n Fix: pass the CFn-emitted logical id, not the CDK display path (\`cdkd synth\`, then read \`.Resources | keys\`). A resource inside a NESTED child stack cannot be pinned from its parent's deploy — name it in a deploy of that child.`
|
|
3198
|
+
};
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3148
3201
|
//#endregion
|
|
3149
3202
|
//#region src/cli/commands/confirm-prompt.ts
|
|
3150
3203
|
/**
|
|
@@ -57454,6 +57507,7 @@ var CodeBuildProvider = class {
|
|
|
57454
57507
|
privilegedMode: environment?.["PrivilegedMode"],
|
|
57455
57508
|
certificate: environment?.["Certificate"],
|
|
57456
57509
|
imagePullCredentialsType: environment?.["ImagePullCredentialsType"],
|
|
57510
|
+
hostKernel: environment?.["HostKernel"],
|
|
57457
57511
|
fleet: cfnFleet ? { fleetArn: cfnFleet["FleetArn"] } : void 0,
|
|
57458
57512
|
dockerServer: cfnDockerServer ? {
|
|
57459
57513
|
computeType: cfnDockerServer["ComputeType"],
|
|
@@ -57637,6 +57691,7 @@ var CodeBuildProvider = class {
|
|
|
57637
57691
|
if (project.environment?.privilegedMode !== void 0) env["PrivilegedMode"] = project.environment.privilegedMode;
|
|
57638
57692
|
if (project.environment?.imagePullCredentialsType !== void 0) env["ImagePullCredentialsType"] = project.environment.imagePullCredentialsType;
|
|
57639
57693
|
if (project.environment?.certificate !== void 0) env["Certificate"] = project.environment.certificate;
|
|
57694
|
+
if (project.environment?.hostKernel !== void 0) env["HostKernel"] = project.environment.hostKernel;
|
|
57640
57695
|
if (project.environment?.fleet !== void 0) {
|
|
57641
57696
|
const fleet = {};
|
|
57642
57697
|
if (project.environment.fleet.fleetArn !== void 0) fleet["FleetArn"] = project.environment.fleet.fleetArn;
|
|
@@ -62736,6 +62791,10 @@ async function deployCommand(stacks, options) {
|
|
|
62736
62791
|
...assetRedirect && { assetRedirect },
|
|
62737
62792
|
...eventRecorder && { eventRecorder },
|
|
62738
62793
|
...migrationGate && { onCurrentStateLoaded: migrationGate },
|
|
62794
|
+
...options.pinCcApi?.length && { pinCcApi: {
|
|
62795
|
+
stackName: stackInfo.stackName,
|
|
62796
|
+
logicalIds: new Set(options.pinCcApi)
|
|
62797
|
+
} },
|
|
62739
62798
|
...recreateTargets && (recreateTargets.viaCcApi.size > 0 || recreateTargets.viaSdkProvider.size > 0) && { recreateTargets },
|
|
62740
62799
|
...options.replace && { replace: true },
|
|
62741
62800
|
...options.forceStatefulRecreation && { forceStatefulRecreation: true },
|
|
@@ -62813,6 +62872,18 @@ async function deployCommand(stacks, options) {
|
|
|
62813
62872
|
setAwsClients(awsClients);
|
|
62814
62873
|
}
|
|
62815
62874
|
};
|
|
62875
|
+
if (options.pinCcApi?.length && options.recreateViaSdkProvider?.length) {
|
|
62876
|
+
const both = options.pinCcApi.filter((id) => (options.recreateViaSdkProvider ?? []).includes(id));
|
|
62877
|
+
if (both.length > 0) throw new CdkdError(`--pin-cc-api and --recreate-via-sdk-provider both named: ${both.join(", ")}. They are opposite requests — the first keeps the resource on Cloud Control, the second destroys and recreates it via the SDK provider. Pass one.`, "PIN_CC_API_INVALID");
|
|
62878
|
+
}
|
|
62879
|
+
if (options.pinCcApi?.length) {
|
|
62880
|
+
const reach = analyzePinCcApiReachability(options.pinCcApi, targetStacks.map((st) => ({
|
|
62881
|
+
stackName: st.stackName,
|
|
62882
|
+
logicalIds: Object.keys(st.template.Resources ?? {})
|
|
62883
|
+
})));
|
|
62884
|
+
if (reach.unmatched.length > 0) throw new CdkdError(reach.errorMessage, "PIN_CC_API_INVALID");
|
|
62885
|
+
for (const partial of reach.partial) logger.info(`--pin-cc-api ${partial.logicalId}: applies to ${partial.appliesTo.join(", ")}; not declared by ${partial.absentFrom.join(", ")}`);
|
|
62886
|
+
}
|
|
62816
62887
|
await workGraph.execute({
|
|
62817
62888
|
"asset-build": options.imageBuildConcurrency,
|
|
62818
62889
|
"asset-publish": options.assetPublishConcurrency,
|
|
@@ -64181,6 +64252,13 @@ function isStackNotFoundError(err) {
|
|
|
64181
64252
|
|
|
64182
64253
|
//#endregion
|
|
64183
64254
|
//#region src/cli/commands/diff-recursive.ts
|
|
64255
|
+
/**
|
|
64256
|
+
* The one spelling of the routing token for a resource leaving Cloud Control
|
|
64257
|
+
* (issue #2719). A literal, because `collectCcApiRoutes` writes it and
|
|
64258
|
+
* `annotateRouting` special-cases it, and the integ fixture greps for it --
|
|
64259
|
+
* three places that must agree on a string.
|
|
64260
|
+
*/
|
|
64261
|
+
const SDK_MIGRATION_TOKEN = "returning to SDK provider";
|
|
64184
64262
|
const logger = getLogger().child("DiffRecursive");
|
|
64185
64263
|
/** Every `Ref` target reachable from a value, collected in one walk. */
|
|
64186
64264
|
function collectRefTargets(value, refs) {
|
|
@@ -64637,7 +64715,15 @@ function collectCcApiRoutes(template, state) {
|
|
|
64637
64715
|
hits.set(logicalId, drops.map((d) => d.property));
|
|
64638
64716
|
continue;
|
|
64639
64717
|
}
|
|
64640
|
-
|
|
64718
|
+
const record = state.resources[logicalId];
|
|
64719
|
+
if (record?.provisionedBy === "cc-api") {
|
|
64720
|
+
const leaving = wouldReturnToSdkProvider({
|
|
64721
|
+
resourceType: resource.Type,
|
|
64722
|
+
desiredProperties: resource.Properties ?? {},
|
|
64723
|
+
previousProperties: record.properties
|
|
64724
|
+
});
|
|
64725
|
+
hits.set(logicalId, [leaving ? SDK_MIGRATION_TOKEN : "sticky"]);
|
|
64726
|
+
}
|
|
64641
64727
|
}
|
|
64642
64728
|
return hits;
|
|
64643
64729
|
}
|
|
@@ -64783,6 +64869,7 @@ function renderChangeLines(changes, logFn, ccApiRoutes) {
|
|
|
64783
64869
|
const annotateRouting = (logicalId) => {
|
|
64784
64870
|
const props = ccApiRoutes?.get(logicalId);
|
|
64785
64871
|
if (!props || props.length === 0) return "";
|
|
64872
|
+
if (props.length === 1 && props[0] === "returning to SDK provider") return ` [${SDK_MIGRATION_TOKEN}]`;
|
|
64786
64873
|
return ` [via CC API: ${props.join(", ")}]`;
|
|
64787
64874
|
};
|
|
64788
64875
|
for (const [logicalId, change] of changes.entries()) switch (change.changeType) {
|
|
@@ -66493,6 +66580,108 @@ function isRegionAmbiguousRefusal(err) {
|
|
|
66493
66580
|
return err instanceof Error && errorCauseChain(err).some((link) => link instanceof DynamicReferenceRegionAmbiguousError);
|
|
66494
66581
|
}
|
|
66495
66582
|
/**
|
|
66583
|
+
* A secrets map with its OWN identity whose entries ARE `target`'s (issue
|
|
66584
|
+
* #2531): every read and write goes to `target`; nothing is stored here.
|
|
66585
|
+
*
|
|
66586
|
+
* The outputs pass resolves each `Export.Name` through one of these rather
|
|
66587
|
+
* than through the pass map itself. The resolver records the uncollapsed
|
|
66588
|
+
* `expression -> plaintext` PAIR beside each entry, keyed by the map INSTANCE
|
|
66589
|
+
* (`recordResolvedPair`), and a second write of one expression with a
|
|
66590
|
+
* different plaintext marks that pair conflicting — so a name's resolution
|
|
66591
|
+
* recording straight into the pass map could conflict the pair a literal
|
|
66592
|
+
* Output embedding the same token needs. Pairs recorded through this view
|
|
66593
|
+
* hang off THIS instance and are discarded with it (a name never positions a
|
|
66594
|
+
* leaf); the entries are the pass map's, live, in both directions.
|
|
66595
|
+
*
|
|
66596
|
+
* Live sharing rather than a private map with a copy: the resolver records
|
|
66597
|
+
* as it goes and `Fn::Join` resolves its parts concurrently, so a part that
|
|
66598
|
+
* rejects while a secret part is still pending ends the name's block before
|
|
66599
|
+
* that part records — a copy at the end of the block misses the late entry,
|
|
66600
|
+
* and a private map SEEDED from the pass map is a snapshot that a LATER
|
|
66601
|
+
* name's resolution would not see the late entry through either. Every
|
|
66602
|
+
* reader in the block (the cross-region pin, the cross-stack pre-pass, the
|
|
66603
|
+
* resolver, the masking of their messages) needs exactly what the pass map
|
|
66604
|
+
* holds at the moment it reads, which is what a view gives. (The deploy
|
|
66605
|
+
* engine's sibling block keeps its end-of-block copy and so still has the
|
|
66606
|
+
* late-entry hole — issue #2563.)
|
|
66607
|
+
*
|
|
66608
|
+
* TWO RESIDUALS of discarding what the view recorded, both bounded to the
|
|
66609
|
+
* choice of EXPRESSION and neither reaching a plaintext:
|
|
66610
|
+
*
|
|
66611
|
+
* - The pairs. A value leaf re-using the token records its own pair at the
|
|
66612
|
+
* seam, which is what positions it — PROVIDED its own resolution succeeds.
|
|
66613
|
+
* A value whose read through the PRIMARY resolver fails after the name's
|
|
66614
|
+
* succeeded (that call sits in the value loop's best-effort catch) has no
|
|
66615
|
+
* pair of its own and no name-recorded one to fall back on, so its leaf
|
|
66616
|
+
* drops to the value scan (the #2485 shape, a sibling's spelling for a
|
|
66617
|
+
* same-plaintext pair); the entry the name recorded is still a needle, so
|
|
66618
|
+
* the plaintext is scrubbed either way — whole, at any length, when the
|
|
66619
|
+
* leaf IS the plaintext (`redactSecretsForState`'s whole-value arm is
|
|
66620
|
+
* unbounded and this pass hands it the raw pass map), and by the substring
|
|
66621
|
+
* arm at `MIN_NEEDLE_LENGTH` or longer when the plaintext is EMBEDDED in a
|
|
66622
|
+
* larger leaf; a shorter embedded one is the #2516 residual, which has
|
|
66623
|
+
* nothing to do with the name loop. A failed read through the cross-region PIN
|
|
66624
|
+
* is not a fallback at all: `unresolvableForeignScrubSecretError` refuses
|
|
66625
|
+
* the whole scrub (`SCRUB_CROSS_REGION_SECRET_UNRESOLVED`), name loop or
|
|
66626
|
+
* value loop.
|
|
66627
|
+
* - The cross-stack associations the pre-pass records
|
|
66628
|
+
* (`recordCrossStackExpression`), keyed by instance the same way. They are
|
|
66629
|
+
* recorded only for a plaintext ALREADY in the map (the resolver gates on
|
|
66630
|
+
* `recordedSecretValues.has(...)`), so losing one degrades the expression a
|
|
66631
|
+
* later leaf is positioned by, never whether the plaintext is found. No
|
|
66632
|
+
* case pins this arm on its own.
|
|
66633
|
+
*
|
|
66634
|
+
* Every member of `Map.prototype` that reads or writes entries is overridden,
|
|
66635
|
+
* and a unit fence (`scrub-shared-entries-secrets.test.ts`) asserts that set
|
|
66636
|
+
* against the runtime's `Map.prototype` so a future addition (the stage-3
|
|
66637
|
+
* `getOrInsert` / `getOrInsertComputed`) cannot land on the permanently empty
|
|
66638
|
+
* backing store unnoticed — a needle inserted there would never reach the
|
|
66639
|
+
* pass map. `structuredClone` reads the internal slots the same way and is
|
|
66640
|
+
* equally unreachable from this file; a clone of a view would be an empty
|
|
66641
|
+
* `Map`.
|
|
66642
|
+
*/
|
|
66643
|
+
var SharedEntriesSecrets = class extends Map {
|
|
66644
|
+
target;
|
|
66645
|
+
constructor(target) {
|
|
66646
|
+
super();
|
|
66647
|
+
this.target = target;
|
|
66648
|
+
}
|
|
66649
|
+
get size() {
|
|
66650
|
+
return this.target.size;
|
|
66651
|
+
}
|
|
66652
|
+
get(plaintext) {
|
|
66653
|
+
return this.target.get(plaintext);
|
|
66654
|
+
}
|
|
66655
|
+
has(plaintext) {
|
|
66656
|
+
return this.target.has(plaintext);
|
|
66657
|
+
}
|
|
66658
|
+
set(plaintext, expression) {
|
|
66659
|
+
this.target.set(plaintext, expression);
|
|
66660
|
+
return this;
|
|
66661
|
+
}
|
|
66662
|
+
delete(plaintext) {
|
|
66663
|
+
return this.target.delete(plaintext);
|
|
66664
|
+
}
|
|
66665
|
+
clear() {
|
|
66666
|
+
this.target.clear();
|
|
66667
|
+
}
|
|
66668
|
+
keys() {
|
|
66669
|
+
return this.target.keys();
|
|
66670
|
+
}
|
|
66671
|
+
values() {
|
|
66672
|
+
return this.target.values();
|
|
66673
|
+
}
|
|
66674
|
+
entries() {
|
|
66675
|
+
return this.target.entries();
|
|
66676
|
+
}
|
|
66677
|
+
forEach(callback, thisArg) {
|
|
66678
|
+
this.target.forEach((value, key) => callback.call(thisArg, value, key, this));
|
|
66679
|
+
}
|
|
66680
|
+
[Symbol.iterator]() {
|
|
66681
|
+
return this.target[Symbol.iterator]();
|
|
66682
|
+
}
|
|
66683
|
+
};
|
|
66684
|
+
/**
|
|
66496
66685
|
* Build the CROSS-STACK pre-pass for ONE stack's scrub (issue
|
|
66497
66686
|
* [#2133](https://github.com/go-to-k/cdkd/issues/2133)).
|
|
66498
66687
|
*
|
|
@@ -66890,21 +67079,28 @@ async function scrubStack(stack, region, stateBackend, lockManager, opts) {
|
|
|
66890
67079
|
const declaredExportName = output.Export?.Name;
|
|
66891
67080
|
let exportName = declaredExportName;
|
|
66892
67081
|
if (declaredExportName !== void 0 && typeof declaredExportName !== "string") {
|
|
67082
|
+
const nameSecrets = new SharedEntriesSecrets(outputSecrets);
|
|
67083
|
+
let nameFailed = false;
|
|
67084
|
+
let nameError;
|
|
66893
67085
|
const nameSource = await pinCrossRegionSecrets(declaredExportName, stack.stackName, {
|
|
66894
67086
|
stackRegion: region,
|
|
66895
67087
|
producerRegions,
|
|
66896
67088
|
resolvers,
|
|
66897
|
-
recordedSecretValues:
|
|
67089
|
+
recordedSecretValues: nameSecrets,
|
|
66898
67090
|
origin: `Export.Name of output '${name}'`
|
|
66899
67091
|
});
|
|
66900
|
-
const nameContext = resolverContext(
|
|
67092
|
+
const nameContext = resolverContext(nameSecrets);
|
|
66901
67093
|
await resolveCrossStackReads(nameSource, nameContext, `Export.Name of output '${name}'`, { canRefuse: !isOutputSuppressed(name, output, conditions, state.outputs ?? {}) });
|
|
66902
67094
|
try {
|
|
66903
67095
|
exportName = await resolver.resolve(nameSource, nameContext);
|
|
66904
67096
|
} catch (err) {
|
|
66905
67097
|
if (isRegionAmbiguousRefusal(err)) throw err;
|
|
67098
|
+
nameFailed = true;
|
|
67099
|
+
nameError = err;
|
|
67100
|
+
}
|
|
67101
|
+
if (nameFailed) {
|
|
66906
67102
|
outputsSourceUntrusted = true;
|
|
66907
|
-
logger.warn(`Export.Name of output ${name} could not be resolved during scrub (${maskSecretsInText(
|
|
67103
|
+
logger.warn(`Export.Name of output ${name} could not be resolved during scrub (${maskSecretsInText(nameError instanceof Error ? nameError.message : String(nameError), outputSecrets)}) — redacting this stack's outputs by value match instead of by template position, since state may be keyed under a name this run cannot reproduce.`);
|
|
66908
67104
|
}
|
|
66909
67105
|
}
|
|
66910
67106
|
if (declaredExportName !== void 0 && typeof exportName !== "string") outputsSourceUntrusted = true;
|
|
@@ -89323,4 +89519,4 @@ function buildProgram() {
|
|
|
89323
89519
|
|
|
89324
89520
|
//#endregion
|
|
89325
89521
|
export { buildProgram };
|
|
89326
|
-
//# sourceMappingURL=program-
|
|
89522
|
+
//# sourceMappingURL=program-CizHCByV.js.map
|