Previously, the resource was not employing a JSON Merge Patch when making update requests to the Vault server. This was causing all data to be overwritten for the issuer. This fix follows the Vault documentation and makes a PATCH request to the issuer API when sending update info. Vault docs
Relates OR Closes #1990 #2061
Checklist
[x] Added CHANGELOG entry (only for user-facing changes)
[x] Acceptance tests where run against all supported Vault Versions
Output from acceptance testing:
$ make testacc TESTARGS='-run=TestAccPKISecretBackendIssuer_basic'
=== RUN TestAccPKISecretBackendIssuer_basic
resource_pki_secret_backend_issuer_test.go:29: Vault server version "1.17.0-beta1+ent"
--- PASS: TestAccPKISecretBackendIssuer_basic (3.82s)
PASS
Description
Previously, the resource was not employing a JSON Merge Patch when making update requests to the Vault server. This was causing all data to be overwritten for the issuer. This fix follows the Vault documentation and makes a
PATCH
request to the issuer API when sending update info. Vault docsRelates OR Closes #1990 #2061
Checklist
Output from acceptance testing: