@cdkd/cli 0.350.2 → 0.350.4
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/{ambient-client-defaults-nYbcw8Dc.js → ambient-client-defaults-CepgBr_y.js} +6 -4
- package/dist/{ambient-client-defaults-nYbcw8Dc.js.map → ambient-client-defaults-CepgBr_y.js.map} +1 -1
- package/dist/{asg-provider-C2lKCOu5.js → asg-provider-26AfIhcd.js} +6 -6
- package/dist/{asg-provider-C2lKCOu5.js.map → asg-provider-26AfIhcd.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-BcxDxd28.js → custom-resource-runtime-2Kfh-v8P.js} +6 -6
- package/dist/{custom-resource-runtime-BcxDxd28.js.map → custom-resource-runtime-2Kfh-v8P.js.map} +1 -1
- package/dist/{db-instance-modify-retry-EpoVdg4u.js → db-instance-modify-retry-BoKzNMfz.js} +4 -4
- package/dist/{db-instance-modify-retry-EpoVdg4u.js.map → db-instance-modify-retry-BoKzNMfz.js.map} +1 -1
- package/dist/{delete-started-Co5Gt1jH.js → delete-started-Bq_G9e4j.js} +26 -3
- package/dist/delete-started-Bq_G9e4j.js.map +1 -0
- package/dist/{deploy-engine-DWLm19jg.js → deploy-engine-DLmPF7r5.js} +994 -271
- package/dist/deploy-engine-DLmPF7r5.js.map +1 -0
- package/dist/{diff-calculator-DNuEc3vO.js → diff-calculator-DYUmMeew.js} +24 -15
- package/dist/{diff-calculator-DNuEc3vO.js.map → diff-calculator-DYUmMeew.js.map} +1 -1
- package/dist/{ec2-termination-protection-BrCiVso0.js → ec2-termination-protection-Di3eM8PN.js} +6 -6
- package/dist/{ec2-termination-protection-BrCiVso0.js.map → ec2-termination-protection-Di3eM8PN.js.map} +1 -1
- package/dist/{ecr-uri-JpCbWN50.js → ecr-uri-6HdJfJPR.js} +2 -2
- package/dist/{ecr-uri-JpCbWN50.js.map → ecr-uri-6HdJfJPR.js.map} +1 -1
- package/dist/{expected-bucket-owner-IaiC3JwO.js → expected-bucket-owner-Drp-CSQY.js} +2 -2
- package/dist/{expected-bucket-owner-IaiC3JwO.js.map → expected-bucket-owner-Drp-CSQY.js.map} +1 -1
- package/dist/{iam-role-provider-fNKzA1U5.js → iam-role-provider-B5c4V2kT.js} +7 -7
- package/dist/{iam-role-provider-fNKzA1U5.js.map → iam-role-provider-B5c4V2kT.js.map} +1 -1
- package/dist/{image-plan-C87HDsmb.js → image-plan-CYouJkYM.js} +19 -11
- package/dist/image-plan-CYouJkYM.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CD1O0WGI.js → logger-6lyGJVGE.js} +3 -5
- package/dist/logger-6lyGJVGE.js.map +1 -0
- package/dist/{neptune-provider-BYb2XZFH.js → neptune-provider-Dhody0jz.js} +7 -7
- package/dist/{neptune-provider-BYb2XZFH.js.map → neptune-provider-Dhody0jz.js.map} +1 -1
- package/dist/{program-DJWAG98-.js → program-BMBei2v9.js} +340 -81
- package/dist/program-BMBei2v9.js.map +1 -0
- package/dist/{provider-classes-B8WD5ucF.js → provider-classes-B3qqzXp-.js} +179 -28
- package/dist/provider-classes-B3qqzXp-.js.map +1 -0
- package/dist/{rds-provider-B5Ox8FBm.js → rds-provider-CXjWWFKT.js} +13 -25
- package/dist/{rds-provider-B5Ox8FBm.js.map → rds-provider-CXjWWFKT.js.map} +1 -1
- package/dist/{read-replica-6SDKYiLa.js → read-replica-iA8yd-HO.js} +3 -3
- package/dist/{read-replica-6SDKYiLa.js.map → read-replica-iA8yd-HO.js.map} +1 -1
- package/dist/{replacement-rules-Dpkm5pWN.js → replacement-rules-B4fLD_Ru.js} +3 -3
- package/dist/{replacement-rules-Dpkm5pWN.js.map → replacement-rules-B4fLD_Ru.js.map} +1 -1
- package/dist/{resource-deadline-P1IssiEh.js → resource-deadline-BcEyGRdL.js} +19 -19
- package/dist/{resource-deadline-P1IssiEh.js.map → resource-deadline-BcEyGRdL.js.map} +1 -1
- package/dist/{run-cli-CXI5umz9.js → run-cli-Dp938GHN.js} +2 -2
- package/dist/{run-cli-CXI5umz9.js.map → run-cli-Dp938GHN.js.map} +1 -1
- package/dist/{update-removal-C8I2P2bf.js → update-removal-1ZPAMzvz.js} +5 -5
- package/dist/{update-removal-C8I2P2bf.js.map → update-removal-1ZPAMzvz.js.map} +1 -1
- package/dist/{version-Cu2oblwQ.js → version-D_7vFUjp.js} +2 -2
- package/dist/{version-Cu2oblwQ.js.map → version-D_7vFUjp.js.map} +1 -1
- package/package.json +2 -2
- package/dist/delete-started-Co5Gt1jH.js.map +0 -1
- package/dist/deploy-engine-DWLm19jg.js.map +0 -1
- package/dist/image-plan-C87HDsmb.js.map +0 -1
- package/dist/logger-CD1O0WGI.js.map +0 -1
- package/dist/program-DJWAG98-.js.map +0 -1
- package/dist/provider-classes-B8WD5ucF.js.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, O as displayIdent, P as safeMsg, _ as shellQuote, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, r as SHELL_ACTIVE, w as UNRENDERABLE } from "./version-
|
|
2
|
-
import { _ as currentLogLineMasker, l as describeAwsErrorDiagnostics, m as verboseAwareText, n as getLogger, p as safeStringify$1, r as isStdoutReservedForPayload, u as describeAwsFailure } from "./logger-
|
|
3
|
-
import { $ as AssetError, G as markRedactedCause, ct as SynthesisError, d as MacroExpansionError, et as CdkdError, it as LockError, k as escapeRegExp, lt as isSoftAbort, nt as DeploymentNotApprovedError, p as DependencyError, st as StateError, t as ambientClientDefaults } from "./ambient-client-defaults-
|
|
1
|
+
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, O as displayIdent, P as safeMsg, _ as shellQuote, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, r as SHELL_ACTIVE, w as UNRENDERABLE } from "./version-D_7vFUjp.js";
|
|
2
|
+
import { _ as currentLogLineMasker, l as describeAwsErrorDiagnostics, m as verboseAwareText, n as getLogger, p as safeStringify$1, r as isStdoutReservedForPayload, u as describeAwsFailure } from "./logger-6lyGJVGE.js";
|
|
3
|
+
import { $ as AssetError, G as markRedactedCause, ct as SynthesisError, d as MacroExpansionError, et as CdkdError, it as LockError, k as escapeRegExp, lt as isSoftAbort, nt as DeploymentNotApprovedError, p as DependencyError, st as StateError, t as ambientClientDefaults } from "./ambient-client-defaults-CepgBr_y.js";
|
|
4
4
|
import { n as awsClientDefaults, r as awsEndpointOverrideActive } from "./aws-client-defaults-DAebi99J.js";
|
|
5
5
|
import { l as s3ClientDefaults } from "./aws-clients-DOkPjjAW.js";
|
|
6
|
-
import { $
|
|
7
|
-
import { A as describeJsonParseFailure, M as parseFailureDebugDetail, P as utf8ByteLength, d as getCreateOnlyPropertyPaths, j as jsonParseFailureStandIn, u as createOnlyChangeRequiresReplacement } from "./ec2-termination-protection-
|
|
6
|
+
import { $l as resolveAssemblyPath, $o as isPlainReferenceTo, Al as resolveFileAssetSourcePath, Ao as extractGetAttRefs, Bl as rememberSynthesizedStacks, Co as AWS_NO_VALUE, Fl as isListParameterType, Fo as recordedProvenanceOf, Gc as isKnownTokenFreeState, Gl as nullPrototypeRecord, Hc as TemplateParser, Hl as defineOwnKey, Il as ssmResolvedValueType, Jc as rebuildClientForBucketRegion, Jl as assemblyPathEscape, Jo as containsIntrinsic, Ko as namesRecreatedParent, Lc as withoutAcceptedSdkUnwiredProperties, Lo as referenceProvenanceOf, Ml as warnWholeAssemblyAsSource, Nl as missingStateBucketRemedy, Ol as isCfnTemplateAssetPath, Pl as SSM_PARAMETER_VALUE_PREFIX, Ql as renderAssemblyPathEscape, Rl as purgeNoncurrentKeyVersions, Ro as referenceTokensIn, Rs as refuseMalformedResourceEntriesForDeploy, Xl as displayAssemblyPath, Xo as replacementSidesForLog, Yl as describeFileReadFailure, Yo as markNewValueKnownAfterDeploy, Zl as namesTheSameDirectory, Zo as siblingsOf, al as stringifyValue, cl as flattenAssetPlaceholders, ds as inputFingerprinter, fl as redirectDockerAsset, jl as warnAbsoluteAssetPath, jo as promoteInPlaceAttributeDependents, kl as parseAssetManifestBody, ll as isDefaultBootstrapBucketName, pl as redirectFileAsset, ps as movedMaskedProperties, ql as absoluteAssemblyPathEscape, qo as INTRINSIC_KEYS, qs as refuseMalformedResourceProperties, tu as resolveBucketRegion, ul as isDefaultBootstrapRepoName, us as tryGetTopLevelWriteOnlyProperties, zc as withoutUnwrittenSdkUnwiredProperties } from "./deploy-engine-DLmPF7r5.js";
|
|
7
|
+
import { A as describeJsonParseFailure, M as parseFailureDebugDetail, P as utf8ByteLength, d as getCreateOnlyPropertyPaths, j as jsonParseFailureStandIn, u as createOnlyChangeRequiresReplacement } from "./ec2-termination-protection-Di3eM8PN.js";
|
|
8
8
|
import { r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
9
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { dn as splitGetAttStringForm, t as ReplacementRulesRegistry } from "./replacement-rules-
|
|
13
|
-
import { w as unsettledPropertiesOf } from "./resource-deadline-
|
|
9
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-Drp-CSQY.js";
|
|
10
|
+
import { $t as buildForceUnlockCommand, Qt as UNREPRODUCIBLE_LOCK_CLAUSE, Rt as maskerOrIdentity, hn as withPasteableAwsProfile, in as formatLockOwner, ln as injectiveKey, nn as formatLockExpiry, rn as formatLockOperation } from "./update-removal-1ZPAMzvz.js";
|
|
11
|
+
import { o as acceptedCreateOnlyDropsOf } from "./delete-started-Bq_G9e4j.js";
|
|
12
|
+
import { dn as splitGetAttStringForm, t as ReplacementRulesRegistry } from "./replacement-rules-B4fLD_Ru.js";
|
|
13
|
+
import { w as unsettledPropertiesOf } from "./resource-deadline-BcEyGRdL.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { AbortMultipartUploadCommand, DeleteObjectCommand, GetObjectCommand, HeadObjectCommand, NoSuchKey, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
16
16
|
import { CloudControlClient, GetResourceCommand, ListResourcesCommand } from "@aws-sdk/client-cloudcontrol";
|
|
@@ -1644,7 +1644,7 @@ async function resolveStateBucketWithDefaultAndSource(cliBucket, region, legacyF
|
|
|
1644
1644
|
const { GetCallerIdentityCommand } = await import("@aws-sdk/client-sts");
|
|
1645
1645
|
const { S3Client, HeadBucketCommand, ListObjectsV2Command } = await import("@aws-sdk/client-s3");
|
|
1646
1646
|
const { getAwsClients } = await import("./aws-clients-DOkPjjAW.js").then((n) => n.n);
|
|
1647
|
-
const { expectedOwnerParam, recordResolvedAccountId } = await import("./expected-bucket-owner-
|
|
1647
|
+
const { expectedOwnerParam, recordResolvedAccountId } = await import("./expected-bucket-owner-Drp-CSQY.js").then((n) => n.n);
|
|
1648
1648
|
const probeDeps = {
|
|
1649
1649
|
HeadBucketCommand,
|
|
1650
1650
|
ListObjectsV2Command,
|
|
@@ -4334,7 +4334,7 @@ var DagBuilder = class {
|
|
|
4334
4334
|
};
|
|
4335
4335
|
|
|
4336
4336
|
// src/analyzer/diff-calculator/calculate-diff.ts
|
|
4337
|
-
async function calculateDiff(currentState, desiredTemplate, resolveFn, canonicalizeProperties, allowedUnsupportedProperties, freshParameters, maskForLog, recreateTargets, maskedInputs, refusalRecovery, noEchoCompare, readProvenance) {
|
|
4337
|
+
async function calculateDiff(currentState, desiredTemplate, resolveFn, canonicalizeProperties, allowedUnsupportedProperties, freshParameters, maskForLog, recreateTargets, maskedInputs, refusalRecovery, noEchoCompare, readProvenance, forcedNestedChildRuns) {
|
|
4338
4338
|
const changes = /* @__PURE__ */ new Map();
|
|
4339
4339
|
refuseMalformedResourceEntriesForDeploy(currentState, void 0, void 0, refusalRecovery);
|
|
4340
4340
|
refuseMalformedResourceProperties(currentState, void 0, void 0, refusalRecovery);
|
|
@@ -4474,6 +4474,15 @@ async function calculateDiff(currentState, desiredTemplate, resolveFn, canonical
|
|
|
4474
4474
|
});
|
|
4475
4475
|
this.logger.debug(`DELETE: ${logicalId} (${currentResource.resourceType})`);
|
|
4476
4476
|
}
|
|
4477
|
+
for (const logicalId of forcedNestedChildRuns ?? []) {
|
|
4478
|
+
const change = changes.get(logicalId);
|
|
4479
|
+
if (change?.resourceType !== "AWS::CloudFormation::Stack") continue;
|
|
4480
|
+
if (change.changeType === "NO_CHANGE") {
|
|
4481
|
+
change.changeType = "UPDATE";
|
|
4482
|
+
change.propertyChanges = [];
|
|
4483
|
+
}
|
|
4484
|
+
if (change.changeType === "UPDATE") change.nestedChildHeal = true;
|
|
4485
|
+
}
|
|
4477
4486
|
const forcedReplacements = /* @__PURE__ */ new Set();
|
|
4478
4487
|
for (const logicalId of recreateTargets ?? []) {
|
|
4479
4488
|
const changeType = changes.get(logicalId)?.changeType;
|
|
@@ -4874,8 +4883,8 @@ var DiffCalculator = class {
|
|
|
4874
4883
|
conditionalReplacementVerdict(resourceType, propertyPath, oldValue, newValue, siblings) {
|
|
4875
4884
|
return this.replacementRules.conditionalReplacementVerdict(resourceType, propertyPath, oldValue, newValue, siblings);
|
|
4876
4885
|
}
|
|
4877
|
-
calculateDiff(currentState, desiredTemplate, resolveFn, canonicalizeProperties, allowedUnsupportedProperties, freshParameters, maskForLog, recreateTargets, maskedInputs, refusalRecovery, noEchoCompare, readProvenance) {
|
|
4878
|
-
return calculateDiff.call(this, currentState, desiredTemplate, resolveFn, canonicalizeProperties, allowedUnsupportedProperties, freshParameters, maskForLog, recreateTargets, maskedInputs, refusalRecovery, noEchoCompare, readProvenance);
|
|
4886
|
+
calculateDiff(currentState, desiredTemplate, resolveFn, canonicalizeProperties, allowedUnsupportedProperties, freshParameters, maskForLog, recreateTargets, maskedInputs, refusalRecovery, noEchoCompare, readProvenance, forcedNestedChildRuns) {
|
|
4887
|
+
return calculateDiff.call(this, currentState, desiredTemplate, resolveFn, canonicalizeProperties, allowedUnsupportedProperties, freshParameters, maskForLog, recreateTargets, maskedInputs, refusalRecovery, noEchoCompare, readProvenance, forcedNestedChildRuns);
|
|
4879
4888
|
}
|
|
4880
4889
|
promoteReadProvenanceDependents(changes, currentState, desiredTemplate, sources) {
|
|
4881
4890
|
return promoteReadProvenanceDependents.call(this, changes, currentState, desiredTemplate, sources);
|
|
@@ -4948,4 +4957,4 @@ var DiffCalculator = class {
|
|
|
4948
4957
|
};
|
|
4949
4958
|
|
|
4950
4959
|
export { loadCdkJson as A, warnDeprecatedNoPrefixCliFlag as B, runDockerForeground as C, synthesisStatusMessage as D, Synthesizer as E, resolveStateBucketWithDefault as F, uploadCfnTemplate as G, CFN_TEMPLATE_URL_LIMIT as H, resolveStateBucketWithDefaultAndSource as I, StageLoadError as J, refuseFailedLookups as K, resolveStateBucketWithSource as L, resolveAutoAssetStorage as M, resolveCaptureObservedState as N, getDefaultStateBucketName as O, resolveSkipPrefix as P, injectedAwsRegionValue as Q, resolveUseCdkBootstrapAssets as R, getDockerCmd as S, abortInFlightMultipartUploads as T, MIGRATE_TMP_PREFIX as U, CFN_TEMPLATE_BODY_LIMIT as V, findLargeInlineResources as W, setChildProcessAwsEnv as X, processStackMessages as Y, injectAwsRegion as Z, partitionSensitiveEnv as _, AssetPublisher as a, isMalformedEnvKey as b, resolveDockerContextDirectory as c, describeDockerFailure as d, redactedCause as f, finchSecretArgvRefusal as g, dockerSpawnEnvWithSensitive as h, isLockInfoExpired as i, resolveApp as j, getLegacyStateBucketName as k, describeDockerCapturedOutput as l, redactDockerArgvValues as m, DagBuilder as n, WorkGraph as o, redactedDockerCause as p, AssemblyReader as q, LockManager as r, buildDockerImage as s, DiffCalculator as t, describeDockerExecFailure as u, warnFinchArgvExposure as v, runDockerStreaming as w, formatDockerLoginError as x, isDockerClientEnvKey as y, stateBucketExistenceConfirmed as z };
|
|
4951
|
-
//# sourceMappingURL=diff-calculator-
|
|
4960
|
+
//# sourceMappingURL=diff-calculator-DYUmMeew.js.map
|