Skip to content

Commit 0fdc4c2

Browse files
committed
Add Local Testing section
1 parent 446caea commit 0fdc4c2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,24 @@ In order to run the full suite of Acceptance tests, run `make testacc`.
118118
make testacc
119119
```
120120

121+
## Local Testing
122+
123+
Add a path to the **folder** with the binary to the `dev.tfrc`:
124+
```hocon
125+
provider_installation {
126+
dev_overrides {
127+
"iRevive/gdashboard" = "../terraform-provider-gdashboard"
128+
}
129+
direct {}
130+
}
131+
```
132+
133+
Configure terraform cli:
134+
```shell
135+
$ export TF_CLI_CONFIG_FILE=./dev.tfrc
136+
```
137+
138+
Run changes:
139+
```shell
140+
$ terraform plan
141+
```

0 commit comments

Comments
 (0)