@go-to-k/cdkd 0.191.0 → 0.192.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/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { _ as withSkipPrefix, a as runDockerStreaming, c as getLogger, d as getLiveRenderer, f as PATTERN_B_NAME_PROPERTIES, g as generateResourceNameWithFallback, h as generateResourceName, i as runDockerForeground, n as formatDockerLoginError, p as PATTERN_B_RESOURCE_TYPES, r as getDockerCmd, u as runStackBuffered, v as withStackName } from "./docker-cmd-iDMcWcre.js";
|
|
3
|
-
import { A as S3StateBackend, B as resolveCaptureObservedState, C as assertRegionMatch, D as DagBuilder, E as DiffCalculator, F as buildDockerImage, G as CFN_TEMPLATE_BODY_LIMIT, H as resolveStateBucketWithDefault, I as Synthesizer, J as findLargeInlineResources, K as CFN_TEMPLATE_URL_LIMIT, L as getDefaultStateBucketName, M as AssetPublisher, N as stringifyValue, O as TemplateParser, P as WorkGraph, Q as resolveBucketRegion, R as getLegacyStateBucketName, S as CloudControlProvider, T as applyRoleArnIfSet, U as resolveStateBucketWithDefaultAndSource, V as resolveSkipPrefix, W as warnDeprecatedNoPrefixCliFlag, X as AssemblyReader, Y as uploadCfnTemplate, _ as matchesCdkPath, a as withRetry, at as LocalStartServiceError, b as ProviderRegistry, bt as withErrorHandling, c as bold, ct as NestedStackChildDirectDestroyError, d as green, dt as ResourceTimeoutError, et as CdkdError, f as red, ft as ResourceUpdateNotSupportedError, g as CDK_PATH_TAG, h as collectInlinePolicyNamesManagedBySiblings, i as withResourceDeadline, it as LocalMigrateError, j as shouldRetainResource, k as LockManager, l as cyan, lt as PartialFailureError, m as IAMRoleProvider, mt as StackTerminationProtectionError, n as DEFAULT_RESOURCE_WARN_AFTER_MS, o as IMPLICIT_DELETE_DEPENDENCIES, p as yellow, pt as StackHasActiveImportsError, q as MIGRATE_TMP_PREFIX, r as DeployEngine, rt as LocalInvokeBuildError$1, s as formatResourceLine, st as MissingCdkCliError, t as DEFAULT_RESOURCE_TIMEOUT_MS, u as gray, ut as ProvisioningError, v as normalizeAwsTagsToCfn, w as IntrinsicFunctionResolver, x as findActionableSilentDrops, y as resolveExplicitPhysicalId, yt as normalizeAwsError, z as resolveApp } from "./deploy-engine-
|
|
3
|
+
import { A as S3StateBackend, B as resolveCaptureObservedState, C as assertRegionMatch, D as DagBuilder, E as DiffCalculator, F as buildDockerImage, G as CFN_TEMPLATE_BODY_LIMIT, H as resolveStateBucketWithDefault, I as Synthesizer, J as findLargeInlineResources, K as CFN_TEMPLATE_URL_LIMIT, L as getDefaultStateBucketName, M as AssetPublisher, N as stringifyValue, O as TemplateParser, P as WorkGraph, Q as resolveBucketRegion, R as getLegacyStateBucketName, S as CloudControlProvider, T as applyRoleArnIfSet, U as resolveStateBucketWithDefaultAndSource, V as resolveSkipPrefix, W as warnDeprecatedNoPrefixCliFlag, X as AssemblyReader, Y as uploadCfnTemplate, _ as matchesCdkPath, a as withRetry, at as LocalStartServiceError, b as ProviderRegistry, bt as withErrorHandling, c as bold, ct as NestedStackChildDirectDestroyError, d as green, dt as ResourceTimeoutError, et as CdkdError, f as red, ft as ResourceUpdateNotSupportedError, g as CDK_PATH_TAG, h as collectInlinePolicyNamesManagedBySiblings, i as withResourceDeadline, it as LocalMigrateError, j as shouldRetainResource, k as LockManager, l as cyan, lt as PartialFailureError, m as IAMRoleProvider, mt as StackTerminationProtectionError, n as DEFAULT_RESOURCE_WARN_AFTER_MS, o as IMPLICIT_DELETE_DEPENDENCIES, p as yellow, pt as StackHasActiveImportsError, q as MIGRATE_TMP_PREFIX, r as DeployEngine, rt as LocalInvokeBuildError$1, s as formatResourceLine, st as MissingCdkCliError, t as DEFAULT_RESOURCE_TIMEOUT_MS, u as gray, ut as ProvisioningError, v as normalizeAwsTagsToCfn, w as IntrinsicFunctionResolver, x as findActionableSilentDrops, y as resolveExplicitPhysicalId, yt as normalizeAwsError, z as resolveApp } from "./deploy-engine-DbR6HZHx.js";
|
|
4
4
|
import { a as setAwsClients, i as resetAwsClients, r as getAwsClients, t as AwsClients } from "./aws-clients-B15NAPbL.js";
|
|
5
5
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
6
6
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
@@ -11415,7 +11415,8 @@ var SecretsManagerSecretProvider = class {
|
|
|
11415
11415
|
"Description",
|
|
11416
11416
|
"KmsKeyId",
|
|
11417
11417
|
"Tags",
|
|
11418
|
-
"ReplicaRegions"
|
|
11418
|
+
"ReplicaRegions",
|
|
11419
|
+
"Type"
|
|
11419
11420
|
])]]);
|
|
11420
11421
|
constructor() {
|
|
11421
11422
|
const awsClients = getAwsClients();
|
|
@@ -11444,6 +11445,7 @@ var SecretsManagerSecretProvider = class {
|
|
|
11444
11445
|
Region: r["Region"],
|
|
11445
11446
|
KmsKeyId: r["KmsKeyId"]
|
|
11446
11447
|
}));
|
|
11448
|
+
if (properties["Type"]) createParams.Type = properties["Type"];
|
|
11447
11449
|
const secretArn = (await this.smClient.send(new CreateSecretCommand(createParams))).ARN;
|
|
11448
11450
|
if (!secretArn) throw new Error("CreateSecret did not return ARN");
|
|
11449
11451
|
this.logger.debug(`Successfully created secret ${logicalId}: ${secretArn}`);
|
|
@@ -11470,6 +11472,7 @@ var SecretsManagerSecretProvider = class {
|
|
|
11470
11472
|
if (secretString) updateParams.SecretString = secretString;
|
|
11471
11473
|
if (properties["Description"] !== void 0) updateParams.Description = properties["Description"];
|
|
11472
11474
|
if (properties["KmsKeyId"] !== void 0 && properties["KmsKeyId"] !== "") updateParams.KmsKeyId = properties["KmsKeyId"];
|
|
11475
|
+
if (properties["Type"]) updateParams.Type = properties["Type"];
|
|
11473
11476
|
await this.smClient.send(new UpdateSecretCommand(updateParams));
|
|
11474
11477
|
const newTags = properties["Tags"];
|
|
11475
11478
|
const oldTags = previousProperties["Tags"];
|
|
@@ -11611,6 +11614,7 @@ var SecretsManagerSecretProvider = class {
|
|
|
11611
11614
|
return out;
|
|
11612
11615
|
});
|
|
11613
11616
|
result["Tags"] = normalizeAwsTagsToCfn(resp.Tags);
|
|
11617
|
+
if (resp.Type !== void 0) result["Type"] = resp.Type;
|
|
11614
11618
|
return result;
|
|
11615
11619
|
} catch (err) {
|
|
11616
11620
|
if (err instanceof ResourceNotFoundException$3) return void 0;
|
|
@@ -52441,7 +52445,7 @@ function reorderArgs(argv) {
|
|
|
52441
52445
|
*/
|
|
52442
52446
|
async function main() {
|
|
52443
52447
|
const program = new Command();
|
|
52444
|
-
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.
|
|
52448
|
+
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.192.0");
|
|
52445
52449
|
program.addCommand(createBootstrapCommand());
|
|
52446
52450
|
program.addCommand(createSynthCommand());
|
|
52447
52451
|
program.addCommand(createListCommand());
|