opentofu-terraform-provider.../util
Steven Clark 6af08b851b
Do not panic on Vault PKI roles without the cn_validations field (#2398)
* 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
2025-01-27 13:01:16 -05:00
..
mountutil Ensure all mount errors are covered (#2289) 2024-07-08 10:56:41 -04:00
util.go Do not panic on Vault PKI roles without the cn_validations field (#2398) 2025-01-27 13:01:16 -05:00
util_test.go Do not panic on Vault PKI roles without the cn_validations field (#2398) 2025-01-27 13:01:16 -05:00