Skip to content

Commit aaa8663

Browse files
committed
Review feedback2
1 parent 2e25dec commit aaa8663

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,20 @@ When creating new resources:
3737
* `make lint`: Lints and formats the code.
3838
* `make test`: Run unit tests.
3939
* `make docs-generate`: Generate documentation.
40+
* [Running & Debugging the Provider](#running--debugging-the-provider)
41+
* [Running Acceptance Tests](#running-acceptance-tests)
4042

4143
### Running & Debugging the Provider
4244

45+
Also see [Terraform docs on debugging](https://developer.hashicorp.com/terraform/plugin/debugging#starting-a-provider-in-debug-mode).
46+
4347
Run the provider in debug mode and reattach the provider in Terraform:
4448
* Launch `main.go` with the `-debug` flag from your IDE.
4549
* After launching, the provider will print an env var. Copy the printed `TF_REATTACH_PROVIDERS='{…}'` value.
4650
* Export it in your shell where you run Terraform: `export TF_REATTACH_PROVIDERS='{…}'`.
4751
* Terraform will now talk to your debug instance, and you can set breakpoints.
4852

49-
#### Running Acceptance Tests
53+
### Running Acceptance Tests
5054

5155
Acceptance tests spin up Elasticsearch, Kibana, and Fleet with Docker and run tests in a Go container.
5256

0 commit comments

Comments
 (0)