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
Update organization security manager resource to use operations that are not deprecated (#2533)
* Change how the organization security manager resource uses the GitHub client to use non-deprecated operations
* Add example for creating an organization security manager team
* Update contributing documentation to correct build command
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ Setting a `processId` of 0 allows a dropdown to select the process of the provid
81
81
82
82
0. Add a sleep call (e.g. `time.Sleep(10 * time.Second)`) in the [`func providerConfigure(p *schema.Provider) schema.ConfigureFunc`](https://github.com/integrations/terraform-provider-github/blob/cec7e175c50bb091feecdc96ba117067c35ee351/github/provider.go#L274C1-L274C64) before the immediate `return` call. This will allow time to connect the debugger while the provider is initializing, before any critical logic happens.
83
83
84
-
0. Build the terraform provider with debug flags enabled and copy it to the appropriate bin folder with a command like `go build -gcflags="all=-N -l" -o ~/go/bin`.
84
+
0. Build the terraform provider with debug flags enabled and copy it to the appropriate bin folder with a command like `go build -gcflags="all=-N -l" -o ~/go/bin/`.
85
85
86
86
0. Create or edit a `dev.tfrc` that points toward the newly-built binary, and export the `TF_CLI_CONFIG_FILE` variable to point to it. Further instructions on this process may be found in the [Building the provider](#using-a-local-version-of-the-provider) section.
87
87
@@ -99,7 +99,7 @@ Manual testing should be performed on each PR opened in order to validate the pr
99
99
Build the provider and specify the output directory:
100
100
101
101
```sh
102
-
$ go build -gcflags="all=-N -l" -o ~/go/bin
102
+
$ go build -gcflags="all=-N -l" -o ~/go/bin/
103
103
```
104
104
105
105
This enables verifying your locally built provider using examples available in the `examples/` directory.
0 commit comments