@intentius/terragucci 0.4.38 → 0.4.39

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.
@@ -0,0 +1,64 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://intentius.io/terragucci/schemas/versions/v1/versions.schema.json",
4
+ "title": "terragucci.versions/v1",
5
+ "description": "versions.json in a project's directory of a reports prefix: the binary, provider and module versions each root runs, as its newest applied tf-apply wave left them. Within v1 fields are only added, and an existing field never changes meaning.",
6
+ "type": "object",
7
+ "required": ["schema", "roots"],
8
+ "properties": {
9
+ "schema": { "const": "terragucci.versions/v1" },
10
+ "roots": {
11
+ "type": "array",
12
+ "description": "By root path.",
13
+ "items": {
14
+ "type": "object",
15
+ "required": ["root", "commit", "finished", "path", "providers", "modules"],
16
+ "properties": {
17
+ "root": { "type": "string" },
18
+ "commit": { "type": "string", "description": "The applied commit the versions were read at." },
19
+ "finished": { "type": "string", "description": "When the wave that recorded them finished." },
20
+ "wave": { "type": "integer" },
21
+ "path": { "type": "string", "description": "The wave's run directory, relative to the project's index.json." },
22
+ "environment": { "type": "string", "description": "The environment of environments: in terragucci.yml the root was in when the wave applied. Absent when it was in none." },
23
+ "binary": {
24
+ "type": "object",
25
+ "description": "The binary the root ran, as the report's roots[].binary names it: its name, its version, and where the root pinned it.",
26
+ "required": ["name"],
27
+ "properties": {
28
+ "name": { "type": "string" },
29
+ "version": { "type": "string" },
30
+ "pin": { "type": "string" },
31
+ "terragrunt": {
32
+ "type": "object",
33
+ "required": ["version"],
34
+ "properties": { "version": { "type": "string" }, "pin": { "type": "string" } }
35
+ }
36
+ }
37
+ },
38
+ "providers": {
39
+ "type": "array",
40
+ "description": "Each provider the root's .terraform.lock.hcl locks, by its full address.",
41
+ "items": {
42
+ "type": "object",
43
+ "required": ["provider", "version"],
44
+ "properties": { "provider": { "type": "string" }, "version": { "type": "string" } }
45
+ }
46
+ },
47
+ "modules": {
48
+ "type": "array",
49
+ "description": "Each remote module call init recorded in .terraform/modules/modules.json, nested calls included. Local calls are left out.",
50
+ "items": {
51
+ "type": "object",
52
+ "required": ["call", "source"],
53
+ "properties": {
54
+ "call": { "type": "string", "description": "The call's address: module.vpc, or module.vpc.module.nat for a nested call." },
55
+ "source": { "type": "string", "description": "The source modules.json records, without its ? query." },
56
+ "version": { "type": "string", "description": "The registry version init resolved, else the ref, tag or version the source's query names. Absent when the source names none." }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/terragucci",
3
- "version": "0.4.38",
3
+ "version": "0.4.39",
4
4
  "description": "The whole Terraform lifecycle, handled: one config file, generated pipelines for GitHub, GitLab and Forgejo.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",