Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c7fd6a

Browse files
authored
docs: update README note for local provider testing with correct module path (#403)
* docs: update README note for local provider testing with correct module path* docs: improve sentence structure* docs: remove extra backtick
1 parenta4f4065 commit0c7fd6a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@ to setup your local Terraform to use your local version rather than the registry
4949
2. Run`terraform init` and observe a warning like`Warning: Provider development overrides are in effect`
5050
4. Run`make build` to build the provider binary, which Terraform will try locate and execute
5151
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`.
58+
5359

5460
####Terraform Acceptance Tests
5561

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp