-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update contributor docs to recommend dev overrides #7130
Update contributor docs to recommend dev overrides #7130
Conversation
Commit c61af27 changes the updates to use-built-provider.md because it looks like the Makefile in the downstreams still has |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few questions & change requests below.
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
…g using TF_LOG env
Co-authored-by: Riley Karson <rileykarson@google.com>
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see discussion above - you were correct to change the commands run inside the provider repos to make build
- I saw the change and assumed incorrectly that the previous way was right.
…rm#7130) * Update contributor docs to recommend dev overrides * Revert `make provider` to `make build` in docs about building binaries * Update docs/content/docs/getting-started/use-built-provider.md Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com> * Update docs/content/docs/getting-started/use-built-provider.md Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com> * Replace example username with gender neutral example * Remove unneeded section, update opening paragraph(s) with URL from unneeded section * Add warning about developer overrides needing v0.14+ * Return section advising how to clean up a filesystem mirror, and debug using TF_LOG env * Update docs/content/docs/getting-started/use-built-provider.md Co-authored-by: Riley Karson <rileykarson@google.com> * Apply suggestions from code review - `make provider` Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com> * Revert `make provider` to `make build` in docs about building binaries Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com> Co-authored-by: Riley Karson <rileykarson@google.com>
Description
Closes hashicorp/terraform-provider-google#13404
This PR updates the 'Use built provider locally' page of the contributor docs to recommend developer overrides for use during development.
I've decided to remove the old guidance about file system mirrors and put a smaller version of that guidance in the 'More information' section at the bottom. Mainly this is because using developer overrides is the approach recommended by HashiCorp and has advantages like being more explicit and not requiring users to create a fake version number for their local version of the provider.
Screenshots
Note: became outdated after responding to review
If this PR is for Terraform, I acknowledge that I have:
Searched through the issue tracker for an open issue that this either resolves or contributes to, commented on it to claim it, and written "fixes {url}" or "part of {url}" in this PR description. If there were no relevant open issues, I opened one and commented that I would like to work on it (not necessary for very small changes).Generated Terraform, and ranmake test
andmake lint
to ensure it passes unit and linter tests.Ensured that all new fields I added that can be set by a user appear in at least one example (for generated resources) or third_party test (for handwritten resources or update tests).Ran relevant acceptance tests (If the acceptance tests do not yet pass or you are unable to run them, please let your reviewer know).Read the Release Notes Guide before writing my release note below.Release Note Template for Downstream PRs (will be copied)