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: docs/guides/howto-uselocalprovider.md
+11-14
Original file line number
Diff line number
Diff line change
@@ -8,21 +8,18 @@ page_title: "Use local provider in terraform root moduls"
8
8
9
9
Use the local version of the terraform provider plugin to test the changes in an real life terraform root module using this provider.
10
10
11
-
## Step-By-Step
11
+
1. Navigate to the root directory of the terraform provider and build the provider using the command `go build`. Make sure to run this command after every update to the provider.
12
12
13
-
1. Depending on the OS create the following file (see [CLI Configuration](https://developer.hashicorp.com/terraform/cli/config/config-file#locations))
13
+
2. Depending on your operating system, create the appropriate configuration file for the CLI. On Linux/Apple, create `~/.terraformrc`. On Windows, create `%APPDATA\terraform.rc`. Inside the configuration file, add the following code:
3. Navigate to the root directory of the desired root module and run `terraform init -reconfigure`. You should see a warning message in the output indicating that the provider has been overwritten.
25
24
26
-
2. Go the root directory of the root module you want to deploy and run `terraform init -reconfigure`. Your should see the follwing message in the output:
0 commit comments