fix(credlib): Force new resource on credential_type change (#389)

This commit is contained in:
Hugo authored and GitHub committed 2023-05-03 14:13:12 -07:00
1 parent f70d3b3279
commit a0c1a6fbe0
1 file changed
+2 -1
@@ -79,9 +79,10 @@ func resourceCredentialLibraryVault() *schema.Resource {
Required: true,
},
credentialLibraryCredentialTypeKey: {
Description: "The type of credential the library generates.",
Description: "The type of credential the library generates. Cannot be updated on an existing resource.",
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
credentialLibraryCredentialMappingOverridesKey: {
Description: "The credential mapping override.",