With Go version < 1.20, Go is using the internal Go DNS resolver by default
which only considers the file /etc/resolv.conf similar to glibc's behaviour.
But macOS also supports additional configurations under /etc/resolver which
is often used for local development to use proper name resolution.
The behaviour has been changed beginning with Go version 1.20
(see also https://go-review.googlesource.com/c/go/+/446178)
Fixes#1940
We make the following updates:
- include a debug make target that will compile the TFVP with
optimizations disabled to enable debugging
- include a debug flag for the terraform-plugin-sdk
[ServeOpts](https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/v2/plugin#ServeOpts)
field in the provider's main.go file to start a debug server and
control it's lifecycle
- add a how-to section on debugging in the README
Work around the removal of the `use_microsoft_graph_api` field within the tests.
Drop CheckTestVaultVersion() in favor of using doing version comparison with the
discovered Vault server version.
* Add support for Vault 1.11 Consul secrets engine's new features
* Update test coverage for vault 1.10 and vault 1.11
* Update docs to reflect new parameters
* Add TF_VAULT_VERSION to the README and GHA workflow
Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>
This change does the following:
- makes vault attribute to state validation checks more reliable by
relying on shared test helper code
- greatly reduces the amount of copy paste test code that was littered
throughout, and in multiple derivative forms
- supports ProviderMeta namespace functionality
- fix: numerous pre-existing test issues
- fix: mismatches between some vault and provider fields
- fix: provider.GetClient()'s error handling
- fix: make GetTestGCPCreds() more predictable
This change adds support for configuring namespaces at the resource or data source level.
All namespace directives are applied relative to the provider's configured namespace. This new approach allows for namespace'd resources to be created without having to pass a namespace specific provider, although that method is still fully supported.
* Add ability to select single role_arn
When multiple role_arns are specified on a role, this will allow a
single role_arn to be selected.
* Improve acceptance test instructions
* Add acceptance test cost note back
* Update docs to include new field