@storm-software/terraform-tools 0.45.2 → 0.45.4
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 +18 -0
- package/README.md +12 -54
- package/dist/src/base/base-terraform-executor.d.ts +98 -0
- package/dist/src/base/base-terraform-executor.schema.json +93 -0
- package/docs/api/base/base-terraform-executor.md +105 -0
- package/executors.json +16 -16
- package/generators.json +2 -2
- package/package.json +1 -1
- package/index.d.ts +0 -1
- package/index.js +0 -4911
- package/meta.json +0 -3395
- package/src/base/base-executor.d.ts +0 -24
- package/src/base/index.d.ts +0 -1
- package/src/executors/apply/executor.d.ts +0 -4
- package/src/executors/apply/executor.js +0 -4885
- package/src/executors/apply/schema.d.ts +0 -5
- package/src/executors/apply/schema.json +0 -21
- package/src/executors/destroy/executor.d.ts +0 -4
- package/src/executors/destroy/executor.js +0 -4885
- package/src/executors/destroy/schema.d.ts +0 -5
- package/src/executors/destroy/schema.json +0 -16
- package/src/executors/index.d.ts +0 -4
- package/src/executors/output/executor.d.ts +0 -5
- package/src/executors/output/executor.js +0 -4885
- package/src/executors/output/schema.d.ts +0 -1
- package/src/executors/output/schema.json +0 -10
- package/src/executors/plan/executor.d.ts +0 -4
- package/src/executors/plan/executor.js +0 -4885
- package/src/executors/plan/schema.d.ts +0 -5
- package/src/executors/plan/schema.json +0 -16
- package/src/generators/index.d.ts +0 -1
- package/src/generators/init/init.d.ts +0 -4
- package/src/generators/init/init.js +0 -39
- package/src/generators/init/schema.d.ts +0 -3
- package/src/generators/init/schema.json +0 -16
- package/src/index.d.ts +0 -3
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/schema",
|
|
3
|
-
"version": 2,
|
|
4
|
-
"outputCapture": "direct-nodejs",
|
|
5
|
-
"title": "Terraform `plan` Command Executor",
|
|
6
|
-
"description": "Run the `plan` command using the workspaces Terraform IoC configuration files",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"properties": {
|
|
9
|
-
"planFile": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "The path to the plan file to create",
|
|
12
|
-
"default": "defaultplan"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"required": []
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./init/init";
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// packages/terraform-tools/src/generators/init/init.ts
|
|
20
|
-
var init_exports = {};
|
|
21
|
-
__export(init_exports, {
|
|
22
|
-
default: () => init_default,
|
|
23
|
-
initGenerator: () => initGenerator
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(init_exports);
|
|
26
|
-
var import_devkit = require("@nx/devkit");
|
|
27
|
-
var import_workspace_tools = require("@storm-software/workspace-tools");
|
|
28
|
-
async function initGenerator(tree, schema) {
|
|
29
|
-
const task = (0, import_workspace_tools.initGenerator)(tree, schema);
|
|
30
|
-
if (!schema.skipFormat) {
|
|
31
|
-
await (0, import_devkit.formatFiles)(tree);
|
|
32
|
-
}
|
|
33
|
-
return task;
|
|
34
|
-
}
|
|
35
|
-
var init_default = initGenerator;
|
|
36
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
-
0 && (module.exports = {
|
|
38
|
-
initGenerator
|
|
39
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "StormTerraformInit",
|
|
4
|
-
"cli": "nx",
|
|
5
|
-
"title": "Init Storm Terraform Tools Plugin",
|
|
6
|
-
"description": "Init Storm Terraform Tools Plugin.",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"properties": {
|
|
9
|
-
"skipFormat": {
|
|
10
|
-
"description": "Skip formatting files.",
|
|
11
|
-
"type": "boolean",
|
|
12
|
-
"default": false
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"required": []
|
|
16
|
-
}
|
package/src/index.d.ts
DELETED