@storm-software/terraform-tools 0.54.21 → 0.54.22
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 +6 -0
- package/README.md +1 -1
- package/dist/{chunk-VWRPSPA5.mjs → chunk-27DFCNUK.mjs} +1 -1
- package/dist/{chunk-OJ33RFH7.js → chunk-2S2BZ4SL.js} +2 -2
- package/dist/{chunk-2ZZJNUXX.mjs → chunk-44XDCGNI.mjs} +1 -1
- package/dist/{chunk-AP4J2N34.js → chunk-4JVG3DKD.js} +2 -2
- package/dist/{chunk-GCCFZEDU.js → chunk-5FZ373QY.js} +1 -3
- package/dist/{chunk-ZYPB3WAC.js → chunk-ASWJWLEF.js} +3 -3
- package/dist/{chunk-25PTDMW6.js → chunk-DCUC5ZNL.js} +151 -151
- package/dist/{chunk-KWXOSOKO.mjs → chunk-FBRVKP6Q.mjs} +1 -3
- package/dist/{chunk-GDIPTQU2.mjs → chunk-FGCP3AJB.mjs} +1 -1
- package/dist/{chunk-UQJF73ZV.mjs → chunk-G7OAD3TI.mjs} +1 -1
- package/dist/{chunk-2LUGBITC.js → chunk-HVZXSW7V.js} +2 -2
- package/dist/{chunk-BYGHUFW4.mjs → chunk-OWMRUUD2.mjs} +1 -1
- package/dist/{chunk-MMBQ5BEW.js → chunk-RLQ4X2GF.js} +2 -2
- package/dist/{chunk-MBXPILHI.mjs → chunk-YISQJN4D.mjs} +1 -1
- package/dist/executors.js +6 -6
- package/dist/executors.mjs +6 -6
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +2 -2
- package/dist/src/base/terraform-executor.js +3 -3
- package/dist/src/base/terraform-executor.mjs +2 -2
- package/dist/src/executors/apply/executor.js +4 -4
- package/dist/src/executors/apply/executor.mjs +3 -3
- package/dist/src/executors/destroy/executor.js +4 -4
- package/dist/src/executors/destroy/executor.mjs +3 -3
- package/dist/src/executors/output/executor.js +4 -4
- package/dist/src/executors/output/executor.mjs +3 -3
- package/dist/src/executors/plan/executor.js +4 -4
- package/dist/src/executors/plan/executor.mjs +3 -3
- package/dist/src/generators/init/init.js +3 -3
- package/dist/src/generators/init/init.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkASWJWLEFjs = require('./chunk-ASWJWLEF.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/output/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkASWJWLEFjs.withTerraformExecutor.call(void 0, "output");
|
|
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 _chunkASWJWLEFjs = require('./chunk-ASWJWLEF.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/plan/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkASWJWLEFjs.withTerraformExecutor.call(void 0, "plan");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1328,9 +1328,7 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
|
|
|
1328
1328
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
1329
1329
|
const projectName = context.projectName;
|
|
1330
1330
|
config.workspaceRoot = workspaceRoot;
|
|
1331
|
-
writeInfo(
|
|
1332
|
-
\u26A1 Running the ${name} executor for ${projectName}
|
|
1333
|
-
`, config);
|
|
1331
|
+
writeInfo(`\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
1334
1332
|
if (!executorOptions.skipReadingConfig) {
|
|
1335
1333
|
writeTrace(`Loading the Storm Config from environment variables and storm.config.js file...
|
|
1336
1334
|
- workspaceRoot: ${workspaceRoot}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk5FZ373QYjs = require('./chunk-5FZ373QY.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 _chunk5FZ373QYjs.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
|
+
_chunk5FZ373QYjs.run.call(void 0, config, [
|
|
25
25
|
"terragrunt",
|
|
26
26
|
command,
|
|
27
27
|
...jsonBackendConfig.map((config2) => `-backend-config="${config2.key}=${config2.name}"`),
|