@go-to-k/cdkd 0.230.17 → 0.230.18
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/cli.js +10 -11
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-CAG2RhWS.js → deploy-engine-CXgQSFYL.js} +18 -3
- package/dist/deploy-engine-CXgQSFYL.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-CAG2RhWS.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { A as withErrorHandling, B as generateResourceName, C as StackHasActiveImportsError, F as getLiveRenderer, H as withSkipPrefix, I as PATTERN_B_NAME_OPTIONS, L as PATTERN_B_NAME_PROPERTIES, M as getLogger, P as runStackBuffered, R as PATTERN_B_RESOURCE_TYPES, S as ResourceUpdateNotSupportedError, U as withStackName, V as generateResourceNameWithFallback, _ as MissingCdkCliError, a as assertRegionMatch, b as ProvisioningError, f as LocalInvokeBuildError$1, i as resolveExplicitPhysicalId, k as normalizeAwsError, l as CdkdError, m as LocalStartServiceError, n as matchesCdkPath, o as disableInstanceApiTermination, p as LocalMigrateError, r as normalizeAwsTagsToCfn, s as isTerminationProtectionPropagationError, t as CDK_PATH_TAG, v as NestedStackChildDirectDestroyError, w as StackTerminationProtectionError, x as ResourceTimeoutError, y as PartialFailureError } from "./import-helpers-DayvBD4T.js";
|
|
3
3
|
import { a as setAwsClients, i as resetAwsClients, r as getAwsClients, t as AwsClients } from "./aws-clients-pjPwZz1r.js";
|
|
4
|
-
import { $ as
|
|
4
|
+
import { $ as warnDeprecatedNoPrefixCliFlag, A as LockManager, B as runDockerForeground, C as findActionableSilentDrops, D as DiffCalculator, E as applyRoleArnIfSet, F as stringifyValue, G as isPreSynthesizedAssembly, H as AssetManifestLoader, I as WorkGraph, J as resolveApp, K as getDefaultStateBucketName, L as buildDockerImage, M as rebuildClientForBucketRegion, N as shouldRetainResource, O as DagBuilder, P as AssetPublisher, Q as resolveStateBucketWithDefaultAndSource, R as formatDockerLoginError, S as ProviderRegistry, T as IntrinsicFunctionResolver, U as getDockerImageBySourceHash, V as runDockerStreaming, W as Synthesizer, X as resolveSkipPrefix, Y as resolveCaptureObservedState, Z as resolveStateBucketWithDefault, _ as green, a as withRetry, at as AssemblyReader, b as IAMRoleProvider, c as computeImplicitDeleteEdges, d as isStatefulRecreateTargetSync, et as CFN_TEMPLATE_BODY_LIMIT, f as renderStatefulReason, g as gray, h as cyan, i as withResourceDeadline, it as uploadCfnTemplate, j as S3StateBackend, k as TemplateParser, l as extractDeploymentEventError, m as bold, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nt as MIGRATE_TMP_PREFIX, o as isRetryableTransientError, p as formatResourceLine, q as getLegacyStateBucketName, r as DeployEngine, rt as findLargeInlineResources, s as IMPLICIT_DELETE_DEPENDENCIES, st as resolveBucketRegion, t as DEFAULT_RESOURCE_TIMEOUT_MS, tt as CFN_TEMPLATE_URL_LIMIT, u as MULTI_REGION_RECREATE_BLOCKED_TYPES, v as red, w as CloudControlProvider, x as collectInlinePolicyNamesManagedBySiblings, y as yellow, z as getDockerCmd } from "./deploy-engine-CXgQSFYL.js";
|
|
5
5
|
import { t as ASGProvider } from "./asg-provider-Dgj3loIG.js";
|
|
6
6
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
7
7
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -1445,7 +1445,7 @@ const FLUSH_INTERVAL_MS = 2e3;
|
|
|
1445
1445
|
const FLUSH_EVENT_THRESHOLD = 50;
|
|
1446
1446
|
/** Build-time cdkd version, with a dev fallback for non-built contexts. */
|
|
1447
1447
|
function getCdkdVersion() {
|
|
1448
|
-
return "0.230.
|
|
1448
|
+
return "0.230.18";
|
|
1449
1449
|
}
|
|
1450
1450
|
/**
|
|
1451
1451
|
* Generate a time-sortable unique run id, e.g.
|
|
@@ -31756,13 +31756,12 @@ var EFSProvider = class {
|
|
|
31756
31756
|
}
|
|
31757
31757
|
async createFileSystem(logicalId, resourceType, properties) {
|
|
31758
31758
|
this.logger.debug(`Creating EFS FileSystem ${logicalId}`);
|
|
31759
|
-
const
|
|
31760
|
-
|
|
31761
|
-
|
|
31762
|
-
|
|
31763
|
-
|
|
31764
|
-
}
|
|
31765
|
-
const creationToken = `cdkd-${logicalId}-${createHash("sha256").update(JSON.stringify(immutableForToken, Object.keys(immutableForToken).sort())).digest("hex").slice(0, 12)}`;
|
|
31759
|
+
const creationToken = `cdkd-${logicalId}-${createHash("sha256").update([
|
|
31760
|
+
properties["AvailabilityZoneName"],
|
|
31761
|
+
properties["Encrypted"],
|
|
31762
|
+
properties["KmsKeyId"],
|
|
31763
|
+
properties["PerformanceMode"]
|
|
31764
|
+
].map((v) => JSON.stringify(v ?? null)).join("\0")).digest("hex").slice(0, 12)}`;
|
|
31766
31765
|
const tags = properties["FileSystemTags"];
|
|
31767
31766
|
let fileSystemId;
|
|
31768
31767
|
try {
|
|
@@ -37194,7 +37193,7 @@ async function deployCommand(stacks, options) {
|
|
|
37194
37193
|
};
|
|
37195
37194
|
process.on("SIGINT", topLevelSigintHandler);
|
|
37196
37195
|
try {
|
|
37197
|
-
logger.info(cyan("Synthesizing CDK app..."));
|
|
37196
|
+
logger.info(cyan(isPreSynthesizedAssembly(app) ? "Reading cloud assembly..." : "Synthesizing CDK app..."));
|
|
37198
37197
|
const synthesizer = new Synthesizer();
|
|
37199
37198
|
const context = parseContextOptions(options.context);
|
|
37200
37199
|
const { stacks: allStacks } = await synthesizer.synthesize({
|
|
@@ -55381,7 +55380,7 @@ function reorderArgs(argv) {
|
|
|
55381
55380
|
async function main() {
|
|
55382
55381
|
installPipeCloseHandler();
|
|
55383
55382
|
const program = new Command();
|
|
55384
|
-
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.230.
|
|
55383
|
+
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.230.18");
|
|
55385
55384
|
program.addCommand(createBootstrapCommand());
|
|
55386
55385
|
program.addCommand(createSynthCommand());
|
|
55387
55386
|
program.addCommand(createListCommand());
|