@go-to-k/cdkd 0.23.0 → 0.23.1

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
@@ -32651,7 +32651,7 @@ Preparing to destroy stack: ${stackName}`);
32651
32651
  } else {
32652
32652
  const regions = refs.map((r) => r.region ?? "(legacy)").join(", ");
32653
32653
  throw new Error(
32654
- `Stack '${stackName}' has state in multiple regions: ${regions}. Use 'cdkd state orphan ${stackName} --region <region>' to remove cdkd's record for one region, or run destroy from a CDK app whose env.region matches one of them.`
32654
+ `Stack '${stackName}' has state in multiple regions: ${regions}. Use 'cdkd state orphan ${stackName} --stack-region <region>' to remove cdkd's record for one region, or run destroy from a CDK app whose env.region matches one of them.`
32655
32655
  );
32656
32656
  }
32657
32657
  const stateResult = await stateBackend.getState(stackName, stackTargetRegion);
@@ -33320,7 +33320,7 @@ function resolveSingleRegion(stackName, refs, requestedRegion) {
33320
33320
  return matches[0];
33321
33321
  const regions = matches.map((r) => r.region ?? "(legacy)").join(", ");
33322
33322
  throw new Error(
33323
- `Stack '${stackName}' has state in multiple regions: ${regions}. Re-run with --region <region> to disambiguate.`
33323
+ `Stack '${stackName}' has state in multiple regions: ${regions}. Re-run with --stack-region <region> to disambiguate.`
33324
33324
  );
33325
33325
  }
33326
33326
  async function setupStateBackend(options) {
@@ -33790,7 +33790,7 @@ WARNING: This destroys ${stackNames.length} stack(s) and removes their state rec
33790
33790
  } else {
33791
33791
  const regions = refs.map((r) => r.region ?? "(legacy)").join(", ");
33792
33792
  throw new Error(
33793
- `Stack '${stackName}' has state in multiple regions: ${regions}. Use --region <region> to pick one.`
33793
+ `Stack '${stackName}' has state in multiple regions: ${regions}. Use --stack-region <region> to pick one.`
33794
33794
  );
33795
33795
  }
33796
33796
  for (const ref of targets) {
@@ -34377,7 +34377,7 @@ function reorderArgs(argv) {
34377
34377
  }
34378
34378
  async function main() {
34379
34379
  const program = new Command13();
34380
- program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.23.0");
34380
+ program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.23.1");
34381
34381
  program.addCommand(createBootstrapCommand());
34382
34382
  program.addCommand(createSynthCommand());
34383
34383
  program.addCommand(createListCommand());