@go-to-k/cdkd 0.260.9 → 0.260.10
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-GUSV9-p0.js → asg-provider-CU5tyKkY.js} +3 -3
- package/dist/{asg-provider-GUSV9-p0.js.map → asg-provider-CU5tyKkY.js.map} +1 -1
- package/dist/cli.js +21 -21
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-CM5GZI1O.js → deploy-engine-DBNn0Aq7.js} +2 -2
- package/dist/{deploy-engine-CM5GZI1O.js.map → deploy-engine-DBNn0Aq7.js.map} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $ as getBootstrapMarkerKey, A as refStateLookupFromResource, At as resolveBucketRegion, B as S3StateBackend, Bt as LocalMigrateError, C as findActionableSilentDrops, Ct as CFN_TEMPLATE_URL_LIMIT, D as isTerminationProtectionPropagationError, Dt as expectedOwnerParam, E as disableInstanceApiTermination, Et as uploadCfnTemplate, F as applyRoleArnIfSet, G as WorkGraph, Gt as PartialFailureError, H as shouldRetainResource, I as DiffCalculator, It as CdkdError, J as loadPublishableAssetManifest, Jt as ResourceUpdateNotSupportedError, K as buildAssetRedirectMap, Kt as ProvisioningError, L as DagBuilder, M as normalizeAwsTagsToCfn, Mt as getAwsClients, N as resolveExplicitPhysicalId, Nt as resetAwsClients, O as IntrinsicFunctionResolver, Ot as AssemblyReader, P as assertRegionMatch, Pt as setAwsClients, Q as ensureAssetStorage, R as TemplateParser, S as ProviderRegistry, St as CFN_TEMPLATE_BODY_LIMIT, T as slowCcOperationTimeoutMs, Tt as findLargeInlineResources, U as AssetPublisher, Ut as MissingCdkCliError, V as rebuildClientForBucketRegion, Vt as LocalStartServiceError, W as stringifyValue, Wt as NestedStackChildDirectDestroyError, X as AssetModeResolver, Xt as StackTerminationProtectionError, Y as rewriteTemplateAssetReferences, Yt as StackHasActiveImportsError, Z as BOOTSTRAP_MARKER_PREFIX, _ as green, _t as resolveSkipPrefix, a as withRetry, at as getDockerCmd, b as IAMRoleProvider, bt as resolveUseCdkBootstrapAssets, c as computeImplicitDeleteEdges, ct as AssetManifestLoader, d as isStatefulRecreateTargetSync, dt as synthesisStatusMessage, et as parseBootstrapMarker, f as renderStatefulReason, ft as getDefaultStateBucketName, g as gray, gt as resolveCaptureObservedState, h as cyan, ht as resolveAutoAssetStorage, i as withResourceDeadline, it as formatDockerLoginError, j as WAFv2WebACLProvider, jt as AwsClients, k as cfnRefValueFromPhysicalId, l as extractDeploymentEventError, lt as getDockerImageBySourceHash, m as bold, mt as resolveApp, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nn as withErrorHandling, nt as validateContainerRepoName, o as isRetryableTransientError, ot as runDockerForeground, p as formatResourceLine, pt as getLegacyStateBucketName, q as createAssetRedirectResolver, qt as ResourceTimeoutError, r as DeployEngine, rt as buildDockerImage, s as IMPLICIT_DELETE_DEPENDENCIES, st as runDockerStreaming, t as DEFAULT_RESOURCE_TIMEOUT_MS, tn as normalizeAwsError, tt as validateAssetBucketName, u as MULTI_REGION_RECREATE_BLOCKED_TYPES, ut as Synthesizer, v as red, vt as resolveStateBucketWithDefault, w as CloudControlProvider, wt as MIGRATE_TMP_PREFIX, x as collectInlinePolicyNamesManagedBySiblings, xt as warnDeprecatedNoPrefixCliFlag, y as yellow, yt as resolveStateBucketWithDefaultAndSource, z as LockManager, zt as LocalInvokeBuildError$1 } from "./deploy-engine-
|
|
2
|
+
import { $ as getBootstrapMarkerKey, A as refStateLookupFromResource, At as resolveBucketRegion, B as S3StateBackend, Bt as LocalMigrateError, C as findActionableSilentDrops, Ct as CFN_TEMPLATE_URL_LIMIT, D as isTerminationProtectionPropagationError, Dt as expectedOwnerParam, E as disableInstanceApiTermination, Et as uploadCfnTemplate, F as applyRoleArnIfSet, G as WorkGraph, Gt as PartialFailureError, H as shouldRetainResource, I as DiffCalculator, It as CdkdError, J as loadPublishableAssetManifest, Jt as ResourceUpdateNotSupportedError, K as buildAssetRedirectMap, Kt as ProvisioningError, L as DagBuilder, M as normalizeAwsTagsToCfn, Mt as getAwsClients, N as resolveExplicitPhysicalId, Nt as resetAwsClients, O as IntrinsicFunctionResolver, Ot as AssemblyReader, P as assertRegionMatch, Pt as setAwsClients, Q as ensureAssetStorage, R as TemplateParser, S as ProviderRegistry, St as CFN_TEMPLATE_BODY_LIMIT, T as slowCcOperationTimeoutMs, Tt as findLargeInlineResources, U as AssetPublisher, Ut as MissingCdkCliError, V as rebuildClientForBucketRegion, Vt as LocalStartServiceError, W as stringifyValue, Wt as NestedStackChildDirectDestroyError, X as AssetModeResolver, Xt as StackTerminationProtectionError, Y as rewriteTemplateAssetReferences, Yt as StackHasActiveImportsError, Z as BOOTSTRAP_MARKER_PREFIX, _ as green, _t as resolveSkipPrefix, a as withRetry, at as getDockerCmd, b as IAMRoleProvider, bt as resolveUseCdkBootstrapAssets, c as computeImplicitDeleteEdges, ct as AssetManifestLoader, d as isStatefulRecreateTargetSync, dt as synthesisStatusMessage, et as parseBootstrapMarker, f as renderStatefulReason, ft as getDefaultStateBucketName, g as gray, gt as resolveCaptureObservedState, h as cyan, ht as resolveAutoAssetStorage, i as withResourceDeadline, it as formatDockerLoginError, j as WAFv2WebACLProvider, jt as AwsClients, k as cfnRefValueFromPhysicalId, l as extractDeploymentEventError, lt as getDockerImageBySourceHash, m as bold, mt as resolveApp, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nn as withErrorHandling, nt as validateContainerRepoName, o as isRetryableTransientError, ot as runDockerForeground, p as formatResourceLine, pt as getLegacyStateBucketName, q as createAssetRedirectResolver, qt as ResourceTimeoutError, r as DeployEngine, rt as buildDockerImage, s as IMPLICIT_DELETE_DEPENDENCIES, st as runDockerStreaming, t as DEFAULT_RESOURCE_TIMEOUT_MS, tn as normalizeAwsError, tt as validateAssetBucketName, u as MULTI_REGION_RECREATE_BLOCKED_TYPES, ut as Synthesizer, v as red, vt as resolveStateBucketWithDefault, w as CloudControlProvider, wt as MIGRATE_TMP_PREFIX, x as collectInlinePolicyNamesManagedBySiblings, xt as warnDeprecatedNoPrefixCliFlag, y as yellow, yt as resolveStateBucketWithDefaultAndSource, z as LockManager, zt as LocalInvokeBuildError$1 } from "./deploy-engine-DBNn0Aq7.js";
|
|
3
3
|
import { a as getLiveRenderer, c as PATTERN_B_RESOURCE_TYPES, d as generateResourceNameWithFallback, f as withSkipPrefix, i as runStackBuffered, n as getLogger, o as PATTERN_B_NAME_OPTIONS, p as withStackName, s as PATTERN_B_NAME_PROPERTIES, u as generateResourceName } from "./logger-BYMEE-BS.js";
|
|
4
|
-
import { t as ASGProvider } from "./asg-provider-
|
|
4
|
+
import { t as ASGProvider } from "./asg-provider-CU5tyKkY.js";
|
|
5
5
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
6
6
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
7
7
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, 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";
|
|
@@ -1901,7 +1901,7 @@ const FLUSH_INTERVAL_MS = 2e3;
|
|
|
1901
1901
|
const FLUSH_EVENT_THRESHOLD = 50;
|
|
1902
1902
|
/** Build-time cdkd version, with a dev fallback for non-built contexts. */
|
|
1903
1903
|
function getCdkdVersion() {
|
|
1904
|
-
return "0.260.
|
|
1904
|
+
return "0.260.10";
|
|
1905
1905
|
}
|
|
1906
1906
|
/**
|
|
1907
1907
|
* Generate a time-sortable unique run id, e.g.
|
|
@@ -8385,7 +8385,7 @@ var LambdaFunctionProvider = class {
|
|
|
8385
8385
|
])]]);
|
|
8386
8386
|
eniWaitTimeoutMs = 600 * 1e3;
|
|
8387
8387
|
eniWaitInitialDelayMs = 1e4;
|
|
8388
|
-
eniWaitMaxDelayMs =
|
|
8388
|
+
eniWaitMaxDelayMs = 1e4;
|
|
8389
8389
|
functionUpdateMaxWaitSeconds = 600;
|
|
8390
8390
|
eniInitialSleepMs = 1e4;
|
|
8391
8391
|
eniDeleteRetryBudgetMs = 1800 * 1e3;
|
|
@@ -8742,7 +8742,7 @@ var LambdaFunctionProvider = class {
|
|
|
8742
8742
|
* "myfn" matching for function "fn".
|
|
8743
8743
|
*
|
|
8744
8744
|
* Polling: starts at eniWaitInitialDelayMs (10s), exponential backoff up
|
|
8745
|
-
* to eniWaitMaxDelayMs (
|
|
8745
|
+
* to eniWaitMaxDelayMs (10s), bounded by eniWaitTimeoutMs (10min).
|
|
8746
8746
|
* Timeout is a soft warning — downstream Subnet/SG deletion has its own
|
|
8747
8747
|
* retries.
|
|
8748
8748
|
*/
|
|
@@ -16829,7 +16829,7 @@ var EC2Provider = class {
|
|
|
16829
16829
|
async withDependencyViolationRetry(operation, opts) {
|
|
16830
16830
|
const totalBudgetMs = opts.totalBudgetMs ?? 6e5;
|
|
16831
16831
|
const initialDelayMs = 5e3;
|
|
16832
|
-
const maxDelayMs =
|
|
16832
|
+
const maxDelayMs = 1e4;
|
|
16833
16833
|
const startedAt = Date.now();
|
|
16834
16834
|
let attempt = 0;
|
|
16835
16835
|
let delay = initialDelayMs;
|
|
@@ -24620,7 +24620,7 @@ var RDSProvider = class {
|
|
|
24620
24620
|
this.logger.debug(`DBCluster ${dbClusterIdentifier} status: ${status}`);
|
|
24621
24621
|
if (status === "available") return;
|
|
24622
24622
|
await this.sleep(delay);
|
|
24623
|
-
delay = Math.min(delay * 2,
|
|
24623
|
+
delay = Math.min(delay * 2, 1e4);
|
|
24624
24624
|
}
|
|
24625
24625
|
throw new Error(`Timed out waiting for DBCluster ${dbClusterIdentifier} to become available`);
|
|
24626
24626
|
}
|
|
@@ -24641,7 +24641,7 @@ var RDSProvider = class {
|
|
|
24641
24641
|
throw error;
|
|
24642
24642
|
}
|
|
24643
24643
|
await this.sleep(delay);
|
|
24644
|
-
delay = Math.min(delay * 2,
|
|
24644
|
+
delay = Math.min(delay * 2, 1e4);
|
|
24645
24645
|
}
|
|
24646
24646
|
throw new Error(`Timed out waiting for DBCluster ${dbClusterIdentifier} to be deleted`);
|
|
24647
24647
|
}
|
|
@@ -24656,7 +24656,7 @@ var RDSProvider = class {
|
|
|
24656
24656
|
this.logger.debug(`DBInstance ${dbInstanceIdentifier} status: ${status}`);
|
|
24657
24657
|
if (status === "available") return;
|
|
24658
24658
|
await this.sleep(delay);
|
|
24659
|
-
delay = Math.min(delay * 2,
|
|
24659
|
+
delay = Math.min(delay * 2, 1e4);
|
|
24660
24660
|
}
|
|
24661
24661
|
throw new Error(`Timed out waiting for DBInstance ${dbInstanceIdentifier} to become available`);
|
|
24662
24662
|
}
|
|
@@ -24677,7 +24677,7 @@ var RDSProvider = class {
|
|
|
24677
24677
|
throw error;
|
|
24678
24678
|
}
|
|
24679
24679
|
await this.sleep(delay);
|
|
24680
|
-
delay = Math.min(delay * 2,
|
|
24680
|
+
delay = Math.min(delay * 2, 1e4);
|
|
24681
24681
|
}
|
|
24682
24682
|
throw new Error(`Timed out waiting for DBInstance ${dbInstanceIdentifier} to be deleted`);
|
|
24683
24683
|
}
|
|
@@ -26219,7 +26219,7 @@ var DocDBProvider = class {
|
|
|
26219
26219
|
this.logger.debug(`DocDB DBCluster ${dbClusterIdentifier} status: ${status}`);
|
|
26220
26220
|
if (status === "available") return;
|
|
26221
26221
|
await this.sleep(delay);
|
|
26222
|
-
delay = Math.min(delay * 2,
|
|
26222
|
+
delay = Math.min(delay * 2, 1e4);
|
|
26223
26223
|
}
|
|
26224
26224
|
throw new Error(`Timed out waiting for DocDB DBCluster ${dbClusterIdentifier} to become available`);
|
|
26225
26225
|
}
|
|
@@ -26240,7 +26240,7 @@ var DocDBProvider = class {
|
|
|
26240
26240
|
throw error;
|
|
26241
26241
|
}
|
|
26242
26242
|
await this.sleep(delay);
|
|
26243
|
-
delay = Math.min(delay * 2,
|
|
26243
|
+
delay = Math.min(delay * 2, 1e4);
|
|
26244
26244
|
}
|
|
26245
26245
|
throw new Error(`Timed out waiting for DocDB DBCluster ${dbClusterIdentifier} to be deleted`);
|
|
26246
26246
|
}
|
|
@@ -26255,7 +26255,7 @@ var DocDBProvider = class {
|
|
|
26255
26255
|
this.logger.debug(`DocDB DBInstance ${dbInstanceIdentifier} status: ${status}`);
|
|
26256
26256
|
if (status === "available") return;
|
|
26257
26257
|
await this.sleep(delay);
|
|
26258
|
-
delay = Math.min(delay * 2,
|
|
26258
|
+
delay = Math.min(delay * 2, 1e4);
|
|
26259
26259
|
}
|
|
26260
26260
|
throw new Error(`Timed out waiting for DocDB DBInstance ${dbInstanceIdentifier} to become available`);
|
|
26261
26261
|
}
|
|
@@ -26273,7 +26273,7 @@ var DocDBProvider = class {
|
|
|
26273
26273
|
throw error;
|
|
26274
26274
|
}
|
|
26275
26275
|
await this.sleep(delay);
|
|
26276
|
-
delay = Math.min(delay * 2,
|
|
26276
|
+
delay = Math.min(delay * 2, 1e4);
|
|
26277
26277
|
}
|
|
26278
26278
|
throw new Error(`Timed out waiting for DocDB DBInstance ${dbInstanceIdentifier} to be deleted`);
|
|
26279
26279
|
}
|
|
@@ -26858,7 +26858,7 @@ var NeptuneProvider = class {
|
|
|
26858
26858
|
this.logger.debug(`Neptune DBCluster ${dbClusterIdentifier} status: ${status}`);
|
|
26859
26859
|
if (status === "available") return;
|
|
26860
26860
|
await this.sleep(delay);
|
|
26861
|
-
delay = Math.min(delay * 2,
|
|
26861
|
+
delay = Math.min(delay * 2, 1e4);
|
|
26862
26862
|
}
|
|
26863
26863
|
throw new Error(`Timed out waiting for Neptune DBCluster ${dbClusterIdentifier} to become available`);
|
|
26864
26864
|
}
|
|
@@ -26879,7 +26879,7 @@ var NeptuneProvider = class {
|
|
|
26879
26879
|
throw error;
|
|
26880
26880
|
}
|
|
26881
26881
|
await this.sleep(delay);
|
|
26882
|
-
delay = Math.min(delay * 2,
|
|
26882
|
+
delay = Math.min(delay * 2, 1e4);
|
|
26883
26883
|
}
|
|
26884
26884
|
throw new Error(`Timed out waiting for Neptune DBCluster ${dbClusterIdentifier} to be deleted`);
|
|
26885
26885
|
}
|
|
@@ -26894,7 +26894,7 @@ var NeptuneProvider = class {
|
|
|
26894
26894
|
this.logger.debug(`Neptune DBInstance ${dbInstanceIdentifier} status: ${status}`);
|
|
26895
26895
|
if (status === "available") return;
|
|
26896
26896
|
await this.sleep(delay);
|
|
26897
|
-
delay = Math.min(delay * 2,
|
|
26897
|
+
delay = Math.min(delay * 2, 1e4);
|
|
26898
26898
|
}
|
|
26899
26899
|
throw new Error(`Timed out waiting for Neptune DBInstance ${dbInstanceIdentifier} to become available`);
|
|
26900
26900
|
}
|
|
@@ -26912,7 +26912,7 @@ var NeptuneProvider = class {
|
|
|
26912
26912
|
throw error;
|
|
26913
26913
|
}
|
|
26914
26914
|
await this.sleep(delay);
|
|
26915
|
-
delay = Math.min(delay * 2,
|
|
26915
|
+
delay = Math.min(delay * 2, 1e4);
|
|
26916
26916
|
}
|
|
26917
26917
|
throw new Error(`Timed out waiting for Neptune DBInstance ${dbInstanceIdentifier} to be deleted`);
|
|
26918
26918
|
}
|
|
@@ -28672,7 +28672,7 @@ var ElastiCacheProvider = class {
|
|
|
28672
28672
|
this.logger.debug(`CacheCluster ${cacheClusterId} status: ${status}`);
|
|
28673
28673
|
if (status === "available") return;
|
|
28674
28674
|
await this.sleep(delay);
|
|
28675
|
-
delay = Math.min(delay * 2,
|
|
28675
|
+
delay = Math.min(delay * 2, 1e4);
|
|
28676
28676
|
}
|
|
28677
28677
|
throw new Error(`Timed out waiting for CacheCluster ${cacheClusterId} to become available`);
|
|
28678
28678
|
}
|
|
@@ -28693,7 +28693,7 @@ var ElastiCacheProvider = class {
|
|
|
28693
28693
|
throw error;
|
|
28694
28694
|
}
|
|
28695
28695
|
await this.sleep(delay);
|
|
28696
|
-
delay = Math.min(delay * 2,
|
|
28696
|
+
delay = Math.min(delay * 2, 1e4);
|
|
28697
28697
|
}
|
|
28698
28698
|
throw new Error(`Timed out waiting for CacheCluster ${cacheClusterId} to be deleted`);
|
|
28699
28699
|
}
|
|
@@ -62010,7 +62010,7 @@ function createMigrateCommand() {
|
|
|
62010
62010
|
*/
|
|
62011
62011
|
function buildProgram() {
|
|
62012
62012
|
const program = new Command();
|
|
62013
|
-
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.260.
|
|
62013
|
+
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.260.10");
|
|
62014
62014
|
program.addCommand(createBootstrapCommand());
|
|
62015
62015
|
program.addCommand(createSynthCommand());
|
|
62016
62016
|
program.addCommand(createListCommand());
|