@storm-software/terraform-tools 0.66.168 → 0.66.170

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/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  # Changelog for Storm Ops - Terraform Tools
4
4
 
5
+ ## [0.66.169](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.169) (04/14/2026)
6
+
7
+ ### Documentation
8
+
9
+ - **monorepo:** Update workspace's `README.md` files ([7d41882b7](https://github.com/storm-software/storm-ops/commit/7d41882b7))
10
+
11
+ ### Updated Dependencies
12
+
13
+ - Updated **workspace-tools** to **v1.295.54**
14
+
15
+ ## [0.66.168](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.168) (04/14/2026)
16
+
17
+ ### Miscellaneous
18
+
19
+ - **monorepo:** Update workspace packages' dependencies ([3a2b8a77e](https://github.com/storm-software/storm-ops/commit/3a2b8a77e))
20
+
21
+ ### Updated Dependencies
22
+
23
+ - Updated **workspace-tools** to **v1.295.53**
24
+ - Updated **config-tools** to **v1.189.77**
25
+ - Updated **config** to **v1.137.31**
26
+
5
27
  ## [0.66.167](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.167) (04/13/2026)
6
28
 
7
29
  ### Bug Fixes
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.66.166-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-0.66.169-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -50,7 +50,9 @@ var buildCargoCommand = (baseCommand, options, context) => {
50
50
  args.push(`+${options.toolchain}`);
51
51
  }
52
52
  args.push(baseCommand);
53
- for (const [key, value] of Object.entries(options)) {
53
+ for (const [key, value] of Object.entries(options).filter(
54
+ ([key2]) => key2 && key2 !== "_"
55
+ )) {
54
56
  if (key === "toolchain" || key === "release" || INVALID_CARGO_ARGS.includes(key)) {
55
57
  continue;
56
58
  }
@@ -60,7 +62,7 @@ var buildCargoCommand = (baseCommand, options, context) => {
60
62
  }
61
63
  } else if (Array.isArray(value)) {
62
64
  for (const item of value) {
63
- args.push(`--${key}`, item);
65
+ args.push(`--${key}`, String(item));
64
66
  }
65
67
  } else {
66
68
  args.push(`--${key}`, String(value));
@@ -109,7 +111,7 @@ function cargoCommandSync(args = "", options) {
109
111
  };
110
112
  } catch (e) {
111
113
  return {
112
- output: e,
114
+ output: e.message,
113
115
  success: false
114
116
  };
115
117
  }
@@ -1015,7 +1017,7 @@ async function napiExecutor(options, context, config) {
1015
1017
  "The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
1016
1018
  );
1017
1019
  }
1018
- const projectRoot = context.projectGraph?.nodes[context.projectName ?? ""].data.root;
1020
+ const projectRoot = context.projectGraph?.nodes[context.projectName ?? ""]?.data.root;
1019
1021
  const packageJson = joinPaths(projectRoot ?? ".", "package.json");
1020
1022
  if (!fileExists(packageJson)) {
1021
1023
  throw new Error(`Could not find package.json at ${packageJson}`);
@@ -1029,27 +1031,29 @@ async function napiExecutor(options, context, config) {
1029
1031
  if (options.cwd) {
1030
1032
  normalizedOptions.cwd = correctPaths(options.cwd);
1031
1033
  } else {
1032
- normalizedOptions.cwd = correctPaths(projectRoot);
1033
- const absoluteProjectRoot = joinPaths(
1034
- config.workspaceRoot,
1035
- projectRoot || "."
1034
+ const absoluteProjectRoot = correctPaths(
1035
+ joinPaths(config.workspaceRoot, projectRoot || ".")
1036
1036
  );
1037
+ normalizedOptions.cwd = absoluteProjectRoot;
1037
1038
  if (normalizedOptions.outputDir) {
1038
1039
  normalizedOptions.outputDir = relative(
1039
- absoluteProjectRoot,
1040
+ normalizedOptions.cwd,
1040
1041
  correctPaths(
1041
1042
  isAbsolute(normalizedOptions.outputDir) ? normalizedOptions.outputDir : joinPaths(config.workspaceRoot, normalizedOptions.outputDir)
1042
1043
  )
1043
1044
  );
1044
1045
  }
1045
1046
  if (normalizedOptions.packageJsonPath) {
1046
- normalizedOptions.packageJsonPath = correctPaths(
1047
- isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
1047
+ normalizedOptions.packageJsonPath = relative(
1048
+ normalizedOptions.cwd,
1049
+ correctPaths(
1050
+ isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
1051
+ )
1048
1052
  );
1049
1053
  }
1050
1054
  if (normalizedOptions.configPath) {
1051
1055
  normalizedOptions.configPath = relative(
1052
- absoluteProjectRoot,
1056
+ normalizedOptions.cwd,
1053
1057
  correctPaths(
1054
1058
  isAbsolute(normalizedOptions.configPath) ? normalizedOptions.configPath : joinPaths(config.workspaceRoot, normalizedOptions.configPath)
1055
1059
  )
@@ -1057,7 +1061,7 @@ async function napiExecutor(options, context, config) {
1057
1061
  }
1058
1062
  if (normalizedOptions.manifestPath) {
1059
1063
  normalizedOptions.manifestPath = relative(
1060
- absoluteProjectRoot,
1064
+ normalizedOptions.cwd,
1061
1065
  correctPaths(
1062
1066
  isAbsolute(normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : joinPaths(config.workspaceRoot, normalizedOptions.manifestPath)
1063
1067
  )
@@ -47,7 +47,9 @@ var buildCargoCommand = (baseCommand, options, context) => {
47
47
  args.push(`+${options.toolchain}`);
48
48
  }
49
49
  args.push(baseCommand);
50
- for (const [key, value] of Object.entries(options)) {
50
+ for (const [key, value] of Object.entries(options).filter(
51
+ ([key2]) => key2 && key2 !== "_"
52
+ )) {
51
53
  if (key === "toolchain" || key === "release" || INVALID_CARGO_ARGS.includes(key)) {
52
54
  continue;
53
55
  }
@@ -57,7 +59,7 @@ var buildCargoCommand = (baseCommand, options, context) => {
57
59
  }
58
60
  } else if (Array.isArray(value)) {
59
61
  for (const item of value) {
60
- args.push(`--${key}`, item);
62
+ args.push(`--${key}`, String(item));
61
63
  }
62
64
  } else {
63
65
  args.push(`--${key}`, String(value));
@@ -106,7 +108,7 @@ function cargoCommandSync(args = "", options) {
106
108
  };
107
109
  } catch (e) {
108
110
  return {
109
- output: e,
111
+ output: e.message,
110
112
  success: false
111
113
  };
112
114
  }
@@ -1012,7 +1014,7 @@ async function napiExecutor(options, context, config) {
1012
1014
  "The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
1013
1015
  );
1014
1016
  }
1015
- const projectRoot = _optionalChain([context, 'access', _61 => _61.projectGraph, 'optionalAccess', _62 => _62.nodes, 'access', _63 => _63[_nullishCoalesce(context.projectName, () => ( ""))], 'access', _64 => _64.data, 'access', _65 => _65.root]);
1017
+ const projectRoot = _optionalChain([context, 'access', _61 => _61.projectGraph, 'optionalAccess', _62 => _62.nodes, 'access', _63 => _63[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _64 => _64.data, 'access', _65 => _65.root]);
1016
1018
  const packageJson = _chunkSBCMWJ4Pjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
1017
1019
  if (!_fileutils.fileExists.call(void 0, packageJson)) {
1018
1020
  throw new Error(`Could not find package.json at ${packageJson}`);
@@ -1026,27 +1028,29 @@ async function napiExecutor(options, context, config) {
1026
1028
  if (options.cwd) {
1027
1029
  normalizedOptions.cwd = _chunkSBCMWJ4Pjs.correctPaths.call(void 0, options.cwd);
1028
1030
  } else {
1029
- normalizedOptions.cwd = _chunkSBCMWJ4Pjs.correctPaths.call(void 0, projectRoot);
1030
- const absoluteProjectRoot = _chunkSBCMWJ4Pjs.joinPaths.call(void 0,
1031
- config.workspaceRoot,
1032
- projectRoot || "."
1031
+ const absoluteProjectRoot = _chunkSBCMWJ4Pjs.correctPaths.call(void 0,
1032
+ _chunkSBCMWJ4Pjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
1033
1033
  );
1034
+ normalizedOptions.cwd = absoluteProjectRoot;
1034
1035
  if (normalizedOptions.outputDir) {
1035
1036
  normalizedOptions.outputDir = _chunkSBCMWJ4Pjs.relative.call(void 0,
1036
- absoluteProjectRoot,
1037
+ normalizedOptions.cwd,
1037
1038
  _chunkSBCMWJ4Pjs.correctPaths.call(void 0,
1038
1039
  _chunkSBCMWJ4Pjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkSBCMWJ4Pjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
1039
1040
  )
1040
1041
  );
1041
1042
  }
1042
1043
  if (normalizedOptions.packageJsonPath) {
1043
- normalizedOptions.packageJsonPath = _chunkSBCMWJ4Pjs.correctPaths.call(void 0,
1044
- _chunkSBCMWJ4Pjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkSBCMWJ4Pjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
1044
+ normalizedOptions.packageJsonPath = _chunkSBCMWJ4Pjs.relative.call(void 0,
1045
+ normalizedOptions.cwd,
1046
+ _chunkSBCMWJ4Pjs.correctPaths.call(void 0,
1047
+ _chunkSBCMWJ4Pjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkSBCMWJ4Pjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
1048
+ )
1045
1049
  );
1046
1050
  }
1047
1051
  if (normalizedOptions.configPath) {
1048
1052
  normalizedOptions.configPath = _chunkSBCMWJ4Pjs.relative.call(void 0,
1049
- absoluteProjectRoot,
1053
+ normalizedOptions.cwd,
1050
1054
  _chunkSBCMWJ4Pjs.correctPaths.call(void 0,
1051
1055
  _chunkSBCMWJ4Pjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkSBCMWJ4Pjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
1052
1056
  )
@@ -1054,7 +1058,7 @@ async function napiExecutor(options, context, config) {
1054
1058
  }
1055
1059
  if (normalizedOptions.manifestPath) {
1056
1060
  normalizedOptions.manifestPath = _chunkSBCMWJ4Pjs.relative.call(void 0,
1057
- absoluteProjectRoot,
1061
+ normalizedOptions.cwd,
1058
1062
  _chunkSBCMWJ4Pjs.correctPaths.call(void 0,
1059
1063
  _chunkSBCMWJ4Pjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkSBCMWJ4Pjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
1060
1064
  )
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunk4TLA2XSYjs = require('./chunk-4TLA2XSY.js');
4
+ var _chunkBKYUIHONjs = require('./chunk-BKYUIHON.js');
5
5
  require('./chunk-SBCMWJ4P.js');
6
6
 
7
7
 
8
- exports.initGenerator = _chunk4TLA2XSYjs.initGenerator;
8
+ exports.initGenerator = _chunkBKYUIHONjs.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGenerator
4
- } from "./chunk-UFMGSOSF.mjs";
4
+ } from "./chunk-2CWQGJXZ.mjs";
5
5
  import "./chunk-QPDLMLY6.mjs";
6
6
  import "./chunk-JHXCDHL3.mjs";
7
7
  export {
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ require('./chunk-RWVAHPJ6.js');
5
5
  require('./chunk-N2YKXZ5R.js');
6
6
 
7
7
 
8
- var _chunk4TLA2XSYjs = require('./chunk-4TLA2XSY.js');
8
+ var _chunkBKYUIHONjs = require('./chunk-BKYUIHON.js');
9
9
  require('./chunk-GUQOEBFW.js');
10
10
 
11
11
 
@@ -19,4 +19,4 @@ require('./chunk-SBCMWJ4P.js');
19
19
 
20
20
 
21
21
 
22
- exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunk4TLA2XSYjs.initGenerator; exports.withTerraformExecutor = _chunkOE4U353Ujs.withTerraformExecutor;
22
+ exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunkBKYUIHONjs.initGenerator; exports.withTerraformExecutor = _chunkOE4U353Ujs.withTerraformExecutor;
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import "./chunk-WEEL45GL.mjs";
5
5
  import "./chunk-23KFTIT2.mjs";
6
6
  import {
7
7
  initGenerator
8
- } from "./chunk-UFMGSOSF.mjs";
8
+ } from "./chunk-2CWQGJXZ.mjs";
9
9
  import "./chunk-CA7S5MOH.mjs";
10
10
  import {
11
11
  base_terraform_executor_untyped_default
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk4TLA2XSYjs = require('../../../chunk-4TLA2XSY.js');
4
+ var _chunkBKYUIHONjs = require('../../../chunk-BKYUIHON.js');
5
5
  require('../../../chunk-SBCMWJ4P.js');
6
6
 
7
7
 
8
8
 
9
- exports.default = _chunk4TLA2XSYjs.init_default; exports.initGenerator = _chunk4TLA2XSYjs.initGenerator;
9
+ exports.default = _chunkBKYUIHONjs.init_default; exports.initGenerator = _chunkBKYUIHONjs.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  initGenerator,
3
3
  init_default
4
- } from "../../../chunk-UFMGSOSF.mjs";
4
+ } from "../../../chunk-2CWQGJXZ.mjs";
5
5
  import "../../../chunk-QPDLMLY6.mjs";
6
6
  import "../../../chunk-JHXCDHL3.mjs";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/terraform-tools",
3
- "version": "0.66.168",
3
+ "version": "0.66.170",
4
4
  "description": "Tools for managing Terraform infrastructure within a Nx workspace.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -114,9 +114,9 @@
114
114
  ],
115
115
  "peerDependencies": {
116
116
  "@nx/devkit": "22.6.0",
117
- "@storm-software/config": "1.137.30",
118
- "@storm-software/config-tools": "1.189.76",
119
- "@storm-software/workspace-tools": "1.295.52",
117
+ "@storm-software/config": "1.137.31",
118
+ "@storm-software/config-tools": "1.189.77",
119
+ "@storm-software/workspace-tools": "1.295.54",
120
120
  "tsup": "8.4.0",
121
121
  "untyped": "1.5.2"
122
122
  },
@@ -135,5 +135,5 @@
135
135
  "publishConfig": { "access": "public" },
136
136
  "executors": "./executors.json",
137
137
  "generators": "./generators.json",
138
- "gitHead": "d25e09ad5d06260f5a506bf367b21d579fee1616"
138
+ "gitHead": "e41ccf3321407c1ccb6c1a16c4aff7f6172d8b0c"
139
139
  }