You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to update an existing credential, it seems to be trying to set a field that's cannot be provided.
Terraform will perform the following actions:# databricks_credential.this["eu-west-1-automation-dev-databricks-uc-stor-cred-sqs-role-test"] will be updated in-place
~ resource"databricks_credential""this" {
~ comment="Managed by TF111"->"Managed by TF"id="eu-west-1-automation-dev-databricks-uc-stor-cred-sqs-role-test"name="eu-west-1-automation-dev-databricks-uc-stor-cred-sqs-role-test"# (12 unchanged attributes hidden)# (1 unchanged block hidden)
}
Plan:0 to add, 1 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
databricks_credential.this["eu-west-1-automation-dev-databricks-uc-stor-cred-sqs-role-test"]: Modifying... [id=eu-west-1-automation-dev-databricks-uc-stor-cred-sqs-role-test]
╷
│ Error: cannot update credential: UpdateCredential aws_iam_role.unity_catalog_iam_arn can not be provided.
│
│ with databricks_credential.this["eu-west-1-automation-dev-databricks-uc-stor-cred-sqs-role-test"],
│ on credentials.tf line 13, in resource "databricks_credential""this":
│ 13:resource"databricks_credential""this" {
Steps to Reproduce
terraform apply a new credential
modify for example the comment
terraform apply again
Terraform and provider versions
Terraform v1.9.8
on darwin_arm64
+ provider registry.terraform.io/databricks/databricks v1.62.0
+ provider registry.terraform.io/hashicorp/aws v5.81.0
Your version of Terraform is out of date! The latest version
is 1.10.2. You can update by downloading from https://www.terraform.io/downloads.html
Is it a regression?
Not that I am aware, haven't used the resource before.
Debug Output
Important Factoids
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered:
moritzmeister
changed the title
[ISSUE] Issue with databricks_XXX resource
[ISSUE] Issue with databricks_credential resource: unable to modify
Dec 19, 2024
Hi,
I am having issues updating a service credential after it has been created the first time.
Configuration
Expected Behavior
Should be able to update a credential.
Actual Behavior
Unable to update an existing credential, it seems to be trying to set a field that's cannot be provided.
Steps to Reproduce
terraform apply
a new credentialterraform apply
againTerraform and provider versions
Is it a regression?
Not that I am aware, haven't used the resource before.
Debug Output
Important Factoids
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: