@storm-software/terraform-tools 0.54.62 → 0.54.63
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 +7 -0
- package/README.md +1 -1
- package/dist/{chunk-PYPQY2AE.mjs → chunk-3OHP5XR7.mjs} +1 -1
- package/dist/{chunk-2RL7NUCA.mjs → chunk-5L6S5MSQ.mjs} +2 -1
- package/dist/{chunk-UF2LVXX3.mjs → chunk-6DHDE4R5.mjs} +2 -2
- package/dist/{chunk-A4M4Q7TM.mjs → chunk-AMI6SOPS.mjs} +2 -2
- package/dist/{chunk-U5I2Y23H.mjs → chunk-ASFTANKT.mjs} +1 -1
- package/dist/{chunk-TOLJAFRB.js → chunk-DHBOQ6QN.js} +2 -2
- package/dist/{chunk-7KJYA3C3.js → chunk-DLJYMU67.js} +1 -0
- package/dist/{chunk-SC7WG7PG.js → chunk-EVACDYVV.js} +2 -2
- package/dist/{chunk-7TS7RAV3.mjs → chunk-IQBE77EA.mjs} +1 -1
- package/dist/{chunk-GZYCK7ZJ.js → chunk-JJLWDVUK.js} +2 -2
- package/dist/{chunk-UMMSLZTK.js → chunk-JYWO443U.js} +3 -3
- package/dist/{chunk-TIP5HMJK.mjs → chunk-MVJYL7QB.mjs} +1 -1
- package/dist/{chunk-MOC2J7HF.js → chunk-OYRE6CEZ.js} +131 -131
- package/dist/{chunk-Y4D6KHJP.mjs → chunk-VGSUCQ2S.mjs} +1 -1
- package/dist/{chunk-AL4R2SSW.js → chunk-YRJ6SG2R.js} +2 -2
- package/dist/executors.js +6 -6
- package/dist/executors.mjs +7 -7
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +3 -3
- package/dist/index.js +8 -8
- package/dist/index.mjs +8 -8
- package/dist/src/base/base-terraform-executor.untyped.mjs +1 -1
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +3 -3
- package/dist/src/base/terraform-executor.js +3 -3
- package/dist/src/base/terraform-executor.mjs +3 -3
- package/dist/src/executors/apply/executor.js +4 -4
- package/dist/src/executors/apply/executor.mjs +4 -4
- package/dist/src/executors/destroy/executor.js +4 -4
- package/dist/src/executors/destroy/executor.mjs +4 -4
- package/dist/src/executors/output/executor.js +4 -4
- package/dist/src/executors/output/executor.mjs +4 -4
- package/dist/src/executors/plan/executor.js +4 -4
- package/dist/src/executors/plan/executor.mjs +4 -4
- package/dist/src/generators/init/init.js +3 -3
- package/dist/src/generators/init/init.mjs +3 -3
- package/dist/tsup.config.mjs +1 -1
- package/package.json +32 -12
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Terraform Tools
|
|
4
4
|
|
|
5
|
+
## [0.54.63](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.63) (2025-04-25)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([9ab7e03d9](https://github.com/storm-software/storm-ops/commit/9ab7e03d9))
|
|
11
|
+
|
|
5
12
|
## [0.54.61](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.61) (2025-04-16)
|
|
6
13
|
|
|
7
14
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__name
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VGSUCQ2S.mjs";
|
|
4
4
|
|
|
5
5
|
// ../config-tools/src/utilities/run.ts
|
|
6
6
|
import { exec, execSync } from "node:child_process";
|
|
@@ -1464,6 +1464,7 @@ ${formatLogMessage(tokenized)}
|
|
|
1464
1464
|
if (_isFunction2(ret?.next)) {
|
|
1465
1465
|
const asyncGen = ret;
|
|
1466
1466
|
for await (const iter of asyncGen) {
|
|
1467
|
+
void iter;
|
|
1467
1468
|
}
|
|
1468
1469
|
}
|
|
1469
1470
|
const result = await Promise.resolve(ret);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run,
|
|
3
3
|
withRunExecutor
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5L6S5MSQ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__name
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VGSUCQ2S.mjs";
|
|
8
8
|
|
|
9
9
|
// src/base/terraform-executor.ts
|
|
10
10
|
import { which } from "shelljs";
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
writeSuccess,
|
|
19
19
|
writeTrace,
|
|
20
20
|
writeWarning
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5L6S5MSQ.mjs";
|
|
22
22
|
import {
|
|
23
23
|
__dirname,
|
|
24
24
|
__name,
|
|
25
25
|
__require
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VGSUCQ2S.mjs";
|
|
27
27
|
|
|
28
28
|
// src/generators/init/init.ts
|
|
29
29
|
import { formatFiles as formatFiles9 } from "@nx/devkit";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJYWO443Ujs = require('./chunk-JYWO443U.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/apply/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkJYWO443Ujs.withTerraformExecutor.call(void 0, "apply");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1464,6 +1464,7 @@ ${formatLogMessage(tokenized)}
|
|
|
1464
1464
|
if (_isFunction2(_optionalChain([ret, 'optionalAccess', _65 => _65.next]))) {
|
|
1465
1465
|
const asyncGen = ret;
|
|
1466
1466
|
for await (const iter of asyncGen) {
|
|
1467
|
+
void iter;
|
|
1467
1468
|
}
|
|
1468
1469
|
}
|
|
1469
1470
|
const result = await Promise.resolve(ret);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJYWO443Ujs = require('./chunk-JYWO443U.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/plan/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkJYWO443Ujs.withTerraformExecutor.call(void 0, "plan");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJYWO443Ujs = require('./chunk-JYWO443U.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/destroy/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkJYWO443Ujs.withTerraformExecutor.call(void 0, "destroy");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkDLJYMU67js = require('./chunk-DLJYMU67.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -9,7 +9,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
9
9
|
// src/base/terraform-executor.ts
|
|
10
10
|
var _shelljs = require('shelljs');
|
|
11
11
|
var withTerraformExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (command, executorOptions = {}) => async (_options, context) => {
|
|
12
|
-
return
|
|
12
|
+
return _chunkDLJYMU67js.withRunExecutor.call(void 0, `Terraform \`${command}\` Command Executor`, async (options, context2, config) => {
|
|
13
13
|
if (!_shelljs.which.call(void 0, "tofu") || !_shelljs.which.call(void 0, "terraform")) {
|
|
14
14
|
throw new Error("Both OpenTofu and Terraform are not installed. Please install one of the two before running this executor.");
|
|
15
15
|
}
|
|
@@ -21,7 +21,7 @@ var withTerraformExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
|
|
|
21
21
|
if (typeof jsonBackendConfig === "string") {
|
|
22
22
|
jsonBackendConfig = JSON.parse(jsonBackendConfig);
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
_chunkDLJYMU67js.run.call(void 0, config, [
|
|
25
25
|
"terragrunt",
|
|
26
26
|
command,
|
|
27
27
|
...jsonBackendConfig.map((config2) => `-backend-config="${config2.key}=${config2.name}"`),
|