Commit graph

24 commits

Author SHA1 Message Date
Patrick Ziegler
79c81c9ff5
Bump Go version to fix macOS resolver issue (#1941)
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
2023-07-14 14:39:26 -05:00
John-Michael Faircloth
0976edc6cf
add debug setup (#1738)
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
2023-01-30 12:10:13 -06:00
Ben Ash
0766787ba3
Add support for importing the PKI CRL config (#1710)
- Adapt tests to support older vault versions
- Make some API data and schema set operations simpler
- Fix broken build
2023-01-03 17:50:23 -05:00
Ben Ash
527d3ccd39
Temporarily skip azure secrets tests on vault-1.12 (#1653)
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.
2022-11-02 10:11:59 -04:00
Robert
fd31b6a3c6
Add support for Vault 1.11 Consul secrets engine enhancements (#1518)
* 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>
2022-07-19 15:30:16 -05:00
Ben Ash
187d3e40b8
Update all tests to use testutil.AssertVaultState (#1488)
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
2022-06-09 12:36:40 -04:00
Ben Ash
24044c48b6
Support setting namespace per resource (#1305) (#1479)
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.
2022-06-02 13:42:40 -04:00
Ben Ash
2a5ea55292
Add upgrade guide for v3.0.0 (#1201)
- document all removed deprecated fields and their corresponding
  resources.
- fix broken anchor links in v2.0.0 upgrade guide
- remove encrypted_token refs for vault_token
- document `2.x` maintenance policy

Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
2021-10-25 14:29:19 -04:00
Jim Kalafut
340f001464
Remove broken link 2021-10-12 16:39:23 -07:00
Brian Flad
6f916b83ca
provider: Bump minimum Go version to 1.16 (#1039)
Reference: https://github.com/hashicorp/terraform-provider-vault/issues/1038

Enables `darwin/arm64` support, once a release is made.
2021-05-27 15:32:50 -04:00
Matt Greenfield
47a19d6be5
Add vault_azure_secret_backend_role support for azure_groups (#891)
* Add vault_azure_secret_backend_role support for azure_groups

Fixes #712

* Handle json.Marshal error for azure_secret_backend_role
2020-12-14 15:09:58 -05:00
Calvin Leung Huang
fe9120f002
readme: update org references (#917) 2020-11-24 10:17:26 -08:00
Paul Tyng
8e602d47d8
Update README.md 2020-05-07 13:25:49 -04:00
Michael Golowka
b37b11f78a
Add support to select AWS ARN from role with multiple configured (#661)
* 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
2020-01-31 12:59:29 -07:00
Becca Petrin
e3bd5866cb
Update README.md 2019-05-17 10:19:49 -07:00
Becca Petrin
9d9ead9212
Update README.md 2019-05-17 09:40:06 -07:00
Alex Pilon
2e57bff711
fix readme go version 2019-03-31 13:42:07 -04:00
Becca Petrin
55cddb94fa
update readme 2018-09-20 12:49:12 -07:00
Becca Petrin
74f5310297
update readme 2018-09-20 12:48:29 -07:00
Martin Atkins
9077e44888
Update README.md 2017-12-11 16:18:09 -08:00
Scott Stevenson
2d3411e2a3 Point to new terraform-providers repository 2017-11-21 02:14:35 -05:00
Jake Champlin
388dbf7086
Fixing logo 2017-08-31 11:08:28 -04:00
Jake Champlin
821b81119c
Fixing link in README 2017-07-21 11:44:28 -04:00
Jake
9f568738d6 initial commit 2017-06-05 20:54:14 +00:00