Skip to content

[ISSUE] Issue with databricks_budget resource #4553

@portoedu

Description

@portoedu

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

  1. Create a databricks budget using terraform
  2. Change the tag.

Terraform and provider versions

terraform {
  required_providers {
    databricks = {
      source  = "databricks/databricks"
      version = "~> 1.69.0"
    }
  }
}

Is it a regression?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions