@storm-software/terraform-tools 0.66.188 → 0.66.189

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{chunk-Y2L7ETTJ.mjs → chunk-2OMK5XBV.mjs} +1 -1
  3. package/dist/{chunk-J2IP352Y.js → chunk-35XAQCIG.js} +2 -2
  4. package/dist/{chunk-6OOVQVET.mjs → chunk-5WQESBUL.mjs} +17 -8
  5. package/dist/{chunk-OFXBWSNE.js → chunk-AIMJGFAQ.js} +2 -2
  6. package/dist/{chunk-EPUKT7Q3.js → chunk-D34LI533.js} +2 -2
  7. package/dist/{chunk-CISK74IB.mjs → chunk-EJQKUB75.mjs} +1 -1
  8. package/dist/{chunk-QM5NZBC6.js → chunk-GVEGIPUX.js} +2 -2
  9. package/dist/{chunk-IJCAQCAI.mjs → chunk-NVE2K255.mjs} +1 -1
  10. package/dist/{chunk-FNB6U7XT.mjs → chunk-OF5PG3VF.mjs} +1 -1
  11. package/dist/{chunk-YCSFTFE3.js → chunk-P7CN5KBJ.js} +2 -2
  12. package/dist/{chunk-W32GVXAC.mjs → chunk-SGKW62J5.mjs} +1 -1
  13. package/dist/{chunk-NX6I7V6C.js → chunk-SXYKEVA5.js} +17 -8
  14. package/dist/{chunk-HVNJ25TH.js → chunk-XYKCMGVY.js} +159 -159
  15. package/dist/{chunk-IYRRG6RY.mjs → chunk-Y7F2EGB3.mjs} +1 -1
  16. package/dist/executors.js +6 -6
  17. package/dist/executors.mjs +6 -6
  18. package/dist/generators.js +3 -3
  19. package/dist/generators.mjs +2 -2
  20. package/dist/index.js +10 -10
  21. package/dist/index.mjs +9 -9
  22. package/dist/src/base/index.js +3 -3
  23. package/dist/src/base/index.mjs +2 -2
  24. package/dist/src/base/terraform-executor.js +3 -3
  25. package/dist/src/base/terraform-executor.mjs +2 -2
  26. package/dist/src/executors/apply/executor.js +4 -4
  27. package/dist/src/executors/apply/executor.mjs +3 -3
  28. package/dist/src/executors/destroy/executor.js +4 -4
  29. package/dist/src/executors/destroy/executor.mjs +3 -3
  30. package/dist/src/executors/output/executor.js +4 -4
  31. package/dist/src/executors/output/executor.mjs +3 -3
  32. package/dist/src/executors/plan/executor.js +4 -4
  33. package/dist/src/executors/plan/executor.mjs +3 -3
  34. package/dist/src/generators/init/init.js +3 -3
  35. package/dist/src/generators/init/init.mjs +2 -2
  36. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  # Changelog for Storm Ops - Terraform Tools
4
4
 
5
+ ## [0.66.188](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.188) (05/15/2026)
6
+
7
+ ### Updated Dependencies
8
+
9
+ - Updated **workspace-tools** to **v1.295.73**
10
+ - Updated **config-tools** to **v1.190.13**
11
+ - Updated **config** to **v1.137.46**
12
+
5
13
  ## [0.66.187](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.187) (05/15/2026)
6
14
 
7
15
  ### Updated Dependencies
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-IYRRG6RY.mjs";
3
+ } from "./chunk-Y7F2EGB3.mjs";
4
4
 
5
5
  // src/executors/apply/executor.ts
6
6
  var executor_default = withTerraformExecutor("apply");
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkYCSFTFE3js = require('./chunk-YCSFTFE3.js');
3
+ var _chunkP7CN5KBJjs = require('./chunk-P7CN5KBJ.js');
4
4
 
5
5
  // src/executors/apply/executor.ts
6
- var executor_default = _chunkYCSFTFE3js.withTerraformExecutor.call(void 0, "apply");
6
+ var executor_default = _chunkP7CN5KBJjs.withTerraformExecutor.call(void 0, "apply");
7
7
 
8
8
 
9
9
 
@@ -348,22 +348,31 @@ var getStopwatch = (name) => {
348
348
  );
349
349
  };
350
350
  };
351
- var MAX_DEPTH = 6;
351
+ var MAX_DEPTH = 10;
352
352
  var formatLogMessage = (message, options = {}, depth2 = 0) => {
353
353
  if (depth2 > MAX_DEPTH) {
354
354
  return "<max depth>";
355
355
  }
356
- const prefix = options.prefix ?? "-";
356
+ const prefix = options.prefix ?? "";
357
357
  const skip = options.skip ?? [];
358
- return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : Array.isArray(message) ? `
359
- ${message.map((item, index) => ` ${prefix}> #${index} = ${formatLogMessage(item, { prefix: `${prefix}-`, skip }, depth2 + 1)}`).join("\n")}` : typeof message === "object" ? `
360
- ${Object.keys(message).filter((key) => !skip.includes(key)).map(
361
- (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(
358
+ const sort = options.sort ?? true;
359
+ return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
360
+ ${message.map(
361
+ (item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
362
+ item,
363
+ { prefix: `${prefix}--`, skip, sort },
364
+ depth2 + 1
365
+ )}`
366
+ ).join("\n")}` : typeof message === "object" ? `
367
+ ${Object.keys(message).filter((key) => !skip.includes(key)).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
368
+ (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
369
+ (key2) => !skip.includes(key2)
370
+ ).length === 0 ? "{}" : formatLogMessage(
362
371
  message[key],
363
- { prefix: `${prefix}-`, skip },
372
+ { prefix: `${prefix}--`, skip, sort },
364
373
  depth2 + 1
365
374
  ) : message[key]}`
366
- ).join("\n")}` : message;
375
+ ).join("\n")}` : String(message);
367
376
  };
368
377
  var _isFunction = (value) => {
369
378
  try {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkYCSFTFE3js = require('./chunk-YCSFTFE3.js');
3
+ var _chunkP7CN5KBJjs = require('./chunk-P7CN5KBJ.js');
4
4
 
5
5
  // src/executors/destroy/executor.ts
6
- var executor_default = _chunkYCSFTFE3js.withTerraformExecutor.call(void 0, "destroy");
6
+ var executor_default = _chunkP7CN5KBJjs.withTerraformExecutor.call(void 0, "destroy");
7
7
 
8
8
 
9
9
 
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkYCSFTFE3js = require('./chunk-YCSFTFE3.js');
3
+ var _chunkP7CN5KBJjs = require('./chunk-P7CN5KBJ.js');
4
4
 
5
5
  // src/executors/plan/executor.ts
6
- var executor_default = _chunkYCSFTFE3js.withTerraformExecutor.call(void 0, "plan");
6
+ var executor_default = _chunkP7CN5KBJjs.withTerraformExecutor.call(void 0, "plan");
7
7
 
8
8
 
9
9
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-IYRRG6RY.mjs";
3
+ } from "./chunk-Y7F2EGB3.mjs";
4
4
 
5
5
  // src/executors/plan/executor.ts
6
6
  var executor_default = withTerraformExecutor("plan");
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkYCSFTFE3js = require('./chunk-YCSFTFE3.js');
3
+ var _chunkP7CN5KBJjs = require('./chunk-P7CN5KBJ.js');
4
4
 
5
5
  // src/executors/output/executor.ts
6
- var executor_default = _chunkYCSFTFE3js.withTerraformExecutor.call(void 0, "output");
6
+ var executor_default = _chunkP7CN5KBJjs.withTerraformExecutor.call(void 0, "output");
7
7
 
8
8
 
9
9
 
@@ -21,7 +21,7 @@ import {
21
21
  writeSuccess,
22
22
  writeTrace,
23
23
  writeWarning
24
- } from "./chunk-6OOVQVET.mjs";
24
+ } from "./chunk-5WQESBUL.mjs";
25
25
  import {
26
26
  __dirname
27
27
  } from "./chunk-63QCHNBN.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-IYRRG6RY.mjs";
3
+ } from "./chunk-Y7F2EGB3.mjs";
4
4
 
5
5
  // src/executors/destroy/executor.ts
6
6
  var executor_default = withTerraformExecutor("destroy");
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkNX6I7V6Cjs = require('./chunk-NX6I7V6C.js');
3
+ var _chunkSXYKEVA5js = require('./chunk-SXYKEVA5.js');
4
4
 
5
5
  // ../config-tools/src/utilities/run.ts
6
6
  var _child_process = require('child_process');
@@ -25,7 +25,7 @@ var run = (config, command, cwd = _nullishCoalesce(config.workspaceRoot, () => (
25
25
  // src/base/terraform-executor.ts
26
26
  var _shelljs = require('shelljs');
27
27
  var withTerraformExecutor = (command, executorOptions = {}) => async (_options, context) => {
28
- return _chunkNX6I7V6Cjs.withRunExecutor.call(void 0,
28
+ return _chunkSXYKEVA5js.withRunExecutor.call(void 0,
29
29
  `Terraform \`${command}\` Command Executor`,
30
30
  async (options, context2, config) => {
31
31
  if (!_shelljs.which.call(void 0, "tofu") || !_shelljs.which.call(void 0, "terraform")) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-IYRRG6RY.mjs";
3
+ } from "./chunk-Y7F2EGB3.mjs";
4
4
 
5
5
  // src/executors/output/executor.ts
6
6
  var executor_default = withTerraformExecutor("output");
@@ -348,22 +348,31 @@ var getStopwatch = (name) => {
348
348
  );
349
349
  };
350
350
  };
351
- var MAX_DEPTH = 6;
351
+ var MAX_DEPTH = 10;
352
352
  var formatLogMessage = (message, options = {}, depth2 = 0) => {
353
353
  if (depth2 > MAX_DEPTH) {
354
354
  return "<max depth>";
355
355
  }
356
- const prefix = _nullishCoalesce(options.prefix, () => ( "-"));
356
+ const prefix = _nullishCoalesce(options.prefix, () => ( ""));
357
357
  const skip = _nullishCoalesce(options.skip, () => ( []));
358
- return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : Array.isArray(message) ? `
359
- ${message.map((item, index) => ` ${prefix}> #${index} = ${formatLogMessage(item, { prefix: `${prefix}-`, skip }, depth2 + 1)}`).join("\n")}` : typeof message === "object" ? `
360
- ${Object.keys(message).filter((key) => !skip.includes(key)).map(
361
- (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(
358
+ const sort = _nullishCoalesce(options.sort, () => ( true));
359
+ return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
360
+ ${message.map(
361
+ (item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
362
+ item,
363
+ { prefix: `${prefix}--`, skip, sort },
364
+ depth2 + 1
365
+ )}`
366
+ ).join("\n")}` : typeof message === "object" ? `
367
+ ${Object.keys(message).filter((key) => !skip.includes(key)).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
368
+ (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
369
+ (key2) => !skip.includes(key2)
370
+ ).length === 0 ? "{}" : formatLogMessage(
362
371
  message[key],
363
- { prefix: `${prefix}-`, skip },
372
+ { prefix: `${prefix}--`, skip, sort },
364
373
  depth2 + 1
365
374
  ) : message[key]}`
366
- ).join("\n")}` : message;
375
+ ).join("\n")}` : String(message);
367
376
  };
368
377
  var _isFunction = (value) => {
369
378
  try {