Skip to content

Commit

Permalink
Merge pull request #350 from juju/hmlanigan-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
hmlanigan authored Dec 1, 2023
2 parents 2897a7d + c95ac79 commit 00b3a80
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,24 @@ go mod tidy
```

Then commit the changes to `go.mod` and `go.sum`.

### Debugging

To debug, setup environment variables:

```shell
export TF_LOG_PROVIDER=TRACE ; export TF_LOG_PATH=./terraform.log
```

Run your terraform commands.

To find logs specific to the juju provider code:
```shell
grep "@module=juju.resource" ./terraform.log
grep "@module=juju.datasource" ./terraform.log
```

To find logs specific to the juju client talking to juju itself:
```shell
grep "@module=juju.client" ./terraform.log
```

0 comments on commit 00b3a80

Please sign in to comment.