There was an error while loading. Please reload this page.
1 parent 41b696f commit 85759ffCopy full SHA for 85759ff
Section 2 - Read, Generate, Modify Congiruations/debugging.md
@@ -4,3 +4,29 @@
4
export TF_LOG_PATH=/tmp/crash.log
5
export TF_LOG=TRACE
6
```
7
+
8
+### Base Code Used (tf-logs.tf)
9
10
+```sh
11
+resource "local_file" "foo" {
12
+ content = "foo!"
13
+ filename = "${path.module}/foo.txt"
14
+}
15
+```
16
17
+### Set ENV Variable in Windows
18
19
+set TF_LOG=INFO
20
+set TF_LOG=TRACE
21
22
+set TF_LOG_PATH=terraform.txt
23
24
25
+### Set ENV Variable in Linux / macOS
26
27
28
+export TF_LOG=INFO
29
+export TF_LOG=TRACE
30
31
+export TF_LOG_PATH=terraform.txt
32
0 commit comments