@go-to-k/cdkd 0.230.14 → 0.230.16

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,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 CFN_TEMPLATE_BODY_LIMIT, A as LockManager, B as runDockerForeground, C as findActionableSilentDrops, D as DiffCalculator, E as applyRoleArnIfSet, F as stringifyValue, G as getDefaultStateBucketName, H as AssetManifestLoader, I as WorkGraph, J as resolveCaptureObservedState, K as getLegacyStateBucketName, L as buildDockerImage, M as rebuildClientForBucketRegion, N as shouldRetainResource, O as DagBuilder, P as AssetPublisher, Q as warnDeprecatedNoPrefixCliFlag, R as formatDockerLoginError, S as ProviderRegistry, T as IntrinsicFunctionResolver, U as getDockerImageBySourceHash, V as runDockerStreaming, W as Synthesizer, X as resolveStateBucketWithDefault, Y as resolveSkipPrefix, Z as resolveStateBucketWithDefaultAndSource, _ as green, a as withRetry, b as IAMRoleProvider, c as computeImplicitDeleteEdges, d as isStatefulRecreateTargetSync, et as CFN_TEMPLATE_URL_LIMIT, f as renderStatefulReason, g as gray, h as cyan, i as withResourceDeadline, it as AssemblyReader, j as S3StateBackend, k as TemplateParser, l as extractDeploymentEventError, m as bold, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nt as findLargeInlineResources, o as isRetryableTransientError, ot as resolveBucketRegion, p as formatResourceLine, q as resolveApp, r as DeployEngine, rt as uploadCfnTemplate, s as IMPLICIT_DELETE_DEPENDENCIES, t as DEFAULT_RESOURCE_TIMEOUT_MS, tt as MIGRATE_TMP_PREFIX, 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-xDAHmCZF.js";
4
+ import { $ as CFN_TEMPLATE_BODY_LIMIT, A as LockManager, B as runDockerForeground, C as findActionableSilentDrops, D as DiffCalculator, E as applyRoleArnIfSet, F as stringifyValue, G as getDefaultStateBucketName, H as AssetManifestLoader, I as WorkGraph, J as resolveCaptureObservedState, K as getLegacyStateBucketName, L as buildDockerImage, M as rebuildClientForBucketRegion, N as shouldRetainResource, O as DagBuilder, P as AssetPublisher, Q as warnDeprecatedNoPrefixCliFlag, R as formatDockerLoginError, S as ProviderRegistry, T as IntrinsicFunctionResolver, U as getDockerImageBySourceHash, V as runDockerStreaming, W as Synthesizer, X as resolveStateBucketWithDefault, Y as resolveSkipPrefix, Z as resolveStateBucketWithDefaultAndSource, _ as green, a as withRetry, b as IAMRoleProvider, c as computeImplicitDeleteEdges, d as isStatefulRecreateTargetSync, et as CFN_TEMPLATE_URL_LIMIT, f as renderStatefulReason, g as gray, h as cyan, i as withResourceDeadline, it as AssemblyReader, j as S3StateBackend, k as TemplateParser, l as extractDeploymentEventError, m as bold, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nt as findLargeInlineResources, o as isRetryableTransientError, ot as resolveBucketRegion, p as formatResourceLine, q as resolveApp, r as DeployEngine, rt as uploadCfnTemplate, s as IMPLICIT_DELETE_DEPENDENCIES, t as DEFAULT_RESOURCE_TIMEOUT_MS, tt as MIGRATE_TMP_PREFIX, 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-BqUZUty9.js";
5
5
  import { t as ASGProvider } from "./asg-provider-Dgj3loIG.js";
6
6
  import { AsyncLocalStorage } from "node:async_hooks";
7
7
  import { 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.14";
1448
+ return "0.230.16";
1449
1449
  }
1450
1450
  /**
1451
1451
  * Generate a time-sortable unique run id, e.g.
@@ -5009,13 +5009,21 @@ var S3BucketProvider = class {
5009
5009
  };
5010
5010
  const filter = rule["Filter"];
5011
5011
  if (filter) {
5012
+ const and = filter["And"];
5012
5013
  const prefix = filter["Prefix"];
5013
5014
  const tagFilter = filter["TagFilter"];
5014
- if (prefix && tagFilter) sdkRule["Filter"] = { And: {
5015
+ if (and) {
5016
+ const andPrefix = and["Prefix"];
5017
+ const andTags = and["TagFilters"];
5018
+ const sdkAnd = {};
5019
+ if (andPrefix !== void 0) sdkAnd["Prefix"] = andPrefix;
5020
+ if (andTags !== void 0) sdkAnd["Tags"] = andTags;
5021
+ sdkRule["Filter"] = { And: sdkAnd };
5022
+ } else if (prefix !== void 0 && tagFilter) sdkRule["Filter"] = { And: {
5015
5023
  Prefix: prefix,
5016
5024
  Tags: [tagFilter]
5017
5025
  } };
5018
- else if (prefix) sdkRule["Filter"] = { Prefix: prefix };
5026
+ else if (prefix !== void 0) sdkRule["Filter"] = { Prefix: prefix };
5019
5027
  else if (tagFilter) sdkRule["Filter"] = { Tag: tagFilter };
5020
5028
  else sdkRule["Filter"] = {};
5021
5029
  } else if (rule["Prefix"] !== void 0) sdkRule["Prefix"] = rule["Prefix"];
@@ -5624,9 +5632,11 @@ var S3BucketProvider = class {
5624
5632
  const and = f["And"];
5625
5633
  const tagOnly = f["Tag"];
5626
5634
  if (and) {
5627
- if (and["Prefix"] !== void 0) cfnFilter["Prefix"] = and["Prefix"];
5635
+ const innerAnd = {};
5636
+ if (and["Prefix"] !== void 0) innerAnd["Prefix"] = and["Prefix"];
5628
5637
  const tags = and["Tags"];
5629
- if (tags && tags.length > 0) cfnFilter["TagFilter"] = tags[0];
5638
+ if (tags && tags.length > 0) innerAnd["TagFilters"] = tags;
5639
+ cfnFilter["And"] = innerAnd;
5630
5640
  } else if (tagOnly) cfnFilter["TagFilter"] = tagOnly;
5631
5641
  else if (f["Prefix"] !== void 0) cfnFilter["Prefix"] = f["Prefix"];
5632
5642
  if (Object.keys(cfnFilter).length > 0) ruleOut["Filter"] = cfnFilter;
@@ -55365,7 +55375,7 @@ function reorderArgs(argv) {
55365
55375
  async function main() {
55366
55376
  installPipeCloseHandler();
55367
55377
  const program = new Command();
55368
- program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.230.14");
55378
+ program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.230.16");
55369
55379
  program.addCommand(createBootstrapCommand());
55370
55380
  program.addCommand(createSynthCommand());
55371
55381
  program.addCommand(createListCommand());