File tree 1 file changed +14
-8
lines changed 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ to be broadly compatible with modules written for many different versions of
7
7
Terraform.
8
8
9
9
```
10
- $ go get github.com/hashicorp/terraform-config-inspect
10
+ $ go install github.com/hashicorp/terraform-config-inspect@latest
11
11
```
12
12
13
13
``` go
@@ -39,28 +39,34 @@ information in either a Markdown-like format or in JSON format.
39
39
``` sh
40
40
$ terraform-config-inspect path/to/module
41
41
```
42
+
42
43
``` markdown
43
44
# Module `path/to/module`
44
45
45
46
Provider Requirements:
46
- * **null:** (any version)
47
+
48
+ - **null:** (any version)
47
49
48
50
## Input Variables
49
- * `a` (default `"a default"`)
50
- * `b` (required): The b variable
51
+
52
+ - `a` (default `"a default"`)
53
+ - `b` (required): The b variable
51
54
52
55
## Output Values
53
- * `a`
54
- * `b`: I am B
56
+
57
+ - `a`
58
+ - `b`: I am B
55
59
56
60
## Managed Resources
57
- * `null_resource.a` from `null`
58
- * `null_resource.b` from `null`
61
+
62
+ - `null_resource.a` from `null`
63
+ - `null_resource.b` from `null`
59
64
```
60
65
61
66
``` sh
62
67
$ terraform-config-inspect --json path/to/module
63
68
```
69
+
64
70
``` json
65
71
{
66
72
"path" : " path/to/module" ,
You can’t perform that action at this time.
0 commit comments