terraform-provider-databricks
terraform-provider-databricks copied to clipboard
[ISSUE] Issue with `databricks_budget` resource
trafficstars
Expected Behavior
To change the tag in the current databricks budget.
Actual Behavior
Changing a tag causes the budget ID to change as well and as a result terraform cannot find the old budget with the old ID and we get an error in the apply. The resource ID in the terraform state is the account ID + Budget ID, the budget ID should not be changed after a terraform apply.
Steps to Reproduce
- Create a databricks budget using terraform
- Change the tag.
Terraform and provider versions
terraform {
required_providers {
databricks = {
source = "databricks/databricks"
version = "~> 1.69.0"
}
}
}
Is it a regression?
No
Budgets should be "delete & recreate" ops rather than modified when the scope changes
Please collect the debug logs - budgets have Update API.