mirror of
https://github.com/opentofu/terraform-provider-vault.git
synced 2026-01-11 19:46:35 +00:00
* Do not panic on Vault PKI roles without the cn_validations field
- When we added support for the cn_validations field within PR1820
the code was tested against Vault versions 1.12 and higher.
- If Vault is an earlier version than 1.12 TFVP will panic as we
attempt to cast the missing field to an []interface{} value.
- This fix hardens the parsing path for slice values within the
PKI role parsing to properly extract out a []string value
* Add changelog
|
||
|---|---|---|
| .. | ||
| mountutil | ||
| util.go | ||
| util_test.go | ||