Skip to content

Commit

Permalink
try to tune GCP
Browse files Browse the repository at this point in the history
  • Loading branch information
alexott committed Jan 7, 2025
1 parent e53a87d commit 940e3e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalog/resource_credential.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ func ResourceCredential() common.Resource {
if updateCredRequest.AzureManagedIdentity != nil {
updateCredRequest.AzureManagedIdentity.CredentialId = "" // this is Computed attribute
}
if updateCredRequest.DatabricksGcpServiceAccount != nil { // all attributes are computed
updateCredRequest.DatabricksGcpServiceAccount = &catalog.DatabricksGcpServiceAccount{}
if updateCredRequest.DatabricksGcpServiceAccount != nil {
updateCredRequest.DatabricksGcpServiceAccount.CredentialId = ""
}
// End of workaround
_, err = w.Credentials.UpdateCredential(ctx, updateCredRequest)
Expand Down

0 comments on commit 940e3e5

Please sign in to comment.