You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,13 @@ to setup your local Terraform to use your local version rather than the registry
49
49
2. Run `terraform init` and observe a warning like `Warning: Provider development overrides are in effect`
50
50
4. Run `make build` to build the provider binary, which Terraform will try locate and execute
51
51
5. All local Terraform runs will now use your local provider!
52
-
6._**NOTE**: we vendor in this provider into `github.com/coder/coder`, so if you're testing with a local clone then you should also run `go mod edit -replace github.com/coder/terraform-provider-coder=/path/to/terraform-provider-coder` in your clone._
52
+
6.**NOTE**: We vendor this provider into `github.com/coder/coder`, so if you're testing with a local clone, make sure to run the following in your local clone of `coder`:
53
+
```console
54
+
go mod edit -replace github.com/coder/terraform-provider-coder/v2=/path/to/terraform-provider-coder
55
+
go mod tidy
56
+
```
57
+
⚠️ Be sure to include `/v2` in the module path as it needs to match the version declared in the provider’s `go.mod`.
0 commit comments