Skip to content

Commit

Permalink
fix(credlib): Force new resource on credential_type change (hashicorp…
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo authored and grantorchard committed Jul 24, 2023
1 parent 12e4142 commit e3fb347
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/provider/resource_credential_library_vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit e3fb347

Please sign in to comment.