* Update URLs from www.terraform.io to developer.hashicorp.com
* More updates to URLs linking to documentation in documentation and user-facing warnings/errors
* More updates to URLs linking to documentation, in docs, code, test fixtures
* Replace www.terraform.io/community with link to Community Forum
* Apply suggestions from code review
Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
---------
Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
* Add details about how users should make change files and/or label their PRs to affect changelog automation
* Add details about backporting PRs
* Add guidance about different kinds of changelog entry
* Fix typos
* Update .github/CONTRIBUTING.md
* Build with Go 1.21.0
* tests: update tls error message string
Go 1.21 introduced more detailed error conditions for mTLS connections.
As of Go 1.21, if the server is configured to require client auth, but no client cert is provided, the alert is now "certificate required", rather than "bad certificate". See 62a994837a.
* declare go 1.21.0
As of Go 1.21.0, the go directive in go.mod declares a strict minimum
version of Go necessary to use a module. The go command will download a
copy of the newer toolchain if necessary.
* changelog: Go 1.21 supported OS versions
* scripts: pin staticcheck package
The last released version of staticcheck does not yet support Go
1.21.0, so pin to the latest commit.
When a version is released that supports Go 1.21.0, we should pin to
that instead.
* Go 1.21 contrib updates
* bump versions of hcl/v2 and go-cty
This update means that HCL, cty, and Terraform all use Unicode 15.
---------
Co-authored-by: Katy Moe <katy@katy.moe>
Co-authored-by: kmoe <5575356+kmoe@users.noreply.github.com>
Our documentation for how to contribute was in quite a state of disrepair,
with some documents still describing things as they were before moving
providers into separate repositories, others making assumptions about
Go development that are no longer true in modules mode, and so forth.
This is an attempt at a reset to a good state that should work with the
codebase as it currently stands, and should hopefully serve as a basis
for iterative improvement from here.
These new instructions lean primarily on standard Go toolchain usage and
instruct using the Makefile only for some Terraform-specific situations
that the Go toolchain does not automatically handle. The idea here is that
this direct usage of primary commands in the Go toolchain is less likely
to be broken by changes in future Go releases, and should be immediately
familiar to anyone who has experience with Go development.
* website/contributing: update contribution documentation
This PR seeks to remove outdated and incorrect information. There is
still work to be done updating the information that's left; this is
merely the first step.