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: CONTRIBUTING.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,35 @@ You'll first need [Go](http://www.golang.org) installed on your machine (version
78
78
```
79
79
80
80
81
+
You can also install the provider locally so that you can use it with Terraform experimentally.
82
+
Run one of the following `make` commands depending on what is correct for your platform:
83
+
84
+
```sh
85
+
# Default: suitable for macOS
86
+
make local
87
+
88
+
# Set the terraform platform directory
89
+
# e.g. for linux amd64:
90
+
make local TERRAFORM_PLATFORM_DIR=linux_amd64
91
+
92
+
# Set the terraform plugin dir, see https://www.terraform.io/cli/config/config-file#implied-local-mirror-directories
93
+
# e.g. for Windows
94
+
make local TERRAFORM_PLUGIN_DIR=%APPDATA%/terraform.d/plugins
95
+
```
96
+
97
+
The you can use it in your provider config like this:
98
+
99
+
```hcl
100
+
terraform {
101
+
required_providers {
102
+
gitlab = {
103
+
version = "99.99.99"
104
+
source = "gitlab.local/x/gitlab"
105
+
}
106
+
}
107
+
}
108
+
```
109
+
81
110
### Use a Remote Environment via GitPod
82
111
83
112
You can choose to use your own development environment if desired, however a `.gitpod.yml` file is included within the repository to allow the use of [GitPod](https://gitpod.io/) easily.
generate: tool-tfplugindocs ## Generate files to be checked in.
13
19
@# Setting empty environment variables to work around issue: https://github.com/hashicorp/terraform-plugin-docs/issues/12
14
20
@# Setting the PATH so that tfplugindocs uses the same terraform binary as other targets here, and to resolve a "Error: Incompatible provider version" error on M1 macs.
0 commit comments